> ## 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 transactional SMS unsubscribed

> Run an automation when a recipient unsubscribes from transactional SMS.

`brevo.onTransactionalSmsUnsubscribed` runs when a recipient unsubscribes from transactional SMS.

## Example

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

export default automation("Handle Brevo transactional SMS unsubscribed", () => {
  const event = brevo.onTransactionalSmsUnsubscribed()
  log(t`Brevo transactional SMS unsubscribed: ${event.messageId}`)
})
```

## Options

`account?: string | IntegrationAccountReference<"brevo">` selects a static Brevo API-key binding and defaults to the project binding. Runtime signals cannot select the watched account.

## Trigger data

Returns a normalized event with `family: "transactionalSms"`, `type: "unsubscribed"`, `webhookId`, and the complete provider callback in `event`. Provider-dependent fields can include `email`, `phone`, `messageId`, `campaignId`, `occurredAt`, `status`, `reason`, `link`, `reply`, and `listIds`.

Honor the opt-out before sending another related SMS. Automate.ax authenticates the managed webhook and deduplicates exact callback retries.
