Add Label to Card
trello.add_label
ActionBusiness appsconnection required
Calls the Trello API with the connection's credentials.
Attach an existing board label to a card, keeping the labels already on it.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Trello
- Secret shape
- {"api_key", "token"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
card_id The id or short link of the card to label. | string | Yes | — | — | — |
label_id The id of the label to attach; it must belong to the card's board. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
card_id The card the label was added to. | string | — |
label_id The label that was added. | string | — |
label_ids Every label id now on the card. | array | — |
{
"card_id": "",
"label_id": "",
"label_ids": []
}See Add Label to Card run in a workflow.
In a technical demo we add the Trello connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.