> ## 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 Custom Field option

> Create a Trello Custom Field dropdown option.

`trello.createCustomFieldOption` adds a choice to a list-type Custom Field.

```ts automations/create-trello-custom-field-option.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { trello } from "automate.ax/trello"

export default automation("Create Trello Custom Field option", () => {
  onDashboardRun({ title: "Create Trello Custom Field option" })
  trello.createCustomFieldOption({
    customFieldId: "custom-field-id",
    text: "Ready",
    color: "green",
    position: "bottom",
  })
})
```

Provide `customFieldId` and non-empty `text`. `color` accepts `"black"`, `"blue"`, `"green"`, `"lime"`, `"none"`, `"orange"`, `"pink"`, `"purple"`, `"red"`, `"sky"`, or `"yellow"` and defaults to `"none"`. `position` accepts `"top"`, `"bottom"`, or a nonnegative number and defaults to `"bottom"`. Optional second argument `{ account }` selects a Trello binding.

Returns the created `TrelloCustomFieldOption`.
