> ## 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 marketing SMS replied

> Run an automation when a recipient replies to a marketing SMS.

`brevo.onMarketingSmsReplied` runs when a recipient replies to a marketing campaign SMS.

## Example

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

export default automation("Handle Brevo marketing SMS reply", () => {
  const event = brevo.onMarketingSmsReplied()
  log(t`Brevo marketing SMS reply from ${event.phone}: ${event.reply}`)
})
```

## 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: "marketingSms"`, `type: "replied"`, `webhookId`, and the complete provider callback in `event`. Provider-dependent fields can include `phone`, `messageId`, `campaignId`, `occurredAt`, `status`, `reply`, and credit usage.

Automate.ax authenticates the managed webhook and deduplicates exact callback retries.
