Skip to main content
trello.uploadAttachment sends file bytes to a card as multipart/form-data and can use the attachment as the card cover.
automations/upload-trello-attachment.automation.ts
Provide card as an ID, short link, or URL and file as a File. Optional name sets a display name of at most 256 characters. setCover defaults to false. Optional second argument { account } selects a Trello binding. Returns Signal<TrelloAttachment> with the uploaded attachment’s metadata. Trello applies its provider upload-size and board limits.