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

> Create a Resend segment broadcast.

`resend.createBroadcast` create a Resend segment broadcast.

```ts automations/resend-createBroadcast.automation.ts theme={null}
import { automation } from "automate.ax"
import { resend } from "automate.ax/resend"

export default automation("Create broadcast", () => {
  resend.createBroadcast({
    segmentId: "78261eea-8f8b-4381-83c6-79fa7120f1cf",
    from: "News <news@example.com>",
    subject: "August news",
    markdown: "# What shipped",
  })
})
```

Provide a verified sender, subject, segment ID, and at least one body format. Set `send: true` to send immediately or combine it with `scheduledAt`; a schedule is invalid when `send` is false. Optional second argument `{ account }` selects the Resend account binding.
