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

# Activate template

> Activate a Brevo transactional email template for sending.

`activateTemplate` sets an existing template's active state to `true`.

## Example

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

export default automation("Activate a receipt template", () => {
  onHttpRequest({ scope: "automation" })

  activateTemplate({ templateId: 42 })
})
```

`templateId: number | string` is required and `account` selects the Brevo
binding. The action returns `Signal<void>` after Brevo accepts the change. It
does not send or test the template and consumes no send credit.
