Dynamic Variables
Hello, I would like to use the built in dynamic variable {{time}} based on this document https://docs.vapi.ai/assistants/dynamic-variables#default-variables
The variable works correctly with webcalls but when calling in using a phone number, the placeholder does not seem to be transformed. She sees it as "{{time}}"
Example:
Fail
Type: Incoming Call
Call Id: 5283522a-3b48-46c9-add0-8cc8b61ec731
AI: Well, let me check. The current date and time is dash chat. Date, at flashing dot chat time dot u t Hey there. How can I help you today?
Success
Type: Web Call
Call Id: 1b761200-37ec-44e0-958a-7ea8d0bce235
AI: Um, it's May 20 fourth. 20 24, and the time is 5 36 PM UTC. Anything else I can help you with?
Thank you, Tyler
The variable works correctly with webcalls but when calling in using a phone number, the placeholder does not seem to be transformed. She sees it as "{{time}}"
Example:
Fail
Type: Incoming Call
Call Id: 5283522a-3b48-46c9-add0-8cc8b61ec731
AI: Well, let me check. The current date and time is dash chat. Date, at flashing dot chat time dot u t Hey there. How can I help you today?
Success
Type: Web Call
Call Id: 1b761200-37ec-44e0-958a-7ea8d0bce235
AI: Um, it's May 20 fourth. 20 24, and the time is 5 36 PM UTC. Anything else I can help you with?
Thank you, Tyler
Vapi
Vapi makes it easy to personalize an assistant's messages and prompts using variables, allowing each call to be customized.
