Fetch data using webhook
# 🤝help
b
I want to get data from zapier using webhook. how do i set up a catch webhook step to fetch data from zapier inside Botpress using cloud editor and use the data in conversation. @everyone
w
Hey, I'm confused, Is it possible that you are confusing 2 concepts ? Webhook and API Request Webhook is to get notified (without the need of fetching) HTTP request is usually made to fetch (retrieve) data from external source
a
You can try creating an Execute code card with a label such as "call a given zapier webhook url and save the response to my variables", but add any variables you want to make the code work for your use case.
b
I want the bot to communicate with zapier for some data. first the bot need to send data through webhook to Zapier( I got this step working), the webhook will trigger an automation, then the automation need to send output back to botpress which then will be used in the next step. I installed webhook in my bot through following page in SS. I just don't know how to use it to listen to it/ catch it when zapier sends something through the webhook.

https://cdn.discordapp.com/attachments/1135568302941421598/1135579981490176100/image.png

w
Ok got it. To receive this data back through the Botpress webhook integration, you need to have access to triggers, did you request access to the beta yet ? if not, you can do it right here : https://discord.com/channels/1108396290624213082/1121833577659768893
b
alright i just need to DM the person named "sly" for beta access. right?
w
There is a form you need to fill
You can tell @early-train-33247 if you have issues 🙂
b
Thank you for your time and help. I have filled up the form. How long does it usually takes to get the access?
Oh 1 more thing I wanna know, Um guessing I can make a trigger with Webhook like Zapier, will I be able to access data in the webhook URL?
w
You will receive data in a json payload yes
b
ok that's a relief. thank you again. and please let me know how long it might take to get beta access approved.
e
@User You have access already, reload the Studio and right click the editor to see the Trigger node option
40 Views