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

# Set contact stage

> Assign one Apollo stage to one or more saved contacts.

`setContactStage` assigns the same contact stage to one or more contacts.

```ts automations/set-apollo-contact-stage.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { setContactStage } from "automate.ax/apollo"

export default automation("Qualify Apollo contacts", () => {
  onHttpRequest({ scope: "automation" })
  setContactStage({
    contacts: ["ada@example.com", { id: "contact-id" }],
    stage: "Qualified",
  })
})
```

`contacts` is a non-empty `ApolloReference[]`; `stage` is an ID, exact name, or
`{ id }`. Optional `account` selects the Apollo binding. Returns the complete
updated `ApolloContact[]`.
