Skip to main content

Trello

Create, update, move and comment on cards, and look up boards and lists in Trello.

Slugtrello
Base URLhttps://api.trello.com/1
Auth optionsAPI key and token
Test connectionGET /members/me

1. Get an API key and token​

Trello needs two values: an API key (identifies the integration) and a token (gives it access to your account).

  1. Open the Power-Up admin portal and click New to create a Power-Up (any name, for example Blokkio; pick your workspace).
  2. Open the Power-Up → API key → Generate a new API key. Copy the API key.
  3. Next to the key, click the Token link, approve with Allow and copy the token shown.

The token acts as you in Trello. Keep it secret; revoke it any time under your Trello account → Applications.

2. Create the connection​

  1. In Blokkio, go to Apps and open Trello.
  2. Click Connect, paste the API key and the Token (or use secrets for both) and click Create.
  3. Test connection calls GET /members/me.

Finding ids​

  • Board ID: the part after /b/ in the board URL (trello.com/b/AbC123xy/marketing), or List boards.
  • List ID: run List lists for the board.
  • Card ID: the part after /c/ in the card URL, or the id returned by Create card / List cards.

Search cards uses Trello search operators such as board:Sales, list:Doing, is:open, due:week and @me.

Actions​

Use them with the App Action node. Lists return { items, count }; actions that read every page return { items, pages } (turn off Fetch all pages or lower Max pages in the node to read less).

ActionKeyWhat it doesInputs (required)
List boardslist_boardsYour open boards.—
List listslist_listsLists on a board.Board ID, Which lists
List cardslist_cardsCards in a list.List ID
Get cardget_cardCard ID
Create cardcreate_cardList ID, Title, Description, Due date, Start date, Position, Member IDs, Label IDs, Attach link
Update cardupdate_cardRename, move, archive or complete a card. Only the fields you fill change.Card ID, Title, Description, Move to list ID, Due date, Due date complete, Archived, Position, Member IDs, Label IDs
Add commentadd_commentCard ID, Comment
Search cardssearch_cardsCards matching a Trello search (e.g. "invoice board:Sales is:open").Search, Only these board IDs, How many
Create listcreate_listBoard ID, Name, Position

Triggers​

Use them with the App Trigger node. A trigger checks the app at its polling interval (the shortest allowed depends on your plan, see Plans and limits) and starts one run per new item, oldest first. The first check after you publish only records what already exists, so only items created after that start runs. Each run gets the item as $trigger (for example {{ $trigger.id }}).

TriggerKeyWhat starts a runInputs (required)Output
New cardnew_cardOpen cards added to a board (a card moved in from another board counts too).Board IDid, name, desc, url, idList, due, labels

Troubleshooting​

MessageWhat to do
HTTP 401 … invalid key / invalid tokenThe key or token is wrong or the token was revoked. Generate a new token for the key.
HTTP 400 … invalid value for idListUse the list id from List lists, not the list name.
HTTP 404 … The requested resource was not foundWrong card/board id, or the token's account has no access.