Ermo150
09/26/2025, 10:04 PMVapi Support Bot
09/26/2025, 10:05 PM{{now}} in your prompt or tool configuration. For example:
The date today is {{now | date: "%Y-%m-%d"}}.
This will automatically insert the current date in the desired format. Make sure your assistant's logic maps the word "today" to this variable for seamless user experience.
Reference: See [Vapi dynamic variables documentation](https://docs.vapi.ai/assistants/dynamic-variables).
Source:
- [Variables Vapi Documentation](https://docs.vapi.ai/assistants/dynamic-variables)Vapi Support Bot
09/26/2025, 10:11 PMChiranjeet Mishra
09/30/2025, 7:39 PMCurrent date: {{now}}
2. Use the Google Calendar Check Availability Tool with proper date handling:
- The tool expects ISO 8601 formatted dates
- For "today" references, use the current date from the system context
- For "tomorrow", add 24 hours to the current date
Example configuration for the calendar tool:
{
"type": "google.calendar.availability.check",
"name": "checkAvailability",
"description": "Use this tool to check calendar availability. Convert relative dates (today/tomorrow) using the current date: {{now}}"
}
The system should automatically handle the conversion from relative dates (today/tomorrow) to actual dates when making calendar queries. If this isn't working, verify that:
1. Your system prompt includes the {{now}} variable
2. The Google Calendar integration is properly configured
3. The tool has permissions to access the calendarErmo150
10/01/2025, 12:34 AMChiranjeet Mishra
10/02/2025, 10:38 PM