> ## 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 contact deals

> List deals associated with a saved Apollo contact.

`apollo.listContactDeals` lists the deals associated with one saved contact.

```ts automations/list-apollo-contact-deals.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { apollo } from "automate.ax/apollo"

export default automation("List contact deals", () => {
  onDashboardRun({ title: "List contact deals" })
  apollo.listContactDeals({ contact: "ada@example.com" })
})
```

`contact` accepts an Apollo contact ID, exact email or name, or `{ id }`. Returns `{ deals: ApolloDeal[] }`. Optional second argument `{ account }` selects the Apollo binding.

This action requires an Apollo master API key because Apollo rejects OAuth access tokens for this endpoint.
