Questions tagged [botpress]

Botpress is an open-source bot framework written in TypeScript. It comes with a wide set of functionalities including a built-in NLU and a flow editor.

Filter by
Sorted by
Tagged with
0 votes
0 answers
46 views

Botpress timeout flow javascript code does not seem to be working

I want to set a timer for one minute, during the timer keep checking the workflow.stillThere variable every second, if it is not empty, stop the code execution const timerDuration = luxon.Duration....
FreddyTheRuler's user avatar
1 vote
1 answer
70 views

How to load third party scripts in a single route in react?

I am importing a third party script into my react application. The third party script is for a chatbot application built with botpress v12. I have made a react component as chatbot and implemented ...
Jayanta Basumatary's user avatar
0 votes
0 answers
154 views

How to add Calendar Input to Botpress

So I'm creating a chatbot using Botpress.com and it's for restaurant reservations. For the date and time I want the user to be able to click on the available dates, but sadly there is no such thing as ...
FujiwaraSenpai's user avatar
0 votes
0 answers
51 views

Botpress and Teams integration: HTTP status code BadRequest

I'm having an issue on integrating Botpress with Microsoft Teams. I followed their docs https://botpress.com/docs/cloud/channels/teams/ and this video https://www.youtube.com/results?search_query=...
Renan M. C. Gomes's user avatar
0 votes
0 answers
61 views

Why i get null or undefined value for this code, i am trying to connect my botpress with stackAi,

