N8N Automations Part 2: Daily Email of Past Due Trello Tasks

JTS

Trello is a simple yet powerful card-based task management system that makes it easy to keep track of projects, reminders, and follow-ups. I use it for everything from daily tasks to large-scale projects that involve multiple stakeholders.

One of Trello’s greatest strengths is its flexibility. You can assign cards to team members, add comments, upload images or diagrams, use labels, and most importantly, set due dates.

Article content

However, Trello’s built-in email capabilities are fairly basic. They are not very configurable and are limited to what the Trello ecosystem allows. That is where N8N comes in.


The Goal

I wanted a more powerful and customizable email report that would summarize all overdue Trello tasks. Eventually, I realized it could be even more versatile, creating a single daily email showing past-due tasks across multiple project management systems.

Because N8N supports so many integrations, it is easy to include data from other platforms such as Jira, Asana, Google Tasks, Microsoft To Do, or even custom systems through HTTP requests. The idea was simple: every morning before work, I wanted an email showing all overdue tasks across my projects and clients.

Article content

The Workflow

1. Scheduled Trigger

The first node is a Schedule Trigger that runs every morning at 7 AM. This ensures the workflow kicks off automatically without manual intervention.

Article content

2. Pull Lists from Trello

Next, the Trello Node retrieves all lists from a specific board. The Board ID setup is outside the scope of this article, but if you are unsure how to find it, ChatGPT can easily walk you through the process.

Article content

3. Filter Active Lists

A Filter Node ensures only open (non-archived) lists are included.

Article content

4. Get Cards from Each List

Then we pull all cards from those lists. During testing, I limited it to 20, but in production, you would likely increase this limit to capture everything.

Article content

5. Merge Additional Sources

I added a Merge Node as a placeholder for future enhancements. This could allow you to bring in data from other project management systems like Asana, Google Tasks, or Microsoft To Do, offering a unified overdue task report.

Article content

6. Filter Completed Tasks

Another Filter Node removes any tasks marked as completed. At this point, we are left only with active cards from open lists.

Article content

7. Check for Overdue Items

Next comes the date check, which determines which tasks are past due. This step was surprisingly tricky because of incorrect examples online. After some testing and a few failed ChatGPT suggestions, I found the right approach using manual date casting.

Article content

8. Format the Email

Once we have our overdue tasks, the next node formats them into a clean, readable email body. Again, I had to refine the approach to avoid older or deprecated syntax.

Article content

9. Send the Email

Finally, a Send Email Node delivers the compiled report to my inbox. Every morning, I get a summary of overdue Trello tasks and potentially other systems in the future.

Article content

Results and Future Improvements

Although this flow currently focuses on Trello, it could easily merge data from other sources before the final Merge node. For a more scalable solution, I would probably move the Filter Completed and Overdue Check nodes before merging. That would allow the final email formatter to handle all systems in a unified way.

The flexibility and power of N8N are impressive. While a developer can build these workflows faster, once the core logic is in place, non-technical users can easily adjust or extend them using N8N’s visual editor.

Article content

The best part is that this entire setup runs locally on a virtual machine using the community edition of N8N, so there are no licensing costs involved.


Takeaway: Automation does not have to be complex or expensive. With N8N, you can easily create cross-platform reports and notifications that save hours of manual checking, keeping you focused on getting work done instead of managing task lists.

About the author

During his twenty-five professional years, Mr. Silva has had experience in nearly every facet of the Information Technology industry. Ranging from advanced data mining / data visualization systems to running multi-state small business IT infrastructures, Mr. Silva has always provided precise and cost-effective strategies to meet any client’s needs. With his tremendous work ethic and “Can-Do” attitude, Mr. Silva has always met every challenge head-on and with intelligent determination. Mr. Silva is also a certified NAUI Advanced/Nitrox Diver, hoping to get a few more wrecks under his belt in the Atlantic.