https://discord.gg/botpress logo
Zapier Trigger Issue
# 🤝help
b
I am trying to use zapier in my bot press app but I can not get the action trigger to respond to the user. I tried to copy echo example found here https://botpress.com/docs/integrations/integration-guides/zapierhttps://botpress.com/docs/integrations/integration-guides/zapier. I have attached screen shots of the workflow in botpress and the zap in zapier. When I try to test it I never get the test response from the bot. The zap is successful in zapier and I get see all of the events on the test event page. But it appears that it never gets run. Do you see any issues that I need to fix? https://cdn.discordapp.com/attachments/1402339371297935380/1402339372015030302/image.png?ex=68938dd0&is=68923c50&hm=25a9375711d9a68836463c556365ea1b2d6d769b433152d3fcd1e8b31ec3ac7a& https://cdn.discordapp.com/attachments/1402339371297935380/1402339372363284571/image.png?ex=68938dd0&is=68923c50&hm=0b24ad540da52ba15dac979806e8c10100e6f12d1fde1ce663a33cbee6e1921a&
p
You might want to see if any errors are being raised in your logs.
it is also sucesful in zapier
I also tried it on a deployed page to see if something about the emulator was causing it not respond and experienced the same issue
p
Can you show the behaviour in the deployed version?
Once you send a message the zapier zap is triggered but you never get the response back
I see that zapiers response reaches botpress as it shows up in tests
p
Are you passing the conversationId to the trigger?
b
No
What variable is the conversationid
p
It would be event.conversationId or if passed in the payload then you'd have to write it accordingly.
b
Ok I'll try that
ok that worked but it does not work it the emulator in studio in only works in a live deploy
also the documentation here needs to be updated
In Using Zapier to trigger an action in your Botpress chatbot on step 4
it says you have to use JSON.parse when getting data from zapier
but it seems botpress automatically converts it to a JSON object making that code just cause an error
p
Glad it worked, triggers often work better in the preview. And, the integrations are in the process of being updated.