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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Get event invitee

> Get one invitee for a Calendly scheduled event.

`calendly.getEventInvitee` accepts separate event and invitee UUIDs.

```ts automations/get-calendly-invitee.automation.ts theme={null}
import { automation, onDashboardRun, sendEmail } from "automate.ax"
import { calendly } from "automate.ax/calendly"

export default automation("Get Calendly invitee", () => {
  onDashboardRun({ title: "Get Calendly invitee" })
  const invitee = calendly.getEventInvitee({
    eventId: "event-id",
    inviteeId: "invitee-id",
  })
  sendEmail({
    to: invitee.email,
    subject: "Manage your meeting",
    text: invitee.rescheduleUrl,
  })
})
```

Use `rescheduleUrl` for rescheduling; Calendly does not provide an API reschedule mutation. `oldInvitee` and `newInvitee` link rescheduled records.
