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

# Get deal

> Get one Apollo deal.

`apollo.getDeal` gets a deal by ID or exact name.

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

export default automation("Get a deal", () => {
  onDashboardRun({ title: "Get a deal" })
  apollo.getDeal({ deal: "Acme expansion" })
})
```

`deal` accepts an ID, exact name, or `{ id }`. Exact-name lookup fails when no deal or multiple deals match. Returns an `ApolloDeal`.
