.manthu
08/30/2025, 5:32 AMAI Evy
08/30/2025, 5:32 AMAI Evy
08/30/2025, 5:32 AMjavascript
const registerCallResponse = await retell.call.createPhoneCall({
from_number: '+14157774444', // replace with the number you purchased
to_number: '+12137774445', // replace with the number you want to call
retell_llm_dynamic_variables: { // replace with the dynamic variables you want to send (optional)
name: 'John Doe',
blood_group: 'B+'
},
custom_sip_headers: { // replace with custom sip headers you want to send (optional)
X-Custom-Header: 'Custom Value'
}
}) ;
However, for automated scheduling and calendar-based triggers like appointment reminders, you would need external workflow automation [(2) ]() [(3) ]() . While Retell AI doesn't have built-in calendar checking or scheduling criteria, you can integrate with n8n to create automated workflows [(2) ]() . The n8n integration allows you to trigger AI calls directly from workflows and can be connected to over 2000 apps via Make to sync data and create powerful automated workflows [(4) ]() .
For appointment reminders specifically, you could use n8n's Schedule Trigger to check calendars at regular intervals and trigger outbound calls when appointments are approaching [(5) ]() . This would involve setting up workflow automation outside of Retell AI itself to handle the calendar checking and timing logic.AI Evy
08/30/2025, 5:32 AMAI Evy
08/30/2025, 5:32 AM