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

# Enrich person

> Enrich one Apollo person from readable identity data or a person ID.

`enrichPerson` matches and enriches one person. Base enrichment costs 1–9
Apollo credits according to the provider's result and plan.

```ts automations/enrich-apollo-person.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { enrichPerson } from "automate.ax/apollo"

export default automation("Enrich an Apollo prospect", () => {
  onHttpRequest({ scope: "automation" })
  enrichPerson({ personId: "person-id", revealPersonalEmails: true })
})
```

Identify the person with `personId`, `email`, a 32/64-character `hashedEmail`,
`linkedinUrl`, `name`, or first/last name, optionally with employer `domain` or
`organizationName`. `revealPersonalEmails` defaults to `false`.
`revealPhoneNumber`, `runWaterfallEmail`, and `runWaterfallPhone` also default
to `false` and require a public HTTPS `webhookUrl`. Optional `account` selects
the binding.

Returns `{ person: ApolloPerson | null; requestId?: string | number }`.
Asynchronous phone and waterfall data arrives through the webhook and can be
checked with `pollWebhookResult`. Waterfall vendors may charge even without a
match.
