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

# On HighLevel contact deleted

> Run when a contact is deleted.

Use `highlevel.onContactDeleted` to run when a contact is deleted.

```ts automations/highlevel-on-contact-deleted.automation.ts theme={null}
import { automation, markSignificant } from "automate.ax"
import { highlevel } from "automate.ax/highlevel"

export default automation("On HighLevel contact deleted", () => {
  const event = highlevel.onContactDeleted()
  markSignificant(event)
})
```

HighLevel triggers require OAuth because HighLevel sends marketplace webhooks for an installed app. Optional static `account` selects a named OAuth binding; the project binding is the default.

## Trigger data

Returns the typed `ContactDelete` webhook payload. Every event includes `type`, `locationId`, `timestamp`, and `webhookId`; entity events include the affected record fields supplied by HighLevel. Appointment events place appointment details under `appointment`.

Automate.ax verifies HighLevel's Ed25519 signature against the exact request body, rejects deliveries outside a five-minute replay window, and deduplicates retries by `webhookId`.
