Trello Attachment Component
Trello Attachment Component connects your flow to your Trello account to work with a card’s attachments: add a link as an attachment, see all the card’s attachments, or delete one.
It is useful to keep everything related to a task on its card, for example the link to a quote that was just generated or to a document a customer sent.
When to use it
- A flow generates a quote and you want to leave its link on the customer’s card.
- A customer shares a document and you want to attach the link to the case’s card.
- You want to check which attachments a card has before closing it.
- A link becomes outdated and you want to remove it from the card.
Configuration
You need a Trello Task API credential with your Trello account’s token and API key. See Credentials.
| Field | What it does |
|---|---|
| Credential (required) | The Trello Task API credential used to access your account. |
| Operation | What the component does. See Operations. Default: Create. |
| Card ID (required) | The card’s ID. |
| Attachment ID (required) | The attachment’s ID. Used in Read and Delete. |
| Attachment Name (required) | The name the attachment shows on the card. Used in Create. |
| Attachment Url (required) | The web address to attach. Used in Create. |
Operations
| Operation | What it does |
|---|---|
Create | Attaches the given link to the card with the chosen name. |
Read | Returns one attachment of the card. |
Read All | Returns all the card’s attachments. |
Delete | Deletes an attachment from the card. |
Output
The Data output returns the attachment you worked with as Trello stores it: its ID, name and address, among other details. With Read All you get one item per attachment. Delete returns a confirmation.
The component can also be connected to an Agent as a tool. See Tool Mode.
Example
A consultancy creates its quotes in a shared document and wants them at hand in Trello.
- The flow generates the quote and gets its link.
- Add Trello Attachment Component with the
Createoperation. - In Card ID enter the ID of the customer’s card, in Attachment Name
Quoteand in Attachment Url the document’s link.
Good practices
- This component attaches links. The file is not copied to Trello: if the link stops working, so does the attachment.
Related components
- Trello Card Component: cards.