> ## 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.

# Functions Overview

> Understand what functions do, when to use them, and how they fit into Retell and Vapi setups.

<div className="max-w-5xl mx-auto pt-4 pb-8">
  <div className="rounded-3xl border border-zinc-800 bg-gradient-to-br from-blue-500/10 via-zinc-950 to-zinc-950 p-8">
    <p className="text-xs uppercase tracking-[0.2em] text-zinc-500">Functions</p>
    <h1 className="mt-3 text-4xl font-semibold tracking-tight text-white">Functions let your AI agent do real work during a live call.</h1>

    <p className="mt-4 max-w-3xl text-zinc-300 text-lg leading-8">
      With Sympana Connector, functions help your Retell or Vapi agent interact with GoHighLevel data and scheduling actions instead of only talking.
    </p>
  </div>
</div>

<Columns cols={2}>
  <Card title="Contact functions" href="/guides/how-to-set-up-functions-in-retell">
    Use functions to look up contacts, create new leads, or update lead data when the agent needs to confirm or save information.
  </Card>

  <Card title="Appointment functions" href="/guides/how-to-set-up-functions-in-vapi">
    Use functions to retrieve slots, create bookings, review appointments, and reschedule when the call needs to complete a real scheduling task.
  </Card>
</Columns>

<div className="mt-8 rounded-2xl border border-zinc-800 bg-zinc-950/70 p-6">
  <h2 className="text-2xl font-semibold text-white">What matters most</h2>

  <ul className="mt-4 space-y-3 text-zinc-300 list-disc list-inside">
    <li>Functions only work well when the platform configuration is correct.</li>
    <li>Your prompt still needs to tell the agent when to use each function.</li>
    <li>Retell and Vapi setups should stay separate because their configuration paths differ.</li>
  </ul>
</div>

<Tip>If you are setting up functions in Retell or Vapi, stay inside the matching platform section instead of mixing both instruction paths.</Tip>
