Trello

Connect & Ingest data from Trello

Trello is a project management and collaboration tool that organizes tasks into boards, lists, and cards. The Sling Trello connector extracts data from the Trello REST API, supporting boards, lists, cards, actions, members, labels, checklists, and organizations.

circle-check

Setup

The following credentials are accepted:

Secrets:

  • api_key (required) -> Your Trello API Key

  • api_token (required) -> Your Trello API Token

Getting Your API Key and Token

  1. Click New to create a new Power-Up/Integration

  2. Fill in a name (e.g., "Sling Integration") and select your workspace

  3. Click Create and then navigate to the API Key tab

  4. Click Generate a new API Key to get your API key

  5. Click the Token link next to your API key to generate a token

  6. Authorize the application and copy the generated token

circle-exclamation

Using sling conns

Here are examples of setting a connection named TRELLO. We must provide the type=api property:

Environment Variable

Sling Env File YAML

See here to learn more about the sling env.yaml file.

Replication

Here's an example replication configuration to sync Trello data to a PostgreSQL database:

Incremental sync for actions:

Endpoints

Endpoint
Description
Incremental
Depends On

boards

All boards for the authenticated user

No

organizations

All organizations/workspaces for the authenticated user

No

lists

All lists for each board

No

boards

cards

All cards for each board with members and attachments

No

boards

labels

All labels for each board

No

boards

members

All members for each board

No

boards

checklists

All checklists for each board with check items

No

boards

actions

All actions/activity for each board

Yes

boards

The connector uses a queue-based architecture to handle parent-child relationships. The boards endpoint runs first and populates board IDs, which are used by lists, cards, labels, members, checklists, and actions.

To discover available endpoints:

Endpoint Details

boards — Returns all boards (open, closed, and starred) the authenticated user has access to. Board IDs are queued for all child endpoints. Includes board metadata such as name, description, preferences, labels, and membership info.

organizations — Returns all organizations (workspaces) the authenticated user belongs to, including name, display name, URL, and membership details.

lists — Returns all lists for each board, including open and archived lists. Contains list name, position, and status.

cards — Returns all cards for each board with full detail: name, description, due dates, labels, position, checklist status, member assignments, and attachments.

labels — Returns all labels defined on each board, including name, color, and usage information.

members — Returns all members of each board, including username, full name, avatar, and member type.

checklists — Returns all checklists for each board, including all check items with their names and completion status.

actions — Returns all activity/actions for each board, including card creates, moves, comments, member additions, and other board activity. Supports incremental sync via the since parameter.

Incremental Sync

The actions endpoint supports incremental sync using the since parameter:

  • First run: Fetches all actions from the last 30 days

  • Subsequent runs: Only fetches actions created after the last sync timestamp

All other endpoints run in full-refresh mode since the Trello API does not provide server-side time-based filtering for those resources.

Rate Limiting

The Trello API enforces rate limits:

  • Per API Key: 300 requests per 10 seconds

  • Per API Token: 100 requests per 10 seconds

The connector automatically:

  • Uses rate limiting (8 requests/second with concurrency of 3)

  • Retries with exponential backoff on 429 (rate limit) responses

  • Allows up to 5 retry attempts

  • Retries with linear backoff on 5xx server errors

Common Use Cases

Sync All Trello Data

Sync Actions Incrementally

Extract Cards and Checklists for Reporting

Sync Board Structure and Members

If you are facing issues connecting, please reach out to us at [email protected]envelope, on discordarrow-up-right or open a Github Issue herearrow-up-right.

Last updated

Was this helpful?