Share feedback, ideas and get community help

Updated 6 hours ago

Webhook Block Pauses but Doesn't Capture Response Body

At a glance
Hi,

I’m using the Webhook block. The bot correctly pauses until the request to the webhook is sent and resumes the conversation afterward. However, I’m unable to capture or use the response body from the webhook in my bot flow.

For example, my webhook response body looks like this:
{ "name": "John Doe", "email": "[email protected]", "orderId": 12345 }
How can I extract the orderId from the response for example so I can send it to the user?

Thanks for your help!
Marked as solution
In other words:
  1. Test your Webhook request...
  2. ...which allows you to access the returned body that lies in data...
  3. ...to then save the keys of your choice within data as Typebot variables.
Hope this helps!

PS. I used n8n as the automation tool in localhost to make the test POST request, if you're wondering
View full solution
A
y
3 comments
Hi yousef,
Here's a video demo I made that answers your question:
In other words:
  1. Test your Webhook request...
  2. ...which allows you to access the returned body that lies in data...
  3. ...to then save the keys of your choice within data as Typebot variables.
Hope this helps!

PS. I used n8n as the automation tool in localhost to make the test POST request, if you're wondering
Add a reply
Sign up and join the conversation on Discord