https://retellai.com/?utm_source=discord&utm_medium=seo logo
Send data back to Retell AI from Zapier using POST...
# ❓・bug-report
p
Hi everyone. I created a webhook on Zapier to catch data from Retell AI. It triggers when Retell AI uses a function (ex. check_calendar_availability) and it sends data over to Zapier. Once it captures the data, it goes through a flow on Zapier (like checking Google Calendar availability, manipulating data format, etc.) At the end of the flow, I'd like to send back the data to Retell AI. Zapier requires an endpoint URL like shown in the screenshot. I checked the documentation https://docs.retellai.com/api-references/list-calls on Retell AI but I can't seem to find an endpoint URL other than https://api.retellai.com/v2/list-calls which seems to just fetch more call details data from Retell AI to Zapier, not the other way around. My questions are 1. Is there an endpoint URL that Retell AI provides? 2. Is this a Zapier issue? Make.com doesn't seem to ask for endpoint url. 3. What's the format that I need to use to send back the data - something like { "results": [ { "toolCallId": "...", "result": "..." } ] } Hoping to get some clarity on this. Thanks in advance!
e
@Florian - support @ Retell AI could you help check this one? thanks!
f
Hi @prime_flamingo_75737! I think you're on the right track! If you call a custom function on zapier or anywhere, the way you get the data "back" is by returning it. In that case you don't need a separate endpoint or anything. You send a request to zapier (e.g. check_calendar_availability), zapier does the work, and returns the result in JSON format. Format is just { "key": "value" } Have a look for an example with make.com (but should be very similar for zapier):

https://www.youtube.com/watch?v=vqZpJIo4Km8▾

Also have a look at: https://docs.retellai.com/build/function-calling Especially look at "Integrate any system with custom function"
p
Thanks @Florian - support @ Retell AI for the clarification. Perhaps it's a zapier issue then. I'm not on a paid account and maybe that's why it doesn't automatically send back the data to retell AI. Quite confusing that it asks for an endpoint regardless. I'll try this on make.com instead.
f
Yes that could be the issue, they limit quite aggressively. I'd recommend watching a few videos and learning the basics of make.com
But high level you are on the right track. You will send some data to a webhook at make.com, the webhook will perform some automation (you can configure it there) and then you will return some data that will be available in the agent