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

> Create a field in an Airtable table.

`airtable.createField` adds one field using Airtable's field type and options.

```ts automations/add-stage-field.automation.ts theme={null}
import { automation } from "automate.ax"
import { airtable } from "automate.ax/airtable"

export default automation("Add stage field", () => {
  airtable.createField({
    baseId: "app123",
    tableId: "tbl123",
    name: "Stage",
    type: "singleSelect",
    options: { choices: [{ name: "New" }, { name: "Won" }] },
  })
})
```

`baseId`, stable `tableId`, `name`, and provider field `type` are required. `description` and type-specific `options` are optional unless Airtable requires them for that type. Returns the created field. Requires `schema.bases:write` and base creator access.
