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

# Update contact

> Update selected fields on a saved Apollo contact.

`updateContact` resolves a contact and updates only the fields you supply.

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

export default automation("Advance an Apollo contact", () => {
  onHttpRequest({ scope: "automation" })
  updateContact({ contact: "ada@example.com", stage: "Qualified" })
})
```

`contact` is required and accepts an ID, exact email/name, or `{ id }`. Supply
at least one of the contact fields supported by `createContact`: names, email,
title, organization, website, associated account, stage, lists, phones,
address, or custom fields. Optional `account` selects the Apollo binding.

Returns the updated `ApolloContact`. An input with no changed field is rejected.
