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

# On card created

> Start an automation when a card is created on a Trello board.

`onTrelloCardCreated` matches newly created cards, copied cards, cards converted from checklist items, and cards created by email.

```ts automations/welcome-trello-cards.automation.ts theme={null}
import { automation } from "automate.ax"
import { addComment, onTrelloCardCreated } from "automate.ax/trello"

export default automation("Welcome Trello cards", () => {
  const event = onTrelloCardCreated({ board: "board-id" })
  addComment({ card: event.card.id, text: "Card received." })
})
```

`board` is required and accepts an ID, short link, or URL. Optional static `account` defaults to the project binding.

Returns a card-event signal with `actionId`, `actionType`, ISO `occurredAt`, `board`, `card`, optional current `list`, optional `previousList`, optional `commentText`, and optional `memberCreator`. Nested board, card, and list objects always have `id`; names and other provider fields can be absent.
