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

# List routing form submissions

> List submissions for a Calendly routing form.

`calendly.listRoutingFormSubmissions` requires Calendly Teams or above and the complete routing form URI in `form`.

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

export default automation("List Calendly routing submissions", () => {
  onDashboardRun({ title: "List routing submissions" })
  const page = calendly.listRoutingFormSubmissions({
    form: "https://api.calendly.com/routing_forms/form-id",
    sort: "created_at:desc",
  })
  sendEmail({
    subject: "Routing submissions",
    text: JSON.stringify(page.items),
  })
})
```

Results include answers, tracking, submitter, and a typed result: an event type URI, external URL, or custom message. Use `count` and `pageToken` for pagination.