Here is the code const endpoint = "https://www.stack-inference.com/run_deployed_flow?flow_id=64b1aa0eeb1096a9b84e20ef&org=e55254da-2736-41bb-9549-798937b4a981"; const headers = { ...
zehaan's user avatar
  • 1
0 votes
1 answer
84 views

Botpress whatsapp field extraction

I have a chatbot built using the botpress cloud, there are two types of user employee and tenant, also the user can select english or arabic as the language, this chatbot is integrated with whatsapp, ...
mohmed shafnas's user avatar
-1 votes
1 answer
241 views

How to fetch data from API for Botpress no code chatbot

I am trying to fetch the following data (movie title, movie poster, year of release, and movie review) with an API from RapidAPI to Botpress chatbot. I used the code below but its not fetching the ...
tmtpabioye's user avatar
0 votes
0 answers
35 views

Why can't my botpress NLU find the number in 1100cm?

I use Botpress V12 selfhosted. I have a NLU intent in botpress that should get the sizes of trucks out of the answer. The intent includes short and long answers to train the bot. One problem keeps ...
Arthurio's user avatar
0 votes
0 answers
80 views

Cancel the flow and go back to the first node in botpress

We are using botpress for chat bot where all flow are working fine, but we need to implement one functionality that handles the cancel. We created a nlu and assigned a flow to handle it but still flow ...
Santosh Upadhayay's user avatar
0 votes
0 answers
93 views

Displaying multiple selectable options in chat using SDK in Botpress

I'm currently working with the 12.28.0 version of Botpress and I'm encountering an issue related to displaying multiple selectable options in the chat interface. I have an API integration where I ...
GD7's user avatar
  • 1
0 votes
1 answer
455 views

Deploying Botpress in React js project as a component

I'm trying to integrate botpress bot that i've trained as a component in react js project and not to always appear on the right side of the screen as a second layer!. here is my code for the ...
BSL Nada's user avatar
-1 votes
1 answer
90 views

How to modify the height or width of an iframe?

I am faciing an issue with the iframe size. So currently, i have an iframe in which there is a chatbot button, I have integrated this chatbot using botpress with my own website. now the problem is due ...
Jayanta Basumatary's user avatar
0 votes
1 answer
313 views

Adaptive Cards on MS Teams

I have created a bot with Botpress and connected it to MS Teams via Azure. I would now like to send an adaptive card in Teams. I found out that you can send an adaptive card in teams like this: https:/...
Eva Stohrer's user avatar
1 vote
1 answer
209 views

Botpress binaries are no longer available on the official site

Since Botpress has released the Botpress Cloud version, it is very hard to find in the oficial site the download link to get the binaries for Windows, Mac, Linux or the Docker Image. Every link to get ...
Leonardo Nomdedeu's user avatar
0 votes
0 answers
104 views

My callbak url is verified with postman but not verified when verifying from facebook messenger

I verify my webhook on postman using this code from the documentation: GET https://www.your-clever-domain-name.com/webhooks? hub.mode=subscribe& hub.verify_token=mytoken& hub.challenge=...
mee's user avatar
  • 688
0 votes
1 answer
112 views

Launcher Unhandled Rejection [TypeError, Cannot read property 'createUser' of undefined]

I'm testing Botpress under Windows. Just downloaded latest binaries, unpacked BP, embedded to site and ran default 'Welcome' bot without modifications. When I started webpage and chat to bot, it gives ...
Arthur Kolomiiets's user avatar
0 votes
1 answer
542 views

Restore existing conversation of custom userId in Botpress

On our website, we use Botpress' website embedding function <script> window.botpressWebChat.init({ host: OWN_URL:BOTPRESS_PORT, botId: "test12345" }) </script> which ...
Tommy's user avatar
  • 2,365
1 vote
0 answers
35 views

Integration of Gupshup into Botpress

I am developing a bot in Botpress and we're thinking of integrating it into Gupshup, which appears not to be supported by the Botpress team (https://github.com/botpress/messaging/, https://botpress....
Elia Maggioni's user avatar
0 votes
1 answer
488 views

Export conversations from Botpress

How can I easily export all the messages from my conversations with the chatbot? When I try to export the logs from Botpress the text file is always empty
ina's user avatar
  • 11
0 votes
0 answers
1k views

UserID in botpress converse api

I set up a test bot in a botpress environment and am trying to access the chat via the converse api (is this not the right way?), using these endpoints: Login on the Admin UI # @name login POST {{...
wiseguybec's user avatar
0 votes
1 answer
296 views

How to use KVS in Botpress and functionality using Node Js?

In Botpress I want to store the authKey and Expiry in that and call for each iteration when ever the key expires it should call again the function and store it. btw there is no refresh key, the API ...
Sai's user avatar
  • 91
1 vote
1 answer
563 views

How to connect to postgres database in botpress?

I am having issue connecting botpress localhost server to postgres database. I have set a .env file in the directory where bp.exe is present. I have referred many sites but was not able to connect to ...
Sanket Wagh's user avatar
0 votes
1 answer
387 views

How to validate use entered phone number using slots in botpress?

I am experimenting on botpress slots . There is the new option called as slot which will validate the user input . However I am not able to find resources which will validate the user input. The bot ...
Sanket Wagh's user avatar
0 votes
1 answer
343 views

Apache Module mod_proxy_wstunnel not working

I have a website running at http://XXX.XXX.XXX.XXX:3000 and it runs [Botpress][1] In order to have it running via HTTPS I made an Apache reverse proxy configuration: My file looks like: SSLProxyEngine ...
Dev Dev's user avatar
  • 314
0 votes
1 answer
367 views

How to host a Botpress Chatbot in Heroku platform after creating it?

My Botpress chatbot is ready to get deployed. I have gone through the documentation provided in the Botpress official website about how to deploy it in the Heroku platform but couldn't figure out mot ...
TASHI TSHERING BHUTIA's user avatar
0 votes
1 answer
255 views

Unhandled Rejection [TypeError, Cannot read property 'split' of undefined]

The error given below is causing BotPress v12.21.1 server to crash. It doesn't give any other details about the error. I was getting the same error in BotPress v12.14.1, but it wasn't crashing the ...
Abishek Naagendra's user avatar
0 votes
1 answer
2k views

Postgresql column exists, but getting column of relation does not exist

query = 'insert into ' + table + "( replyDate) values('" + event.state.session.lastMessages .map(function(elem) { return elem.replyDate }) ...
Boufz's user avatar
  • 3
1 vote
1 answer
198 views

Uncaught ReferenceError: BlueprintJsCore is not defined Botpress

I have applied this (Issue) fix to my exiting Botpress of 12.7.2, now when I click on any bot from the admin screen I get the following image error in the console saying Uncaught ReferenceError: ...
Mangrio's user avatar
  • 1,000
0 votes
1 answer
396 views

Botpress Converse API: Event Order mixed up in the database (events table)

This issue only exists with the Converse API, when using the Webchat it works fine. When checking the database the timestamp in ‘createdOn’ is the exact same for messages that are sent sequentially, ...
Nico's user avatar
  • 157
3 votes
0 answers
935 views

Botpress - Custom Component access to session variable

I'm using Botpress to implement a custom chatbot solution. I have a file upload custom component which has to accept a file and send it to my server with an authentication header. My custom component ...
Macaret's user avatar
  • 797
1 vote
1 answer
327 views

Botpress send and get file from MS Teams

At first, to connect my Botpress bot with MS Teams, I followed these procedures from Botpress MsTeams connection page, but in this way, I can't send messages to the bot. I made some research and find ...
Nusret Özateş's user avatar
2 votes
1 answer
259 views

botpress - increment vlaue

I am trying to get a custom action running to simply incrementing a value on passing a specific node on the flow. My custom actions looks like this: function action(bp: typeof sdk, event: sdk.IO....
LorAutumn's user avatar
0 votes
1 answer
698 views

botpress from hub.docker start in PostgreDB

I want to use botpress with PostgreSQL. Found on https://hub.docker.com/r/botpress/server example docker run --detach \ --name=botpress \ --publish 3000:8080 \ --...
Nikolay Baranenko's user avatar
2 votes
1 answer
307 views

Connecting botpress to external postgres DB server over SSL

I need to connect botpress to my external DB server which runs on a separate server from botpress. The connection is over SSL as this is required by the DB server and cannot be switched off. I can ...
codebird456's user avatar
0 votes
1 answer
679 views

Diasabling user input during skill choice botpress

I am new to botpress and working on a project where I want to disable the user input and send button. so is this possible in the current botpress version? if anyone can help me with this?
prathamesh's user avatar
0 votes
1 answer
506 views

Creating new bot from template using API in botpress

Is it possible to create a BotPress bot entirely using the API? More specifically, can I accomplish most of all of what I would do in the UI by just using API methods? I looked, and I don't see a ...
Kero Tharwat's user avatar
1 vote
0 answers
470 views

Integrating botpress as backend to chat widget built in react

I am using react chat widget as frontend and I want to connect it to botpress as the backend for functioning. I have a function in my app.js file. handleNewUserMessage is the function responsible to ...
Kartik Maan's user avatar
0 votes
1 answer
690 views

Botpress behind a Nginx reverse proxy

I am thinking of setting up multiple chatbots as in a containerized platform lets say docker or Kubernetes, and I would want to be able to access these chatbots through a reverse proxy such as Nginx. ...
Chronograph3r's user avatar
1 vote
1 answer
833 views

How can get chat history of users in botpress?

I am working on Botpress chatbot. I need to send an email with a current user chat history. I have no idea how to achieve this. Version using: Botpress V12.2.0 I googled and documents. but found ...
NotNot One's user avatar
1 vote
1 answer
266 views

Persisting Botpress running on my server instance

So I am able to setup Botpress bot engine to my Alibaba Cloud VPS instance but immediately I exit the terminal, the engine stops. Would anyone kindly help me know how to persist the instance after I ...
Alex 's user avatar
  • 21
1 vote
1 answer
930 views

Creating an API that reads text in and uses it

SOLVED (see below) I'm trying to create an API so that I can read in text (from a word document) and have the bot in botpress respond with a section of that text. I'm confused about a couple of ...
AVu's user avatar
  • 125
1 vote
1 answer
683 views

Cannot connect nlu in Docker container

I am trying to run Botpress with docker. I set my Dockerfile as follows: FROM botpress/server:v11_9_5 ADD . /botpress WORKDIR /botpress CMD ["./bp"] After building image, I run docker run my_image:...
Jimmy's user avatar
  • 11
3 votes
2 answers
3k views

How to get json object in botpress custom component?

I am calling an api from botpress which returns a list of objects which I need to display in my custom component, but I always get it as string InfaLinkPreview.jsx: "[object Object]" if I use console....
AabinGunz's user avatar
  • 12.2k
6 votes
1 answer
1k views

How to customize user dialog in botpress ver 11.9.5?

I am trying to add timestamp to every dialog in botpress chat. So far I am able to add this timestamp in bot's dialog, but I need some pointers in adding the same to user's dialog and choice skill. ...
AabinGunz's user avatar
  • 12.2k
0 votes
1 answer
798 views

Bot press chatbot is working fine is botpres editor, but failing in external website

I made a bot which is perfectly working in Botpress editor. But facing difficulty when added to external UI. I followed the instructions @ https://botpress.io/docs/channels/web/ . But I am getting ...
Sivaram Kappaganthu's user avatar
3 votes
0 answers
319 views

How can botpress display a dynamic list of skill choices?

I can't figure out how to dynamically generate options for the Botpress choice skill. Is it possible through external js files? Thanks
Paul Chapman's user avatar
1 vote
1 answer
666 views

Connect botpress with RASA_NLU

I have been trying to use rasa_nlu instead of native botpress nlu. Here is my code. data/global/hooks/01_ras_nlu.js const axios = require('axios') const eventTypes = ['text'] // Process only ‘text’ ...
KbiR's user avatar
  • 4,007
0 votes
2 answers
574 views

How do you debug a botpress-module installed in bot (botpress) in vs-code?

I have a (Botpress Framework v.10.51.1) bot and I have a botpress-module installed and linked to the bot, I wanted to debug the code in the botpress-module using vscode debugger, I added the ...
Mahesh Kumaran's user avatar
4 votes
1 answer
794 views

Botpress webchat authetication

I am trying to use authentication in BotPress web chat interface. I have seen the example here: BotPress Login So to start with I am trying login_prompt. But how the redirection to login prompt will ...
Prateek's user avatar
  • 342