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

# Validate sender

> Validate a Brevo sender with its emailed one-time code.

`brevo.validateSender` validate a Brevo sender with its emailed one-time code.

## Example

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

export default automation("Validate sender", () => {
  onDashboardRun({ title: "Validate sender" })
  brevo.validateSender({ senderId: 42, otp: 123456 })
})
```

## Inputs

`senderId` is the sender being verified. `otp` is the six-digit code Brevo emailed. The second argument can select `{ account }`.

## Output

Returns nothing. An expired or incorrect code produces a structured Brevo provider error.
