Share feedback, ideas and get community help

Updated last year

TypeBot - Make - Notion [Webhook]

At a glance

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
Attachment
Integration-Webhooks-Notion-Make.jpg
m
N
22 comments
You need on the webhook module on the flow save the variable that the webhook response send.
Thanks @Michaelvips for your answer, but I can't get the result back to the chat.... What am I doing wrong? 😕
Attachments
Integration-Webhooks-Notion-Make_1.jpg
AsistenteGPT-Editor-Typebot.jpg
Thanks @Michaelvips , I have managed to get the answer. 👍
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.
When you send, the Botpress must replay with a response on the webhook module, you must save in a variable an use in the flow.
Hi @Michaelvips , thanks for reply... I've tried, in a thousand ways, but I can't get it to work....

Any example code for the script that saves the Webhoook variable and the script that sends the response back to the Webhook?

This should be something simple, but I can't figure out how to do it.
you are sending to Botpress with Webhook block ? A post ?
WebHook Block. I have tested using GET and POST
When you click on test the request what Botpress send back ?
there is no data, this is why you can´t use
Attachment
image.png
I don´t think this is the right url
Attachment
image.png
Yes, this is the URL that Botpress gives me to activate the WebHook.
webhook will send informations not get
When something happens, a notification will be sent to this webhook, you are not supposed to make a request to it
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.
Add a reply
Sign up and join the conversation on Discord