The community member has created a flow in Make that searches a Notion database based on the user's query and generates a response. They are having trouble getting the response back into Typebot. Another community member suggests using the webhook module to save the webhook response variable and use it in the flow, but the community member is still unable to get the result back to the chat.
The community member then asks about sending the webhook to Botpress instead of Make, and how to write the code in Botpress to return a simple response back to Typebot. The other community member suggests that the webhook will send information, not get it, and that the community member is not supposed to make a request to the webhook URL. The community member is still struggling to get the code to capture the variable and send the data back to Typebot.
There is no explicitly marked answer in the comments.
I have created a flow in Make so that, based on the user's query, it searches the Notion database and generates me a response with the search results. I have created the Flow and it works fine, but I don't know how to get the response back into Typebot. any help? Thanks
Hello, a question. If I send the webhook to Botpress, instead of Make... What code should I insert in Botpress so that it returns a response?
I want something simple (but I'm having a hard time getting it). From Typebot, I send a Webhook to Botpress and I want Botpress to send me back a response.
Let's imagine I send Botpress via Webhook a single parameter:
{"Query": "Query Text"}
I want Botpress to reply "Hi, I'm Botpress" to TypeBot.
Is this possible, any idea how to generate the code in Botpress to make it work correctly? Any help would be appreciated. Thank you.
Yes, I send the data to the WebHook by POST with the body
{"Consulta":"{{Consulta_Cliente}}"}
This is what the WebHook receives from BotPress... this is where I'm lost from here. I can't seem to get the code to capture the variable and I don't know how to send the data back to TypeBot either.