> ## 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 contact attribute

> Create contact attribute through the Brevo API.

`brevo.createContactAttribute` create contact attribute through the Brevo API.

## Example

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

export default automation("Create contact attribute", () => {
  onDashboardRun({ title: "Create contact attribute" })

  brevo.createContactAttribute({
    category: "normal",
    name: "TIER",
    type: "text",
  })
})
```

## Inputs and output

Inputs:

```ts theme={null}
{
  category: "normal" | "transactional" | "category" | "calculated" | "global"
  name: string
  type?: "text" | "date" | "float" | "boolean" | "id" | "category" | "multiple-choice" | "user"
  enumeration?: Array<{ label: string; value: number }>
  multiCategoryOptions?: string[]
  isRecurring?: boolean
  value?: string
}
```

`name` must be non-empty. Enumeration labels and multi-category options are limited to 200 characters. Optional fields have no implicit default.

Completes without a value. Choose the Brevo category and type when the attribute is created. Pass `{ account }` as the second argument to select a named Brevo account binding.
