> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sympana.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Example Scripts and Prompts (Retell)

> Reference examples for building Retell prompts with Sympana Connector.

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.
