Skip to main content

Trello

Integrate Trello with Appsmith to create, update, search, and delete cards or boards without leaving your app. Each Trello action returns JSON so you can bind card metadata to widgets, trigger follow-up workflows, or keep your boards in sync with other datasources.

Connect Trello

  1. In Appsmith, create a new Trello datasource.
  2. To authorize Trello, log in to your Trello account, review the requested permissions, and click Allow to grand Appsmith access to your Trello account.
  3. Once connected, you can create a new API by clicking the respective button in the upper right.

Query Trello

Use the command selector in the query form to pick the Trello operation you need. Each command below lists its parameters along with tips for finding IDs inside Trello.

Find the Trello IDs

Many of the commands require you to enter certain Trello IDs as parameters. To get those IDs, you can either export your Trello board as a JSON file or install the API Developer ID Helper Power-Up.

Export the Board Data as JSON File

To export the board data as a JSON file, follow the steps below:

  1. Go to your Trello workspace and select a board.
  2. Click the three dots (...) on the upper-right corner.
  3. Click Print, export, and share.
  4. Select Export as JSON.
export Trello workspace as JSON
  1. Open the JSON file in a text editor or JSON viewer and grab the IDs:
  • id: the id of the Trello board
  • idOrganization: the id of the workspace
  • cards > id: the id of each card
  • labels > id: the id of each label
  • lists > id: the id of each list
  • members > id: the id of each member
  • checklists > id: the id of each checklist of the card

Similarly, you can only export a card as JSON by accessing the card, clicking the three-dots menu > Share > Export JSON.

Trello card Share menu with the Export JSON option highlighted

Install the API Developer ID Helper Power-Up

The API Developer ID Helper Power-Up allows Trello API Developers easy access to the technical IDs of a Trello Board (Board ID, List ID, and Card ID) instead of using the JSON export method. Click Add Power-Up, then select a board and click Add. Once added, go to the board and follow the instructions from the power-up's page to get the IDs.

Add Trello Power-Up

Create card

Creates a new card in the target list and returns the full Trello card object, including card ID, list ID, labels, and timestamps.

List Id string

Required. Provide the list ID where the new card should live.

Name string

Optional card title. If omitted, Trello uses “Untitled card.”

Description string

Optional markdown-friendly description.

Position string

Controls the placement within the list. Allowed values: top, bottom, or any positive float like 5.5 to insert the card between two positions.

Due Date string

ISO-8601 timestamp (2025-12-01T17:00:00.000Z).

Is Due Date Complete string

Marks the due date complete. Allowed values: yes, no. Leave empty to keep Trello’s default (no).

Member Ids array

Comma- or JSON-formatted array of Trello member IDs to assign.

["5d5ea62c8d", "61aa4d128c"]

Label Ids array

Array of label IDs to tag the card. Retrieve label IDs from Trello’s board settings.

Address string

Optional street address for Map view.

Location Name string

Friendly name for the Map pin (for example, “Warehouse-Dock 4”).

Coordinates string

Latitude/longitude pair like 40.7505,-73.9934. Trello expects lat,long with four decimal places for precise pins.

Update card

Updates an existing card, moves it between lists or boards, and toggles archive status. Trello returns the updated card payload.

Card Id string

Required. Provide the Card ID of the card you want to update.

Board Id string

Optional destination board. If you change boardId, also provide a listId that belongs to that board.

List Id string

Optional destination list inside the board. Provide this when moving cards between lists.

Name string

New card title.

Description string

Updated markdown description.

Is Closed string

Archives or unarchives the card. Allowed values: yes (archive) or no.

Position string

Same format as Create cardtop, bottom, or numeric.

Due Date string

New due date in ISO-8601 format (for example, 2025-12-01T17:00:00.000Z).

Is Due Date Complete string

Set to yes when the card’s due date should be marked complete; no removes the completion flag.

Member Ids array

Array of member IDs to set on the card. Provide the entire list of members you want on the card.

["5d5ea62c8d", "61aa4d128c"]

You can also provide these programmatically. For example, you could define the options of a MultiSelect widget as Member Ids and include the dynamically selected values in this field:

{{ MembersMultiSelect.selectedOptionValues }}

Label Ids array

Update the complete label set for the card.

Address string

Overwrite the Map view address metadata.

Location Name string

Friendly name displayed in Map view.

Coordinates string

New lat,long pair for the pin (for example, 40.7505,-73.9934). Trello expects lat,long with four decimal places for precise pins.

Get cards in board

Returns every card on the specified board. Useful for populating tables or syncing statuses.

Board Id string

Required. Provide the ID of the board for which you want to return all cards.

Delete card

Permanently removes a card. Note that this action cannot be undone.

Card Id string

Required. Provide the ID of the card you want to permanently delete.

Search cards

Uses Trello’s search API to find cards across boards.

Query string

Required search expression. Enter text or a quoted phrase to filter cards that contain the specified value. Note that the search returns a maximum of 1000 cards. If you expect a larger result set or need more advanced filtering, consider using a Custom action for greater flexibility and control.

Get lists in board

Fetches metadata for every list on a board to power dropdowns or to map list IDs to human-readable names.

Board Id string

Required board ID. Provide the board ID for which you want to fetch the lists.

Search boards

Searches boards by name or description.

Query string

Required search phrase. You can include workspace names or the team: operator used by Trello search.

Get boards member belong to

Returns all boards accessible to the authenticated Trello member—ideal for populating board pickers without hardcoding IDs. No inputs required.

Custom action

Use Custom Action when you need a Trello REST endpoint that is not modeled above. The form lets you supply the HTTP method, path (for example, https://api.trello.com/1/cards/{cardId}/attachments), query parameters, and body. Appsmith automatically injects the OAuth token from your datasource, so you only have to reference Trello’s API docs for the payload structure.