Skip to main content
trello.setCardCustomFieldValue sets one typed value on a card.
automations/set-trello-card-custom-field-value.automation.ts
Provide card, customFieldId, and a value matching the field definition:
  • { type: "checkbox", checked: boolean }
  • { type: "date", date: Date | ISO 8601 timestamp with an offset }
  • { type: "list", optionId: string }
  • { type: "number", number: string }
  • { type: "text", text: string }
Number values remain strings so Trello’s decimal representation is preserved. Optional second argument { account } selects a Trello binding. Returns Signal<{ cardId: string; customFieldId: string; value: TrelloCustomFieldValue }>.