Skip to main content

Example Scripts and Prompts (Retell)

This page includes a sample prompt you can use as a starting point when building a Retell agent with Sympana Connector. Use these examples as reference material, not as a final copy-and-paste prompt. Every business has different calendars, workflows, compliance requirements, qualification rules, and data fields. Because of that, you should always adapt the examples to match your exact use case.

How to use this page

Use these examples to:
  • understand what each Sympana function is supposed to do
  • see how prompts can instruct an agent to call functions correctly
  • build a first draft faster
Do not assume the examples are production-ready without editing.

Script To Test Every Function

Whenever you check the calendar for an available time, remember this is the current date and time: current_time_America/Chicago. If you cannot find anything available today, keep checking future dates until you find an available time. You cannot book same-day appointments and you cannot book weekends. Whenever you check the calendar for an available time, remember this is the current date and time: current_time_America/Chicago. If you cannot find anything available today, keep checking future dates until you find an available time. You cannot book same-day appointments and you cannot book weekends.

Function reference

Create_appointment-custom-retell Books a new appointment directly into the GoHighLevel calendar using the lead’s contact information. Get_appointment-custom-retell Retrieves any existing appointments that the calling lead has previously booked in GoHighLevel. List_appointment-custom-retell Displays a list of all appointments associated with the current lead or campaign for internal reference or scheduling checks. Reschedule_appointment-custom-retell Allows the lead to reschedule an existing appointment by selecting a new date and time from available slots. Get_slots-custom-retell Retrieves available appointment slots from the GoHighLevel calendar to recommend to the lead. You can customize how many slots are offered in the prompt. Get_contact-custom-retell Looks up the contact in GoHighLevel based on the caller’s phone number. If the contact does not exist, the Create_contact-custom-retell function can be used. Create_contact-custom-retell Creates a new contact in GoHighLevel when a lead does not already exist, using the provided name and phone number. Update_contact_data-custom-retell Updates existing contact information in GoHighLevel when the lead provides new or corrected details, such as name, email, or address.