Trello Card Automation
Build an automated card progression system for Trello boards with AI-powered summaries
Live Example
Try out the code directly in your browser:
Let's build a Trello automation system that:
- Automatically progresses cards across board lists
- Validates card completeness
- Generates AI-powered summaries for code review
- Integrates with Slack for notifications
- Monitors due dates and sends overdue alerts
Board Structure
The Trello board is organized into four main lists:
- New Cards: Entry point for all new cards
- In Progress: Active development stage
- Needs Review: Code review stage with AI summaries
- Completed: Successfully reviewed and approved cards
The Steps
trello-webhook.step.ts
trello-webhook-validation.step.ts
validate-card-requirements.step.ts
start-assigned-card.step.ts
mark-card-for-review.step.ts
complete-approved-card.step.ts
check-overdue-cards.step.ts
slack-notifier.step.ts
Visual Overview
Here's how the automation flow works:

- Card Validation → Checks for required information
- Progress Tracking → Moves cards between lists
- Review Process → Generates AI summaries and notifies reviewers
- Completion Handling → Processes approved cards
Try It Out
Prerequisites
Make sure you have:
- Trello account with API access
- Node.js installed
- Slack workspace (for notifications)
- OpenAI API key (for AI summaries)
Clone the Repository
Install Dependencies
Configure Environment Variables
Create a .env
file by copying the example:
Update your .env
with the following credentials:
Set Up Trello Board
-
Create a new Trello board with these lists:
- New Tasks
- In Progress
- Needs Review
- Completed
-
Add a custom field:
- Status (dropdown: Todo, In Progress, Done)
Run the Application
Test the Flow
- Create a new card in the "New Tasks" list
- Assign a member to see it move to "In Progress"
- Add an "approved" comment to see it move to "Completed"
- Check Slack for notifications
For more detailed setup instructions and configuration options, check out the full documentation.
Need help? See our Community Resources for questions, examples, and discussions.