https://discord.gg/botpress logo
Join Discord
Powered by
  • Autonomous Node Querying Wrong Knowledge Base
    s

    swift-napkin-75164

    12/18/2025, 9:53 PM
    I am running into an issue with my autonomous node using the incorrect search knowledge card. The problem arose after I reverted from a testing version of my bot to a stable version. Previously, the stable version correctly identified the appropriate knowledge base, but now consistently uses the wrong knowledge base after the reversion. For reference, I have five different knowledge bases and five different search knowledge cards with instructions on when to use that particular knowledge base. To attempt to address this issue, I have reuploaded my knowledge bases, deleted and remade my autonomous nodes and their associated cards. I have also tried creating a new bot with a simplified version of my workflow. In all cases, the incorrect knowledge base is searched for queries that, in the past, lead to my bot using the correct knowledge base.
    0
  • Autonomous node transition is not working
    c

    chilly-fountain-94043

    12/18/2025, 6:30 PM
    check the pdf for details https://cdn.discordapp.com/attachments/1451280352877482014/1451280353040924682/details.pdf?ex=694599a7&is=69444827&hm=87c736f99e022c036df18677582c2e9a5a3524a0131ff47f4f902af9e46df966&
    0
    l
    • 2
    • 3
  • Wanted to Collaborate with the Influencers??
    e

    enough-restaurant-81652

    12/18/2025, 3:49 PM
    Hey there Are you a startup or business looking to increase the visibility of your software or SaaS product among the right audience? I collaborate with experienced influencers who specialize in creating authentic, high-engagement content that helps SaaS brands build awareness, attract qualified users, and drive meaningful growth. If this sounds relevant to your goals, I’d be happy to discuss how we can tailor a collaboration for your brand. Best regards, Mohammad
    0
  • Corrupted Image URLs during Website Crawling & Markdown Conversion
    p

    proud-controller-31469

    12/18/2025, 10:25 AM
    Howdy fellow Bot Builders, I want to use a Website-Knowledgebase to display project references in an Autonomous Node. The goal is to have clean image URLs for Card components. **The Issue**: The HTML-to-Markdown conversion during the website crawl occasionally introduces syntax errors. Fragments of Markdown (like )![]() are being appended directly to the indexed image URLs in the Vector Database. Corrupted Format Example:

    https://domain.com/image.pngā–¾

    )![](https://... Impact: The Autonomous Node retrieves these broken strings. Since the URL is invalid, the images fail to render in the Studio's Card components. Solutions Attempted: I tried to implement a "URL Sanitization" instruction in the Autonomous Node prompt, but it seems to not always work as expected:
    Copy code
    If an image URL contains trailing characters like ) or !, strictly remove them to ensure the link ends with a valid file extension.
    It made it a lot better, but there are still empty image cards sometimes. Thanks in advance ls-sq Screenshots are from the same URL at studio-cloud and the dashboard https://cdn.discordapp.com/attachments/1451158483570524262/1451158484107264010/Screenshot-From-Dashboard_edited.png?ex=69452827&is=6943d6a7&hm=254d285f50916a5636c5eaa0ec7f993e466d2421ef8b843d159d4c44296a3c1c& https://cdn.discordapp.com/attachments/1451158483570524262/1451158485067628574/Screenshot-From-Studio_edited.png?ex=69452828&is=6943d6a8&hm=bec6d2df24b7fbd99344da7ab56ec7bfc1ac54a869db1eba12acda155e9bc4f1&
    0
    g
    l
    • 3
    • 2
  • Problem with input "PhoneNumber" capture card
    m

    miniature-daybreak-20569

    12/18/2025, 9:54 AM
    - I have trouble capturing user input for phone number with that capture card. When user inputs prefix like +381 sometimes happens that it saves a value without prefix. User: +38161256778 it saves as 61256778 From logs i was able to see this: [a65de4411e] [dm] : [Capture] Field validation successful! Extracted: "61256778". Input: +38161256778 There was also a case where i would write prefix +381 and it would cut off "+". Is there a way to fix this ? https://cdn.discordapp.com/attachments/1451150512752951407/1451150513667051691/image.png?ex=694520bb&is=6943cf3b&hm=bb054fc0d3128729bd0c8a1e97fed3d911847cb916a341d38b8c6fb4ff292dce&
    0
    l
    • 2
    • 5
  • Creating a Zendesk ticket and using HITL integration
    b

    brash-journalist-69902

    12/17/2025, 11:26 PM
    Hi community. Im building a workflow only with standard nodes, at the end of the workflow I give the user the option to talk with an agent to solve their question. I save their name and email in a variable an then use the Create Ticket card from Zendesk, until this point everything works fine, its when the agent receive the ticket and add a message that the final user is not able to see the message in the conversation (using webchat for example). Here is a picture of how are the nodes connected. Hope you can guide me to do this the right way. Thanks! https://cdn.discordapp.com/attachments/1450992662776774747/1450992663271837806/image.png?ex=69448db9&is=69433c39&hm=b9ce63a80baf8ee02846acf97dadd1fbbf3c9a1f1b3083685403fab47331efc5&
    0
    g
    • 2
    • 5
  • WhatsApp Business App number fails during Auth onboarding – need clarification on coexistence suppor
    f

    fancy-diamond-23686

    12/17/2025, 3:39 PM
    i am trying to connect an existing WhatsApp Business number to Botpress via the WhatsApp Auth and consistently receive an error during onboarding. Important context: The phone number is currently active on a WhatsApp Business App (mobile) The client must continue using this number on their phone (existing chats, contacts, daily usage) We do not want to delete the WhatsApp account or unregister the number from the app The goal is to connect the same number to Botpress via the WhatsApp Business Platform (Cloud API) During the Auth flow, Meta blocks the process and indicates that the number is already registered to an existing WhatsApp account. We need clarification on the following points: Does Botpress currently support WhatsApp Business App + Cloud API coexistence on the same phone number? If yes: Is coexistence supported via the Auth / Embedded Signup flow, or only via manual configuration? Are there specific Meta eligibility requirements we should verify (account type, region, WABA status)? If no: Is using a separate phone number the only supported approach with Botpress today? If manual configuration is required: Can you confirm which exact values are expected (Phone Number ID, WABA ID, App ID, tokens) And whether the number must already be registered in a WABA before connecting to Botpress We want to ensure we are not breaking the client’s existing WhatsApp usage and are following the correct, supported integration path. If possible, please also confirm whether this error originates from: The number still being active in the WhatsApp Business App The number being linked to another BSP / WABA Or a Botpress limitation in the onboarding flow Looking forward to your clarification so i can choose the correct architecture for this client.
    0
    l
    w
    • 3
    • 4
  • im trying to learn to automate phone calls for businesses
    g

    gorgeous-printer-78891

    12/17/2025, 7:48 AM
    im trying to learn how to automate calls with ai for example there are many local businesses around me without an automated line i see a great business opportunity in this and i wanna know how i can well for starters make it to where when you call the number the ai will answer and handle business according to its prompt and second i want to know how to sell this idea around my area ive messed around in bland ai and zapier to make a functional form submital to call the number on the form ask it the promted questions and email it to said email but im wondering whats the next step
    0
    l
    • 2
    • 4
  • Learning Experiences
    q

    quiet-minister-76871

    12/16/2025, 3:58 PM
    Hello everyone, I am experiencing some issue with the "Learningn Experiences" feature. I read the documentation that this feature is "only available if I use an Autonomous Node in the bot's main Workflow". However, even thought I am using one, I cannot see the section. Any help? Thanks in advance
    0
    l
    • 2
    • 7
  • Exact JSON Payload needed to satisfy the standard "Capture File" card (Headless API)
    a

    aloof-napkin-97210

    12/16/2025, 1:34 PM
    Hi Devs, I've successfully implemented a headless chat architecture: React Native App = Supabase Edge Function = Botpress Messaging API.Text messages flow perfectly, i m using chat integration. My final roadblock is File Uploads. My Botpress flow relies on the standard Capture File card to pause the workflow, receive a file, extract its URL, name and type, and store it in a variables. Goal: I need to make the API message sent from my Edge Function appear to Botpress exactly like the drag-and-drop action in the Emulator. THE QUESTION: how to do that ?
    0
    w
    l
    • 3
    • 28
  • How to trigger the standard "Capture File" card via API (Headless)?
    a

    aloof-napkin-97210

    12/16/2025, 1:26 PM
    Hi everyone, I’m building a React Native chat interface connected to Botpress via a Supabase Edge Function. My goal is to keep my Botpress Studio flows standard, specifically using the native Capture File and Capture Image cards. I want my mobile app to satisfy these cards exactly like the Emulator does. My current logic: User selects a file in the React Native App. App uploads the file to Supabase Storage and gets a publicUrl. App sends a payload to my Edge Function, which forwards it to the Botpress API. The Question: To successfully trigger the Capture File card and have it store the URL in my workflow variable, what is the exact JSON payload I need to send to the /messages endpoint?
    0
  • Unexpected Incoming Events Consumption on Free Plan (Webchat conversationStarted spam?)
    f

    flat-kite-33189

    12/16/2025, 1:03 PM
    Hi everyone, I’m using Botpress Cloud on the free plan (500 Incoming Messages & Events), and I suddenly hit 77% usage without actively working with my bot. After checking the logs, I noticed a very large number of repeated events like: [webchat] Received createEvent request Event of type webchat:conversationStarted received These events are happening continuously, every ~10–20 minutes, over multiple days, even though: - I didn’t open the webchat widget manually - No real users were chatting - The bot UI shows many ā€œAnonymous Userā€ conversations with no messages inside - Conversations are automatically marked as ā€œCompletedā€ It looks like webchat sessions are being started automatically and each one consumes Incoming Events. Here’s what I’m trying to understand: 1. What can automatically trigger
    webchat:conversationStarted
    events? - Browser preloads? - Crawlers / bots? - Widget embed behavior? - Health checks? 2. Is there a way to: - Prevent auto-starting conversations? - Disable webchat completely while developing? - Limit or debounce conversationStarted events? 3. Do these events always count toward the Incoming Messages & Events quota, even if no user message is sent? 4. Is there any recommended setup to avoid burning quota on the free plan during development/testing? Any guidance would be really appreciated šŸ™ Thanks in advance!
    0
    l
    • 2
    • 3
  • Crazy amount of new users
    l

    lemon-activity-77435

    12/15/2025, 10:16 PM
    Hi there Botpress Community! Hope everyone had a good start of the week. I'm encountering an issue since my bot was set live on a website + FB & IG. It constantly makes new users without them having real convo's/events/logs --> screenshot 1 Here is my setup from the bot itself --> screenshot 2 If anyone could point out what causes this issue exactly, please help me. This would be much appreciated! Thanks in advance. https://cdn.discordapp.com/attachments/1450250156300566691/1450250156535578685/image.png?ex=6941da35&is=694088b5&hm=1c98d1e3348e63702615fadd87e675fd1faa855b4d571f80435252086e0dea51& https://cdn.discordapp.com/attachments/1450250156300566691/1450250157101813944/image.png?ex=6941da35&is=694088b5&hm=aa0a03c1c9ec356ac1dd15354f8fa7915eb3c6d3d3e34be010b00b8caf980f65&
    0
    l
    • 2
    • 13
  • Action Creation is not allowed
    w

    wide-balloon-70996

    12/15/2025, 7:09 PM
    Hello, when I try to write code in Action Editor: I get "cannot edit in read-only editor" - as in image "https://ibb.co/212Hs6hF". Also how do I add an Action Card in a (standard) node in the flow?
    0
    m
    l
    • 3
    • 6
  • Not getting anything in a POST request
    f

    fresh-motherboard-89246

    12/15/2025, 5:49 PM
    Hi there. This is my issue: I'm working with user variables to make a POST request to Make.com. In the POST request i'm specifying a few variables which are user and workflow. In Make.com, i'm not receiving anything from the user variables and i can't seem to find the reason why. Here are my screenshots and as you can see, some of them are workflow variables and some of them are user. I used Postman as well to get all the variables in the webhook i made in Make but when i actually use the bot instead of Postman, the variables don't print in Make. Hopefully any of you guys can tell me what am i doing wrong. Thanks to y'all. https://cdn.discordapp.com/attachments/1450182866733498369/1450182867798724751/Screen_Shot_2025-12-15_at_6.45.51_PM.png?ex=69419b8a&is=69404a0a&hm=6033a7fe005bea4abac97efeef00997ce7d22602ed37587c3be968209c03dafd&
    0
    l
    w
    • 3
    • 9
  • I need a reminder to be sent when students are inactive
    b

    blue-processor-24075

    12/15/2025, 4:29 PM
    I need a reminder to be sent when students are inactive. I created an "inactivity set time" node, but I don't know how to connect it or if it should remain disconnected from any node, because when I connect it to the flow, it doesn't work.
    0
    w
    • 2
    • 7
  • How to pass Firebase UID from Flutter WebView to Botpress Standalone Webchat
    l

    little-energy-54325

    12/15/2025, 4:11 PM
    Hi Botpress team, I'm integrating Botpress Standalone webchat into a Flutter mobile app and need to pass the user's Firebase UID to identify them in my bot workflow. My Setup: Flutter app with Firebase Auth (users sign in with Google) Botpress Standalone webchat loaded in a WebView I'm passing the Firebase UID via URL parameter: &userId=ABC123XYZ456DEF789 Full URL example: https://cdn.botpress.cloud/webchat/v3.5/shareable.html?configUrl=https://files.bpcontent.cloud/.../config.json&userId=ABC123XYZ456DEF789 What I Need: I need to access this Firebase UID in my bot workflow so I can: Send it to Make.com via the "Send Data" card in my JSON payload as "UserUid": "{{some_variable}}" Use it to filter Airtable records by UID (instead of email) What I've Tried: {{user.id}} - returns undefined or masked (**) {{event.userId}} - returns undefined {{user.tags.userId}} - returns undefined {{user.firebaseUid}} - returns undefined Added "Get User Data" card at the start of my Autonomous Node workflow Passed &user={"firebaseUid":"ABC123XYZ456DEF789"} in URL - didn't work The Question: What is the correct way to pass a custom identifier (Firebase UID) from the URL to Botpress Standalone webchat and access it as a variable in my bot workflow (specifically in the "Send Data" card)? Is there a specific syntax or workflow card setup I'm missing? Thank you!
    0
    w
    l
    • 3
    • 23
  • Looking for a tutorial: React Native integration via API (Custom UI, No Webview)
    a

    aloof-napkin-97210

    12/15/2025, 2:34 PM
    Hi everyone! šŸ‘‹ I'm building a mobile app (React Native / Expo) and I want to integrate my Botpress bot into a specific "Chat" tab. I explicitly do not want to use the standard Webchat/Webview integration because I need a fully native look and feel that matches my app's design. I want to build my own chat interface (bubbles, input) and connect it to Botpress. Does anyone have a tutorial, a guide, or a GitHub example showing how to connect a React Native app to the Botpress Client/Conversation API directly? Thanks in advance! šŸš€
    0
    w
    • 2
    • 11
  • Proposal for collaboration
    w

    white-nest-40686

    12/15/2025, 3:32 PM
    @famous-coat-75110 Self-promotion is not permitted #1109193434293612596 . You can keep an eye on #1174812513636987042 for people that might need help!
    0
  • How to validate a WhatsApp number
    f

    freezing-jordan-64936

    12/15/2025, 10:19 AM
    Hello, In my workflow, a webhook containing the user's phone number triggers a WhatsApp template message being sent to the provided phone number. This works just fine. However, I would like to validate whether the WhatsApp number even exists or not, since I am getting the same response from the WhatsApp Card regardless (which is the conversation ID). Is there a way to validate whether a provided number exists on WhatsApp or not, in order to handle cases differently, where no WhatsApp account has been found (e.g., by contacting the users via email instead). I've noticed in the Botpress logs (not in the console), that the WhatsApp API returns the error '131026', if the number is not registered on WhatsApp. Can I somehow tap into this API response from my Botpress flow or do I need to use a separate external API for that? I have already tried manually sending an HTTP request to send a template message instead of the "Start WhatsApp Conversation" card provided by the integration. However, the response from the HTTP request is 200 and without any information on whether the number exists or not. The error-response I see in the Botpress logs seem to be asynchronous and require a separate listener. Thank you for your help!
    0
    g
    w
    • 3
    • 4
  • Images are not being rendered in chat
    m

    miniature-daybreak-20569

    12/15/2025, 9:21 AM
    Hello everyone šŸ‘‹ Since yesterday i noticed that images are not being rendered in chat, tried it in studio and in webchat and i still don't see them. My logic for them is pretty basic, I have table filled with informations about cars that should be shown to user based on their preferences. In that table i have infos such as type of car, link to that car and image. When i extract infos i populate cars_result with data and then i print it with Card node. Link is rendered normal as always but images are empty. Tried checking in inspect element link of that image and opening it manually, it works without any problem. Any suggestions? I'm sending images for additional context, thanks in advance. https://cdn.discordapp.com/attachments/1450055215259713617/1450055215737995336/Screenshot_2025-12-15_101546.png?ex=694124a8&is=693fd328&hm=4029f3ad291af40f343458fc25f5f1e280e68f4d4f157e6e5462100e10ff87b4& https://cdn.discordapp.com/attachments/1450055215259713617/1450055216253763595/Screenshot_2025-12-15_101551.png?ex=694124a8&is=693fd328&hm=fb253d99f76ef155a737fc7b5154a84268f7d685f8ce44a5b6d949fdad0df310& https://cdn.discordapp.com/attachments/1450055215259713617/1450055216602026055/Screenshot_2025-12-15_101559.png?ex=694124a8&is=693fd328&hm=6dfe4a2319fa80fa0d6b89ff73b3ef98c9643ea3d7b65c5b5782e27a5cc49e8f&
    0
    l
    • 2
    • 9
  • Bot not following directions when integrated with Facebook and Instagram
    g

    green-engine-43047

    12/14/2025, 7:47 PM
    When being sent direct messages on FB & Instagram, It is supposed to only answer questions related to the cosmetic surgery & med spa services in the knowledge base. Below are 2 examples. Example 1 - Grub 2 Go https://www.eventbrite.com/e/cajun-christmastoy-drive-tickets-1975044788128?aff=oddtdtcreator Bot Response: Hi, thank you for reaching out to the PR Clinic and MedSpa. I'm Sara, what can I help you with today? Grub 2 Go I am sending invites to our Christmas Toy drive event. That sounds wonderful — thank you for inviting us to the Christmas Toy Drive in Mobile! We appreciate community events like this. Bot Reponse: If you'd like PR Clinic & MedSpa to share event details, coordinate participation, or discuss volunteering/sponsorship, please call our main clinic number at (251) 340-6600 and someone can help you directly. Would you like me to share the event link or any brief message we can post for you? Example 2 - Hello, Greetings of the day, Our company is leading manufacturer and exporter of Ophthalmic and Plastic surgery instruments based in Sialkot, Pakistan. We emphasize the high quality of our handmade instruments, which are crafted from stainless steel, titanium and come with a two-year warranty and a material report. Regards, Instrumex Surgical Team Agent Repose: Hi, thank you for reaching out to the PR Clinic and MedSpa. I'm Sara, what can I help you with today? Hello — thank you for sharing your videos and telling us about Instrumex Surgical. I’m Sara with PR Clinic and PR MedSpa. We appreciate vendors reaching out. Could you please tell me what you’d like from us? - Are you requesting to send samples for evaluation? - Are you seeking a supplier/vendor contact or to be added to our purchasing list? If you’re requesting to send physical samples or discuss vendor partnerships, please call our main office at (251) 340-6600 . I’m here to help with questions about our clinical services, procedures, MedSpa treatments, and products. https://cdn.discordapp.com/attachments/1449850358250602526/1449850358859038741/image.png?ex=694065de&is=693f145e&hm=66539a6050afb089763f421862e8d13a3517e7b91eca394ac6913ad96306a6dc& https://cdn.discordapp.com/attachments/1449850358250602526/1449850359622144243/image.png?ex=694065de&is=693f145e&hm=0b6b62d4d8f44cc79214331d94164bc7817a4c01a8f1d6dfb9ba7d30272f3e1a& https://cdn.discordapp.com/attachments/1449850358250602526/1449850360641355807/image.png?ex=694065de&is=693f145e&hm=95a3c6fc33e13ab4edd658406fd233c665fa6dbcc30bed2e76df846e54423ee1& https://cdn.discordapp.com/attachments/1449850358250602526/1449850361400655942/image.png?ex=694065df&is=693f145f&hm=14b7343f8126069ffbc032ec2334f2daf6f39da03ec8828131033b6a8ca3c335& https://cdn.discordapp.com/attachments/1449850358250602526/1449850361975148544/image.png?ex=694065df&is=693f145f&hm=98a3cedec82d4f8482b3a81affe818e3f7fa435388c8eb74db7fec99368f48a4& https://cdn.discordapp.com/attachments/1449850358250602526/1449850362830782604/image.png?ex=694065df&is=693f145f&hm=2037516bf7dec059e933a620e6180b1e0309d535ef6b0731d0b1d32327a95f3c&
    0
    l
    • 2
    • 12
  • Live support
    f

    fresh-motherboard-89246

    12/13/2025, 4:43 PM
    Hi there. I just wanted to know if the Live support works 24/7. Thanks
    0
    w
    t
    • 3
    • 2
  • Fetch KB results on every turn
    s

    square-restaurant-14664

    12/13/2025, 12:55 PM
    Hey there šŸ™‚ Is there a way to fetch kb results after every incoming message from a user, before anything else runs? And if so is it possible to just fetch chunks from the RAG or the Knowledge Agent to run a query? Maybe with a hook and saving the result to a variable? It would greatly improve our architecture bc doing that plus calling other tools depending on context often confuses our LLM, even gpt 5.1 or claude sonnet 4.5 We did a lot of prompt engineering but eventually we anyway need to call the rag everytime and would rather loose a couple cents here before delivering wrong answers. Help is greatly appreciated! šŸ™‚
    0
    b
    w
    • 3
    • 9
  • what is id in openai's transcript audio card
    p

    powerful-architect-45584

    12/12/2025, 6:14 PM
    I'm trying to upload a mp3 file and transcribe the audio to get the text, I'm getting the fileurl but I'm unsure what is the id here, can anyone please help me? https://cdn.discordapp.com/attachments/1449102150868144159/1449102151061078026/A91A4D80-C2CD-48D0-8EFC-11DB0F3E2C56.png?ex=693dad0b&is=693c5b8b&hm=be7b8d9b813b82955ad0899bf3aef7d369b239c404173e5d2683be9c863c1872&
    0
    l
    • 2
    • 4
  • Discover pages on new website when adding stopped working
    f

    fancy-diamond-23686

    12/12/2025, 3:35 PM
    i have a website that i want to add to the knowledge base https://the-projects.co.il/ but its been stuck on discovering pages for hours, the account email is digitalgls7@gmail.com it managed to index few pages at the beginning of the bot creation but i want all of them, thanks for the help! https://cdn.discordapp.com/attachments/1449061976608342066/1449061977572769986/image.png?ex=693d87a1&is=693c3621&hm=a7ad8d8cc86a91dc9a66c2f21aaed84bd138c51ba7ba2aa00953b7c0f9d162d2&
    0
    l
    • 2
    • 1
  • Storing user questions in a table, if no answer can be provided
    f

    freezing-jordan-64936

    12/12/2025, 8:45 AM
    Hello, I have a simple webchat bot consisting of an autonomous node. The knowledgebase contains a website and an FAQ document. In order to continuously improve the answer-quality of the chatbot, I would like to store every user question, which the chatbot was not able to answer using the knowledgebase. A simple Botpress table containing all unanswered questions would be just fine, as I would then be able to manually answer these questions and add them to the knowledgebase. What "tool" do I provide the autonomous node with? What should the instructions contain? How do I trigger the storing of the question, if no answer can be provided? Thank you for your help!
    0
    l
    • 2
    • 5
  • How to localize "Capture Information" choice labels based on user language?
    g

    glamorous-vegetable-38903

    12/11/2025, 6:26 PM
    Hi everyone, I'm trying to localize the choice labels inside a Capture Information node so they appear in the user's detected language (via the Translator Agent). The bot correctly detects the language and translates my text messages, but the buttons stay in English, since the choices are static values. Example: The question appears in French, but the choices still show: - Very satisfied (5) - Satisfied (4) - Neutral (3) etc. What I want is to automatically display: - TrĆØs satisfait - Satisfait - Neutre …when the user is French, and the equivalent translations for EN / ES / DE / NL. **What is the correct way to localize button labels in a Capture Information node based on the detected user language? Is there an official pattern or best practice for multilingual choices?** Thanks a lot for your help! Lucas https://cdn.discordapp.com/attachments/1448742640748073184/1448742641083875421/536ee6fb-385a-411f-80c6-5cd08652882a.png?ex=693c5e39&is=693b0cb9&hm=907e05d9f645801444fe6b233aba1a1246653ce38ebf6bca6b8f3751cde3e207&
    0
    l
    g
    • 3
    • 7
  • Data from Website in Botpress
    b

    bored-wire-68728

    12/11/2025, 3:12 PM
    All, I am struggling with getting data from my Webflow website into my bot. The website sends the data properly (screenshot 1). First problem: In Botpress, digesting the data worked for a while. Currently the data is not digested at all (screenshot 2). Second problem: How do I get the values from the website into a variable in the Bot? This is the code I am currently using: console.log('=== Extract Context Data ==='); // Die Daten sind in event.payload.payload const outerPayload = event.payload || {}; const innerPayload = outerPayload.payload || {}; console.log('innerPayload:', innerPayload); // Die Keys heißen framework_context und friction_context! const framework = innerPayload.framework_context || innerPayload.framework || null; const friction = innerPayload.friction_context || innerPayload.friction || null; console.log('Extracted:', { framework, friction }); // Speichere workflow.framework = framework; workflow.friction = friction; console.log('āœ… Final:', { framework: workflow.framework, friction: workflow.friction }); No clue what I am doing wrong... https://cdn.discordapp.com/attachments/1448693917020065844/1448693917892476948/Bildschirmfoto_2025-12-11_um_16.08.09.png?ex=694176d9&is=69402559&hm=644c24e74cde6c03c69e6b0b26173a9b04f201d3f752e66e1c30e5ff21d2f068& https://cdn.discordapp.com/attachments/1448693917020065844/1448693918391730218/Bildschirmfoto_2025-12-11_um_16.09.15.png?ex=694176d9&is=69402559&hm=ea7d94e1a9dcf0868ffaf0e5ee6988e661d94b02dbd86f25ef477ebcb8666489&
    0
    g
    • 2
    • 2
  • Facing issue to implement Validate the payload using Zod
    c

    chilly-fountain-94043

    12/11/2025, 2:59 PM
    āœ… WHAT YOU NEED TO BUILD You must create a Botpress Custom Action that does 5 things: 1ļøāƒ£ Accept a nested JSON input Example: { "customer": { "name": "Sarah James", "customer_ref": "cust_001" }, "order": { "service_code": "DOC_GEN", "price_id": "price_12345", "details": { "quantity": 1, "notes": "Urgent delivery" } } } 2ļøāƒ£ Validate the payload using Zod Validate nested objects Required + optional fields Clear error messages Proper try/catch 3ļøāƒ£ Make a POST request to a sample API Example Targets: reqres.in jsonplaceholder mockapi.io make.com api- Include: āœ” Retry logic (3 attempts) āœ” Fail gracefully 4ļøāƒ£ Update Botpress State Write to: user.response_data conversation.last_api_status 5ļøāƒ£ Return a structured response Like: { "success": true, "validationErrors": [], "apiStatus": "SUCCESS", "responseData": {}, "state": { "user": {}, "conversation": {} } }
    0
    l
    w
    • 3
    • 2