Make.com and Vapi : Attempts to create phone call ...
# support
d
I am using the official VAPI outbound in make.com and this is the data being passed to it Assistant Id 7e7ba73c-6083-4f4e-8d33-18b8bd505822 Customer Name Michael Phone Number ID 26229a49-8f05-4c8e-886a-90e3ad0ea73e Customer Phonenumber 17802208605 the call fails though, I have the right api key assitant id and phone number ID so I am not sure what to do next. Could it have anything to do with the first message having a variable in it. Hi {{customerName}} This is AI Anders from Agency 7. I know I’m calling you out of the blue; do you have a few moments to chat? https://cdn.discordapp.com/attachments/1293598837637648445/1293598837901885532/Screenshot_2024-10-09_at_9.37.08_AM.png?ex=6707f54c&is=6706a3cc&hm=01301c85ad4cdb6d93e4675bbb3a8d0d80f3b146e29fd2fbfb90db7b732d3d0c&
v
@derscodes It's great that you've checked the API key, assistant ID, and phone number ID. If the call is still failing, there are a few things we can look into: 1. **Variable in the First Message**: If the variable
{{customerName}}
is not being correctly replaced with the actual customer name, it could cause the message to not be delivered as intended. Make sure that the variable substitution is set up correctly in make.com. 2. **Phone Number Format**: Verify that the customer's phone number is in the correct format required by VAPI. It should typically be in E.164 format, which for the number you've provided seems correct (
+17802208605
). 3. **Assistant Configuration**: Ensure that the assistant with the ID
7e7ba73c-6083-4f4e-8d33-18b8bd505822
is properly configured and active in your VAPI account. 4. **API Endpoint and Method**: Double-check that you're using the correct API endpoint and HTTP method for initiating the outbound call. 5. **Error Messages**: Look for any error messages or codes returned by VAPI when the call fails. This can provide clues as to what might be going wrong. 6. **Network Issues**: Sometimes, network issues or restrictions can prevent API calls from succeeding. Ensure that there are no such issues on your end. 7. **API Rate Limits**: If you're making a lot of API calls in a short period, you might be hitting rate limits. Check if that's the case. 8. **Logs and Debugging**: Check the logs in make.com for any additional information about the call failure. You may need to enable detailed logging if it's not already on. If after checking these points the issue still persists, it might be best to reach out to VAPI support with the details of the call attempt, including any error messages received, for further assistance.
You can continue this conversation by mentioning me in the message.
d
what is the proper variable for the customer name from make
@Vapi what is the default variable for sutomer name in make
v
@derscodes In make.com (formerly Integromat), the default way to reference a variable is by using double curly braces around the name of the variable. However, there isn't a "default" variable name for customer name as it depends on how you've set up your scenario and what you've named your variables. If you're passing the customer name into the VAPI outbound call, you would typically use a variable that you've defined in a previous module or that you've retrieved from a data source. For example, if you have a module that retrieves customer information and the name is stored under the field "Customer Name", you would reference it as
{{Customer Name}}
. Make sure that the variable name you use in the VAPI call matches exactly with the name of the variable you've set in make.com, including any spaces and case sensitivity. If you're unsure of the variable name, you can check the output of the previous modules in your make.com scenario to confirm the correct variable name to use.
s
@derscodes can you check in execution logs the complete error message what's missing?
2 Views