aslam.m
11/06/2025, 8:48 PMAI Evy
11/06/2025, 8:48 PMAI Evy
11/06/2025, 8:48 PM{{current_time}} in your prompt before triggering the availability check function . This ensures the agent knows what time it's checking for and prevents "Time range is in the past" errors .
Other potential issues to verify:
1. Event Type Configuration - Ensure your Cal.com event type only has name and email as required fields [(1) ]() . Remove other required fields like location or phone number from your Cal.com event settings .
2. API Credentials - Verify your Cal.com API Key and Event Type ID are correctly configured in Retell [(3) ]() [(4) ]() .
3. Timezone Settings - You can optionally add a timezone to be used in the function to ensure proper time calculations [(3) ]() .
If the issue persists after adding {{current_time}} to your prompt, check your call logs for the specific error message to help diagnose the problem [(2) ]() .AI Evy
11/06/2025, 8:48 PMAI Evy
11/06/2025, 8:48 PMaslam.m
11/06/2025, 9:04 PM