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

# Add card member

> Assign one Trello member to a card.

`addCardMember` assigns an existing board member and then returns the refreshed card.

```ts automations/assign-trello-card.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { addCardMember } from "automate.ax/trello"

export default automation("Assign Trello card", () => {
  onHttpRequest({ scope: "automation" })
  addCardMember({ card: "card-id", memberId: "member-id" })
})
```

`card` (ID, short link, or URL) and stable `memberId` are required. Optional `account` defaults to the project binding. Returns the updated `TrelloCard`; use [List board members](/reference/integrations/trello/actions/list-board-members) to discover valid IDs.
