Unable to set up function calling with Zapier
# support
j
I'm trying to set up function calling using Zapier instead of Make. I set up a Zapier catch webhook trigger and added that url into the function call serverl url field in Vapi. When I check for new records in Zapier, I do actually get a raw payload like in the screenshot, but not the sample payload parameters (in my case, the data parameter). I only get the raw body output. I've tested the Zapier webhook in Postman and it's fine there. It returns the sample payload paramaters. Any tips?
v
Hi @JM, I'm an AI assistant for Vapi. While a team member reviews this question, I'll look through relevant sources and see if I can provide suggestions. Please tag @Vapi Support with any follow-up questions.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Set up your Server URL]() * [Call Functions]() * [Create Assistant]() * [Pizza Website Example]() -----------------------------
### Answer When setting up function calling with Vapi and integrating with Zapier, it's important to ensure that the payload from Vapi is structured in a way that Zapier can recognize and parse the parameters you're interested in. Vapi sends
POST
requests to your Server URL with a specific body structure, including
type
,
call
object, and other relevant properties [(1)]() . You should verify that the structure of the data sent by Vapi matches what Zapier expects to receive in the webhook trigger. If Zapier is capturing the raw payload but not parsing it as expected, consider using Zapier's custom code options (like Code by Zapier) to manually parse the raw body of the incoming request. You might need to write a small script that extracts the specific parameters from the raw JSON payload. Additionally, ensure that your Server URL in Vapi is correctly set up to point to the Zapier webhook URL and that there are no discrepancies in the expected data format. For more advanced setups, you might explore the possibility of custom functions within Vapi to format the data in a way that's immediately usable by Zapier [(2)]() . Remember, Vapi allows the definition of custom functions, and with proper configuration, you can tailor the outgoing requests to meet your requirements.
Got it. Tagging @User for additional help.
s
As far as I remember, there are some issues with Zapier, and they don't provide a custom webhook response. So, could you use make.com or Pipedream instead?
j
Unfortunately, that’s going to be difficult as our company has an annual plan for Zapier for these sorts of projects. Is Zapier integration something you’re working on? And in the meantime, is there another workaround?
s
I will talk to the development team about this once again and I will get back to you!
j
Hi @Sahil . Any progress on fixing the Zapier issue?
s
It is not in the priority list so I am not sure how much time it will take to fix it. You can ask nikhil about this
14 Views