https://discord.gg/botpress logo
Join Discord
Powered by
  • Connecting bot with custom UI
    r

    rapid-waiter-6556

    08/31/2025, 5:33 PM
    Hey I am trying to connect a bot to my custom frontend locally. When I run 'bp dev' it gives me bot id and temporary dev-tunnel URL and the port number. I am not able to connect the bot and the frontend. Anyone reading the message.
    0
  • Voice Chat
    m

    modern-fireman-38515

    08/31/2025, 5:25 PM
    I want to build a chatbot and connect it to my website. The idea is simple: If someone sends text → the bot replies with text. If someone sends voice → the bot replies with voice. The text flow is straightforward, but I need guidance on the voice flow: How can I implement this using OpenAI (for speech-to-text) and ElevenLabs (for text-to-speech) integrations? Is it possible for a user to record and send a voice message directly to the chatbot through the website? Any insights, best practices, or examples would be really helpful. Thanks!
    0
  • Automatic opening of the bot on the website
    t

    thousands-librarian-34989

    08/31/2025, 3:22 PM
    Hello, My name is Philipp. I am relatively new to Botpress. I use Botpress to create and sell chatbots for other companies. So I run an agency. Unfortunately, I have been stuck on a problem for days and can't seem to get any further. I want my bots to have the following functions: Either the bot should open automatically on my customers' websites, or a red ā€œ1ā€ should appear in the bot widget. This way, visitors to the website can see that they have received a message from the bot without having to open it. I hope someone can help me with this problem. I would be very grateful to that person. Best regards, Philipp
    0
  • TL;DR: My Botpress chatbot works with a non-Syrian number on WhatsApp but fails with a Syrian number
    f

    freezing-zebra-15502

    08/31/2025, 1:06 PM
    Hi everyone, I successfully connected my Botpress chatbot to WhatsApp using a non-Syrian phone number, and it worked perfectly. However, when I attempt to connect it using a Syrian phone number, the chatbot cannot send or receive messages. Technical Details: - Hosting: [ Cloud ] - WhatsApp Provider: [Meta Direct] - Previous Test: Successful with non-Syrian number - Current Issue: No inbound or outbound messages with Syrian number Questions: 1. Does Botpress support WhatsApp Business API with Syrian numbers? 2. If not, what are the recommended solutions 3. Are there any workarounds or best practices to handle this limitation? 4. Could this be caused by Meta's regional restrictions, and does Botpress provide any fix? Thanks in advance for your guidance!
    0
  • Botpress local host
    b

    blue-book-3899

    08/31/2025, 10:50 AM
    I start recently to create bot in botpress studio local host and I find it little bit complicat. there's any one have any idea about it please I neeeeeed your help Guys please
    0
    f
    • 2
    • 6
  • Send summary for all convos to email
    b

    bitter-midnight-73660

    08/30/2025, 4:39 PM
    How can I get an email for every conversation from my bot? What is the easiest way without paying additional third party tools?
    0
    m
    • 2
    • 3
  • Newbie here!! IG Integration Question
    d

    dazzling-yak-63163

    08/29/2025, 8:08 AM
    I’ve been trying to integrate my webchat with Instagram as a developer/tester. The integration works fine in the sandbox environment. However, when I try to connect my business Instagram account via OAuth, the dropdown automatically defaults to the sandbox option, and the integration doesn’t seem to work. At the moment, it’s only functioning within sandbox. Additionally, the documentation mentions that manual configuration isn’t supported for apps with version 20 or higher currently as of now. Because of this, I’m unsure how to properly connect my business Instagram account and test my chatbot as a developer/tester. Pls Help, I truly appreciate any help on this matter. Thank you
    0
    e
    m
    • 3
    • 2
  • Bot creation from API
    f

    freezing-airport-56398

    08/29/2025, 6:10 AM
    Hello ! I want to create bots using only the API from a custom UI with only few customizable properties such as image, color, name, instructions and want to be able to add some knowledge files. I have difficulties to understand what properties I need to pass to have all the basic useful functionnalities. Is there a way to attach a standard "template" to the API or SDK create endpoint to avoid recreating manually all the basic already built-in features that are present when creating a bot from Botpress Studio ? Do you have a basic standard configuration you can share with me ? Many thanks in advance for your help šŸ™
    0
    e
    f
    +2
    • 5
    • 6
  • Human in The Loop
    m

    mysterious-fall-54669

    08/28/2025, 9:39 PM
    Good morning. I'm missing something obvious and was wondering if somebody could point me in the right direction please - a URL even. With the forwarding of bot chats to a human, what is it that the person (taking the chat/call) needs to have on their desktop (or mobile) device to pick the chat up? Does the person have a login to Botpress? I assume this all has to be pointed to a user known to Botpress. Seeing WhatsApp in there, I assume we may also be able to forward a chat session to a WhatsApp account as well? The Action I have put in there advises that it will try to send it to a person, but there must be another Action to be taken, and then how to send it to the right person - depending on their login I guess. Any assistance is appreciated. Thankyou. Greg (PS: Whilst I am new to this platform I have very little to offer back to the community right now, and will be asking questions about topics I am not able to answer myself through the webpages. As I become more experienced, I will be able to contribute back)
    0
    c
    m
    • 3
    • 7
  • When does the SummaryAgent run?
    b

    better-crayon-33221

    08/28/2025, 9:30 PM
    Trying to understand where in the "lifecycle" of a conversational turn the SummaryAgent runs. Is it when the message is received, after a response is sent, or both? Would turning off the agent have any impact on response time of the bot or does it all happen after the message is sent anyway?
    0
    l
    • 2
    • 1
  • Custom front end
    l

    late-monitor-34182

    08/28/2025, 12:24 PM
    Hello I’m new to botpress Problem: I need a custom frontend I am aware that botpress can be integrated into websites but that limits the customization of the looks of my bot. So I created a webpage with my desired ui and with the help of chat gpt wrote the JavaScript code to handle the sending of data from my webpage to my chatbot using Access token and bot Id. I tested it on local host got an error. Hosted the page with ssl still got an error. So I don’t know what’s wrong šŸ˜‘. Maybe I’m just approaching it all wrong If there are any alternatives or solutions to this I’d love to hear it, thank you This is a snippet from the JavaScript // šŸ”„ Shared function for both voice + text input async function handleUserMessage(userText) { output.innerHTML += `You: ${userText}`; try { // Send to Botpress API const res = await fetch("https://api.botpress.cloud/v1/converse/YOUR_BOT_ID", { method: "POST", headers: { "Content-Type": "application/json", "Authorization": "Bearer YOUR_API_KEY" }, body: JSON.stringify({ user: "demo-user", // Can be dynamic per user/session text: userText }) }); const data = await res.json(); const botReply = data.responses?.[0]?.text || "[No reply]"; output.innerHTML += `Bot: ${botReply}`; // Speak reply const utter = new SpeechSynthesisUtterance(botReply); speechSynthesis.speak(utter); } catch (error) { console.error("Error talking to Botpress:", error); output.innerHTML += `Bot: [Error connecting to Botpress]`; } } https://cdn.discordapp.com/attachments/1410600811389648946/1410600811964403763/DD6EF73E-BDDD-431F-9287-3EF1CF66F9AB.png?ex=68b19be1&is=68b04a61&hm=febb64129d7488484a58702c95cd09e4940e5622f67a164dc58e7b722705b04d&
    0
    w
    f
    g
    • 4
    • 4
  • Forward a conversation to another WhatsApp number
    r

    red-appointment-79270

    08/28/2025, 11:47 AM
    Hi, how can I forward a conversation to another WhatsApp number and have a human continue from there?
    0
    f
    m
    • 3
    • 8
  • AI bots and security
    m

    mysterious-fall-54669

    08/27/2025, 9:54 PM
    Good morning. In a modern world where data security is paramount, sometimes there are security holes and vulnerabilities that are not fully addressed and we leave our data (or our client's data) open to others. Now that we are opening these websites and servers even more to the world with AI bots, what can we do to ensure that the bots we publish are as secure as possible? I do understand a lot of this comes down to restricting access to external services via API (things within our control), but what about the Botpress service itself. I'm not suggesting that there is anything wrong with Botpress - it may already be cutting-edge secure, however, I have seen a few videos online where ethical hackers are employing multiple techniques to get past AI bots (from many platforms) and into the underlying service. - What can I implement into my bot solution that will strengthen its security? - What can I tell my client to reassure them that all available measures have been taken to protect their servers and data? - What techniques is Botpress immune to - for example. Any feedback or ideas would be much appreciated. Thankyou. Greg
    0
    f
    • 2
    • 3
  • Trying to get emailed once a person enters their contact information in the chat bot on the website.
    i

    incalculable-area-18540

    08/27/2025, 4:26 PM
    Botpress Send email is configured with a personal gmail account, used an app password, no errors Here is the screen shots and configurations, can't get it to work past the lead information (name, email, phone) I have setup triggers after this info is entered and it doesn't get to it so this must be misconfigured... Any suggestions? https://cdn.discordapp.com/attachments/1410299474181623930/1410299474395529246/image.png?ex=68b0833c&is=68af31bc&hm=4687d7ac5211413260f6c80142174971f41d16735f042b68289fa647b07dd6d5& https://cdn.discordapp.com/attachments/1410299474181623930/1410299474852577350/image.png?ex=68b0833c&is=68af31bc&hm=9d94800e1fd77309647677bd282aacc53a684856460da32f603d51f6755ea4d9& https://cdn.discordapp.com/attachments/1410299474181623930/1410299475205034014/image.png?ex=68b0833c&is=68af31bc&hm=8d260d04c75b29d226c5e7dd79f301898d2cb0fc62364c520944a1a44997d09e& https://cdn.discordapp.com/attachments/1410299474181623930/1410299475452494056/image.png?ex=68b0833d&is=68af31bd&hm=3bb18e030e92e73dbbb41d00cf6900e55c65bd9db5638cbc11f0b658c98f4651& https://cdn.discordapp.com/attachments/1410299474181623930/1410299475771129927/image.png?ex=68b0833d&is=68af31bd&hm=cf143dd8a5ce8dd9fd5a784d06e3bbe069d9f5823a9ad34bd14d687c4bbf89cf&
    0
    m
    • 2
    • 2
  • Can I replicate Manychat? - Idk how to do the trigger "type XYZ to get X"
    b

    brash-greece-44635

    08/27/2025, 4:13 PM
    OBJJECTIVE: I'm trying to do a Instagram automation that each time a person sends a DM with a certain keyword, the bot answer automatically ISSUE: I don't know how to SOLUTIONS I TRIED: I've tried asking the Doc chatbot but is not giving me a definitive solution on how to do this besides "Activating the Routing Agent" which is nowhere to be activated... https://cdn.discordapp.com/attachments/1410296278872756336/1410296279082336256/image.png?ex=68b08042&is=68af2ec2&hm=89da27ba68e9298c2f837c2c6ca158e89b5cff26c64cdc694ecbd8b60eb172ec& https://cdn.discordapp.com/attachments/1410296278872756336/1410296279627468800/image.png?ex=68b08043&is=68af2ec3&hm=806b21c3344092813e95e7d1e56cc3e1019e99102da989eae4f5337a7b70bc30&
    0
    l
    m
    • 3
    • 6
  • Sharepoint integration doesn't work
    g

    gorgeous-animal-82790

    08/27/2025, 12:17 PM
    Hey, I have been trying to connect Botpress KB with Sharepoint documents to sync them and use them in a RAG chatbot, via the plus/sharepoint integration. All the instructions have been followed and checked multiple times, but when I try to Save Configuration in the integration, it returns Registration Failed: Error initializing list ID. The error is most likely tied to the last two fields in the integration - Document library names and Folder KB map. I was thinking that the problem is either in specifying the correct Document library name or in the Sharepoint settings, because the person who owns the Sharepoint saved the KB files in Shared Documents folder. Might there be a problem with this specific folder type? Thanks for any tips or solutions, I have not been able to find any documentation or troubleshooting tips for this.
    0
    b
    m
    • 3
    • 5
  • GPT models not reading the KB
    n

    narrow-planet-91101

    08/27/2025, 9:36 AM
    Hi, GPT models are suddenly not reading my KB. Anyone else experiencing the same? It works fine when I switch to other LLMs though
    0
    w
    b
    • 3
    • 20
  • Hook does not get executed properly
    c

    cool-horse-31904

    08/27/2025, 9:28 AM
    Hello, I submitted report_01K3NDEK6WGJBQRCTV8NY8S9R5 I used code from https://discord.com/channels/1108396290624213082/1402028486054514718/1402289495180578827 to removal citation numbers, in a "before outgoing" hook, but the removal was not properly working, leaving some whitespaces that should have been captured by the regex. I tried to do additional tests by changing the string replace() to replace the citation mark by "ZZZ", but it does not get executed: the quotation mark are removed, but not replaced by "ZZZ". Seems that there is some (invisible?) code executed in parallel, or older hook version, or so, that removes quotations marks, but not actually by the hook I created. Thanks for your help!
    0
  • listenConversation Webhook
    g

    green-salesmen-95102

    08/27/2025, 8:59 AM
    How to view the output of this listenConversation Webhook? I have tested it in the playground but there is no output. Ref: https://botpress.com/docs/api-reference/chat-api/openapi/listenConversation?playground=open
    0
  • OAuth tokens and variables
    m

    mysterious-fall-54669

    08/27/2025, 4:12 AM
    Hi. I'm am a newbie to Botpress (although no stranger to programming). First up, I trust I am in the correct section to post such questions? I would like some pointers please in running an action that retrieves an OAuth token from an external server via a POST command. Question 1: ----- Part of the Action JS reads thus: const payload = { "username": "api_user", "password": "pswdsecret", "APIKey": "ABABABAB-CDCD-EFEF-ABAB-ABCDABCDABCD" }; I have setup some Workflow variables (Im not sure if this is the right scope or not, and I have replaced the value of "api_user" with {{api_variable}} which it seems to accept on the first line only, however, the other two variables below it have a red line underneath it. I'm thinking the variables work because I can change the order of these three lines and the first one always seems right. const payload = { "username": {{api_user}}, "password": {{api_pswd}}, "APIKey": {{api_key}} }; What is it in my code here that needs to be changed? Remove the commas? I presume that it is a better approach to use variables here rather than have the credentials hard-coded into the action itself? Question 2: ----- When this first section runs successfully (as a version of it works fine in Postman), I need to then use the retrieved token into a variable - which I have also declared at the Workflow scope level. The returned data is JSON which I need to extract my token from. Do I need to set anything in the Output Schema to prepare for returned data, and if so, how? I only get the options of None and Array (which doesn't expand to anything) to choose from. What am I missing here please? Any help would be appreciated. Has anybody got a script or example that does this same task? Thanks, Greg
    0
    g
    • 2
    • 5
  • Linking Action Items with Clickable URL
    s

    silly-soccer-78425

    08/26/2025, 7:56 PM
    I'm trying to make the action items that pop up under each card be a clickable link, where can I configure that? I've been able to create a card for use cases, but essentially don't want the user to have to "bait" the bot and rather just have them be able to click the "Sign-up Now" button and be directly sent to our sign-up page.
    0
    l
    c
    • 3
    • 10
  • How to create more than 20 integrations?
    p

    polite-lighter-67824

    08/26/2025, 2:03 PM
    I want to create more than 20 integrations i cant right now. how to do it?
    0
    b
    • 2
    • 2
  • Multiple Whatsapp Numbers on same Bot
    b

    bored-wolf-92614

    08/26/2025, 12:14 PM
    Hi, does anyone know if it is possible to associate multiple whatsapp numbers to a single bot? I'm trying to build a multi-bot where depending on which number the conversation was initiated to, it configures different environment variables and customizes flow. Appreciate any help on this subject!
    0
    c
    l
    • 3
    • 5
  • Cannot index websites
    f

    famous-accountant-8282

    08/26/2025, 11:14 AM
    After i manually add a bunch of links it starts "indexing", and after it finishes it just does not add them like it was never indexing in the first place. What could be the problem
    0
    l
    b
    • 3
    • 3
  • Timing Between Botpress Initializing on Page and Available to Receive Events from Web App
    g

    gentle-policeman-89141

    08/26/2025, 9:37 AM
    Problem: I have a webchat integration that waits for
    window.botpress && window.botpress.initialized === true
    , then immediately sends an event to the bot on page load. However, even though this condition is met, sending the event sometimes throws an error "`Botpress webchat is not initialized. Please call botpress.init() before sending events.`" suggesting the bot isn't fully ready yet, even though initialized === true (window.botpress.init has been called upstream) and the global functions are available. Question: Should there be a timing delay between when window.botpress.initialized === true and when the bot can actually receive events (ie is this intended)? Is there a better guard to detect when the bot is actually ready to receive events from my web app? Potential Solutions I'm Considering: 1. Add a fixed delay (e.g., 500ms-1s) after initialized === true 2. Use a different condition to check if events can be sent thanks in advance!
    0
    • 1
    • 1
  • Wrong Email in answer & Plain Text not indexed
    b

    brave-winter-65930

    08/26/2025, 8:42 AM
    I have two minor problems with my first chatbot. I gave it a website and a TXT document, as well as a list in plain text. The plain text is not marked as indexed, and its information cannot be queried. This can be solved by importing the information as a file, but that's not right, is it? Much more problematic is that the chatbot invents an email address. When it indicates that it cannot find the information (which I would like to have from the plain text), it asks me to contact the support address, which does not exist. Even the domain does not exist. How can I get it to present a correct email address?
    0
    b
    • 2
    • 4
  • Email Transcript from website
    b

    bitter-oil-70438

    08/26/2025, 5:03 AM
    Hi, I have a bot deployed for customer support on a company website, is there a way I can let a customer download their conversation transcript or email it to themselves?
    0
    l
    • 2
    • 4
  • Instagram integration
    w

    wonderful-minister-91070

    08/26/2025, 3:43 AM
    Hello! is it possible to have a certain keyword trigger the bot to start chatting?? Right now it is responding to every single one of my dms and I only want it to respond when asked
    0
    b
    • 2
    • 1
  • WebChat (Desk & Mobile) | Keep Getting err_20250825210140xABC5B2A2
    l

    lively-kitchen-23311

    08/25/2025, 9:07 PM
    Resolved my previous bug but now I'm running into a new one: - Getting this error on both desktop & mobile from the WebChat: err_20250825210140xABC5B2A2 Can anyone help me understand the problem here? https://cdn.discordapp.com/attachments/1409645320706461777/1409646392024240229/CleanShot_2025-08-25_at_14.01.582x.png?ex=68ae2301&is=68acd181&hm=29f325797be4943865fa8196d5592e23e50cfab8cad1ab55328b72d2c7f628bc&
    0
    b
    • 2
    • 8
  • Bot not working
    s

    stale-controller-12588

    08/25/2025, 8:33 PM
    I am not sure what I’m doing wrong. I tried to replicate this basic bot tutorial from here:

    https://youtu.be/nzlni00lOSQ?si=UbrD-2tRoRwXbrLSā–¾

    I followed his steps to the T but yet I don’t get the results he got. What could be wrong? https://cdn.discordapp.com/attachments/1409636798556016801/1409636799097213029/Screenshot_2025-08-25_at_8.35.29_PM.png?ex=68ae1a12&is=68acc892&hm=0a908b59ed5d5e19d014f686ff3c27eb0183e48001c1422c7ce8d63ff2407d24&
    0
    c
    • 2
    • 2