constant-blue•2mo ago
Data from Zapier>N8N>Vapi API/CALL
Ok newbie here so please be gentle. I have not had any issue building out my assistant for outbound calling but I am having trouble with getting the data needed for the assistant. In my scenario I am having an outbound calling assistant calling new leads coming from Listing 2 Leads/Meta ads. I need First (first name), Last (last name), Phone (client phone), Email (client email), Timeline (timeline for purchasing) and InquiryAddress ( address related to ad). I am able to pass the data from Zapier to N8N but when making the API call to Vapi all I get is a return code 400. I have followed the Create Call to the best of my ability but no luck. What is needed for me to have some help with getting some direction on where to go with this.

2 Replies
Ensure you're sending a valid JSON payload including
assistantId
, phoneNumberId
, and customer.number
in E.164 format, and pass lead info like name, email, timeline, and inquiry address using assistantOverrides.variableValues
with exact variable names e.g. First
, Timeline
that match your assistant's script all fields must be correctly named and formatted.. https://docs.vapi.ai/assistants/dynamic-variables https://docs.vapi.ai/calls/outbound-callingconstant-blueOP•2mo ago
All good info, I will check it out!