# Trello

> Manage your Trello boards, lists, and cards.

App · Project Management · 7 actions · 1 trigger. Web page: https://docs.lodol.com/docs/integrations/trello

## Triggers

Start a workflow when something happens in Trello. See [how triggers work](https://docs.lodol.com/docs/concepts/triggers.md).

### New Trello card

Triggers when a new card is added to a Trello board.

**Filters**: Narrow which events start a run.

- `board_id` (required)

**Event fields**: What a run starts with. Later steps read each field with an @ reference.

- `id` (text)
- `name` (text)
- `description` (text)
- `list_id` (text)
- `board_id` (text)
- `url` (text)

## Actions

### Add a card comment

Add a comment to a Trello card.

**Inputs**

- Card ID (`card_id`, text, required): The ID of the card to comment on.
- Comment (`text`, text, required): The comment to add to the card.

**Outputs**

- `comment` (object): Trello comment object from API.

**Example output**

```json
{
  "comment": {
    "data": {
      "text": "This is a comment on the card"
    },
    "id": "5e8b9d1234567890abcdef05",
    "type": "commentCard"
  }
}
```

### Create a card

Create a new Trello card in a list with optional description, due date, and labels.

**Inputs**

- List ID (`list_id`, text, required): The ID of the list to add the card to.
- Name (`name`, text, required): The title of the card.
- Description (`description`, text): An optional description for the card.
- Due date (`due`, text): An optional due date, for example 2026-07-15T09:00:00Z.
- Label IDS (`label_ids`, list): The IDs of the labels to add to the card.

**Outputs**

- `card` (object): Created Trello card object.

**Example output**

```json
{
  "card": {
    "id": "5e8b9d1234567890abcdef03",
    "idList": "5e8b9d1234567890abcdef02",
    "name": "New Task",
    "url": "https://trello.com/c/xyz789/new-task"
  }
}
```

### Create a checklist

Create a new checklist on a Trello card.

**Inputs**

- Card ID (`card_id`, text, required): The ID of the card to add the checklist to.
- Name (`name`, text, required): The title of the checklist.

**Outputs**

- `checklist` (object): Created Trello checklist object.

**Example output**

```json
{
  "checklist": {
    "id": "5e8b9d1234567890abcdef06",
    "idCard": "5e8b9d1234567890abcdef03",
    "name": "Tasks Checklist"
  }
}
```

### List boards

List all of your open Trello boards.

**Inputs**: None.

**Outputs**

- `boards` (list): Array of Trello board objects.

**Example output**

```json
{
  "boards": [
    {
      "id": "5e8b9d1234567890abcdef01",
      "name": "My Project Board",
      "url": "https://trello.com/b/abc123/my-project-board"
    }
  ]
}
```

### List lists on a board

List the lists on a Trello board.

**Inputs**

- Board ID (`board_id`, text, required): The ID of the board.

**Outputs**

- `lists` (list): Array of Trello list objects.

**Example output**

```json
{
  "lists": [
    {
      "id": "5e8b9d1234567890abcdef02",
      "idBoard": "5e8b9d1234567890abcdef01",
      "name": "To Do"
    }
  ]
}
```

### Move a card

Move a Trello card to a different list.

**Inputs**

- Card ID (`card_id`, text, required): The ID of the card to move.
- List ID (`list_id`, text, required): The ID of the list to move the card to.

**Outputs**

- `card` (object): Moved Trello card object.

**Example output**

```json
{
  "card": {
    "id": "5e8b9d1234567890abcdef03",
    "idList": "5e8b9d1234567890abcdef04",
    "name": "Task Name"
  }
}
```

### Update a card

Update card name, description, or due date for an existing Trello card.

**Inputs**

- Card ID (`card_id`, text, required): The ID of the card to update.
- Name (`name`, text): A new title for the card.
- Description (`description`, text): A new description for the card.
- Due date (`due`, text): A new due date, for example 2026-07-15T09:00:00Z.

**Outputs**

- `card` (object): Updated Trello card object.

**Example output**

```json
{
  "card": {
    "desc": "Updated task description",
    "due": "2025-02-01T12:00:00.000Z",
    "id": "5e8b9d1234567890abcdef03",
    "name": "Updated Task Name"
  }
}
```
