Dynamic variable for first name not being said by ...
# support
m
Hello all. I have an issue with dynamic variable I am passing firstname to make.com webhook successfully Then I use http request to send the data to vapi It works and calls me no problem but it isn’t using first name. So instead of saying hello Guy is now a good time to speak it is just saying hello is now a good time to speak? I’ve used a make.com standard template as well as trying my own using the vapi module. I’ve also tried to just hardcode the name in on make module so we can rule out it not be passed in Nothing works though Is there anyone who can advise if there is some setting to turn on or enable dynamic variables ?
v
You can continue this conversation by mentioning me in the message.
@MFG Hello! I'm glad to assist you with your issue regarding dynamic variables. It sounds like you've done a thorough job of ensuring that the
firstname
variable is being passed to the VAPI webhook. If the dynamic variable isn't being used in the voice call as expected, there are a few things we can check: 1. **Variable Format**: Ensure that the variable is being passed in the correct format expected by VAPI. The dynamic variable should be enclosed in double curly braces like
{{firstname}}
when used in the VAPI script. 2. **Script Configuration**: Verify that the script you have set up in VAPI is correctly configured to use the dynamic variable. The placeholder for the variable should be present in the script where you want the name to be spoken. 3. **Webhook Configuration**: Double-check the webhook configuration to make sure that the
firstname
parameter is being sent in the payload to VAPI. 4. **Debugging**: Use logging or debugging tools within make.com (formerly Integromat) to inspect the actual data being sent to VAPI. This can help you confirm that the
firstname
variable is not only being passed but also in the correct format. 5. **Documentation**: Review the documentation on dynamic variables on the VAPI website to ensure that there isn't a step or configuration that you might have missed. If you've already tried hardcoding the name and it's still not being spoken, it could be an issue with how the VAPI script is handling the variables. If you can provide more details about how you're setting the dynamic variable in the script or share a snippet of the script where the variable is used, I might be able to offer more specific advice. If you've checked all of the above and the issue persists, it might be best to reach out to VAPI support for further assistance. They can provide more detailed guidance and help troubleshoot the issue with you.
m
Okay I can confirm step 1 is using the variable as you mentioned, double curly brackets and firstname. See screenshots provided. I have also tried using the vapi module in make and just typing my name Guy and that isn't working. So I am now moving onto step 2. With script configuration do you mean the syntax? So how I have written it in the screenshot? For step 3 I believe this must be working otherwise I would not be reciving the call would i ? https://cdn.discordapp.com/attachments/1304435003911831612/1304437396879704165/Screenshot_2024-11-08_at_17.25.42.png?ex=672f637e&is=672e11fe&hm=10be91d625f924af4f22cabeb8164f17421780e82acc18f7b8429a4f20931a0c& https://cdn.discordapp.com/attachments/1304435003911831612/1304437397148270623/Screenshot_2024-11-08_at_17.25.58.png?ex=672f637e&is=672e11fe&hm=b8392c1ba4903a5c684b63cbda6fef012dc21c36c804c0b3ba0b76006106cbab&
s
Hey @MFG can you share the call id ?