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

# Add contacts to sequence

> Enroll saved contacts or named Apollo lists in a sequence.

`addContactsToSequence` enrolls explicit contacts, all contacts in named lists,
or both, using one or more linked sending mailboxes.

```ts automations/enroll-apollo-contacts.automation.ts theme={null}
import { addContactsToSequence } from "automate.ax/apollo"
import { automation, onHttpRequest } from "automate.ax"

export default automation("Enroll Apollo leads", () => {
  onHttpRequest({ scope: "automation" })
  addContactsToSequence({
    sequence: "Outbound follow-up",
    contacts: ["ada@example.com"],
    emailAccounts: [{ id: "mailbox-id" }],
    status: "active",
  })
})
```

`sequence` and a non-empty `emailAccounts` array are required. Provide
`contacts`, `listNames`, or both. Optional inputs select a sender address and
attributed user, initial `active`/`paused` status, verification behavior, and
whether Apollo may include queued, other-sequence, job-change, missing-email,
same-company, or unverified contacts. `autoUnpauseAt` is an offset ISO datetime
and requires `status: "paused"`. Optional `account` selects the binding.

Returns enrolled `contacts`, the normalized `sequence`, canonical
`emailAccountIds`, `skippedContacts` keyed by contact ID, sequence `steps` and
`touches`, and optional `userId`. Inspect `skippedContacts`; provider rules can
exclude part of an otherwise successful request.
