Include customer name from make.com
# support
s
Hello, Im using make.com to initiate calls. I want to include the customers name and use it in my prompt. It looks like its being sent trough (see screenshot) Im using {{name}} In my prompt, but its not working. What Im I doning wrong? https://cdn.discordapp.com/attachments/1280147370515894374/1280147370738450472/customer_name.jpg?ex=66d705a5&is=66d5b425&hm=6930ee5b0d30089750858ae916e21cfda60f881a400cf952442ca12ff1c45fce&
v
@stefan Hello! It's great that you're using dynamic templates to personalize your calls. If you're seeing that the customer's name is being sent through (as per your screenshot), but the
{{name}}
placeholder in your prompt isn't working, there might be a few things to check: 1. **Template Syntax**: Ensure that the syntax used in your prompt matches exactly with the template syntax supported by VAPI. It should be
{{variableName}}
without any extra spaces or characters. 2. **Data Mapping**: Make sure that the data from make.com is correctly mapped to the variable name you're using in the template. The variable name in the double curly braces should match the key of the data being sent. 3. **Data Availability**: Confirm that the data is available at the time the prompt is being generated. If the data is not present or is incorrectly named, the template will not populate correctly. 4. **Correct Integration**: Verify that the integration between make.com and VAPI is set up correctly and that the data is being passed in the expected format. If you've checked all these points and it's still not working, it could be an issue with the VAPI system processing the templates. In that case, please provide more details or reach out to support for further assistance.
You can continue this conversation by mentioning me in the message.
s
Im not sure what you mean, can you please take a look at the picture and see if this is the correct way of doing it?
s
share the call id.
call id: 69b4c7f3-1232-4af3-ae76-3bd417e8a77a
s
hey your passing customer name in customer object instead you have to pass dynamic variables in system prompt and later use server event of type request assistant to resolve assistant overrides with dyanmic variable s to include customer name in the prompt. for reference check https://docs.vapi.ai/server-url/events#retrieving-assistants
s
I have the exact same issue, and it's still not resolved.
s
Do you have any step by step guide how to make it work with make.com ?
5 Views