> ## 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 email hard bounced

> Start an automation when a Brevo transactional email permanently bounces.

`onBrevoEmailHardBounced` emits `hard_bounce` for permanent delivery failures,
such as a nonexistent recipient address.

```ts theme={null}
import { automation, log } from "automate.ax"
import { onBrevoEmailHardBounced } from "automate.ax/brevo"

export default automation("Record permanent bounces", () => {
  const event = onBrevoEmailHardBounced()
  log({ value: event })
})
```

`account` is an optional static Brevo binding. Returns the common transactional
event shape with `event: "hard_bounce"`; inspect `data` for provider reason and
diagnostic fields. Do not automatically retry a hard bounce without correcting
the recipient or cause.
