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

# Create batch events

> Create batch events through the Brevo API.

`brevo.createBatchEvents` create batch events through the Brevo API.

## Example

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

export default automation("Create batch events", () => {
  onDashboardRun({ title: "Create batch events" })

  brevo.createBatchEvents({
    events: [
      { eventName: "order_created", identifiers: { extId: "customer-1" } },
    ],
  })
})
```

## Inputs and output

Inputs: `events` is a non-empty array of the same event payload accepted by `createEvent`.

Accepted count or detailed partial-failure totals. Brevo queues the batch and can report failed event indexes. Pass `{ account }` as the second argument to select a named Brevo account binding.
