> ## 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 board label

> Create a reusable label on a Trello board.

`createBoardLabel` creates a label that can then be applied to cards on the same board.

```ts automations/create-trello-label.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { createBoardLabel } from "automate.ax/trello"

export default automation("Create Trello label", () => {
  onHttpRequest({ scope: "automation" })
  createBoardLabel({ board: "board-id", color: "green", name: "Ready" })
})
```

`board`, non-empty `name`, and `color` are required. `color` accepts `"black"`, `"blue"`, `"green"`, `"lime"`, `"orange"`, `"pink"`, `"purple"`, `"red"`, `"sky"`, `"yellow"`, or `null` for colorless. Optional `account` defaults to the project binding.

Returns the created `TrelloLabel`. Use its `id` with `addCardLabel` or `createCard.labelIds`.
