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

> Create an empty Brevo contact list inside an existing folder.

`createContactList` creates list structure; it does not create or add contacts.

## Example

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

export default automation("Create a launch list", () => {
  onHttpRequest({ scope: "automation" })

  createContactList({ folder: "Campaigns", name: "2026 Launch" })
})
```

`folder: string | number` and non-empty `name` are required. Folder names are
resolved case-insensitively by exact match across all folders; ambiguous or
missing names fail. `account` selects the Brevo binding.

Returns `{ id: number }` for the created list. Use [Add contacts to list](/reference/integrations/brevo/actions/add-contacts-to-list) for existing contacts.
