Skip to main content
trello.addCardLabel applies a reusable label and returns a mutation receipt.
automations/label-trello-card.automation.ts
Provide card as an ID, short link, or URL and a stable labelId. Optional second argument { account } defaults to the project binding. Returns Signal<{ added: true; cardId: string; labelId: string }> after Trello confirms the mutation. The label must belong to the card’s board. Discover IDs with List board labels, and call Get card separately when the updated card is needed.