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

> Start an automation when a Trello card moves between lists.

`onTrelloCardMoved` matches an `updateCard` action that includes both the source and destination lists.

```ts automations/watch-trello-moves.automation.ts theme={null}
import { automation } from "automate.ax"
import { addComment, onTrelloCardMoved } from "automate.ax/trello"

export default automation("Acknowledge Trello moves", () => {
  const event = onTrelloCardMoved({ board: "board-id" })
  addComment({ card: event.card.id, text: "Card moved." })
})
```

`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 action metadata, `board`, `card`, destination `list`, source `previousList`, and optional acting member. A move also matches [On card updated](/reference/integrations/trello/triggers/on-card-updated); avoid enabling both for the same downstream work unless two runs are intentional.
