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

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

`setContactOwner` assigns the same workspace user to one or more contacts.

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

export default automation("Assign Apollo contacts", () => {
  onHttpRequest({ scope: "automation" })
  setContactOwner({
    contacts: ["ada@example.com", "grace@example.com"],
    owner: "seller@example.com",
  })
})
```

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