Use this powerful n8n workflow to automatically clean up your Trello boards. Delete old cards flagged with a specific label using Trello n8n nodes and filtering logic.
Download this n8n workflow template and start using it instantly.
Keeping project boards tidy is crucial for efficiency, but manually reviewing and deleting cards is time-consuming. This specialized n8n workflow solves this problem by automating the cleanup process entirely. It systematically scans a designated Trello board for cards carrying the specified label—in this case, 'Mark for Deletion'—and removes them automatically.
This robust n8n workflow ensures that outdated or completed tasks marked for disposal are deleted without human intervention. By deploying this n8n automation, you save significant administrative time and maintain clear, manageable boards. While currently set up with a manual n8n trigger, this n8n workflow is ideal for deployment on a recurring schedule (e.g., weekly or monthly) using an n8n Cron node.
This n8n workflow is designed to execute a thorough scan-and-delete operation:
delete operation on the Trello API, automatically removing the targeted cards from the board. This powerful n8n node completes the cleanup task.To utilize this n8n workflow, follow these steps:
ID parameter from the example URL (https://trello.com/b/DCpuJbnd/administrative-tasks) to your specific Trello board URL.This n8n workflow relies on several key n8n nodes to achieve the filtering and deletion logic:
When clicking ‘Execute workflow’ (Manual Trigger n8n Trigger):
Function: Starts the n8n workflow manually for testing or immediate execution.
Key Configuration: No specific configuration required.
Get Board4 (Trello n8n Node):
Function: Retrieves the necessary ID for the target Trello board using its public URL.
Key Configuration: Resource: Board, Operation: Get. ID is set to URL mode, requiring your specific board URL.
Get Lists4 & Get Cards4 (Trello n8n Node):
Function: Iteratively collects all lists and subsequently all cards from the specified board ID.
Key Configuration: Uses an expression (={{ $json.id }}) to dynamically pass the Board ID to the List retrieval and then the List IDs to the Card retrieval.
Split Labels (Split Out n8n Node):
Function: Converts the array of labels attached to each card into individual items, allowing the subsequent Filter n8n node to check each label independently.
Key Configuration: Splits the labels field.
Filter Marked for Delete (Filter n8n Node):
Function: Filters the processed items, allowing only those where the label's name property is exactly 'Mark for Deletion' to pass.
Key Configuration: Condition checks if ={{ $json.name }} (the name of the label) equals 'Mark for Deletion'.
Delete a card (Trello n8n Node):
Function: Executes the final Trello operation, deleting the cards that successfully passed the filtering stage.
Key Configuration: Operation: Delete. The card ID is pulled dynamically using ={{ $('Get Cards4').item.json.id }}.
Use this powerful n8n workflow to automatically generate detailed travel itineraries. It triggers on emails, uses the Ollama n8n node with Llama 3.2, and sends personalized responses back via SMTP. Explore advanced n8n templates for AI.

Use this powerful n8n workflow to automatically analyze Jotform submissions using Google Gemini. Extract structured sentiment, key topics, and keywords, then log the results to Google Sheets. This advanced n8n workflow template simplifies data mining.

Automate subscriber creation. Use this n8n workflow to instantly sync Systeme.io opt-ins to your Beehiiv newsletter publication, including UTM tracking and robust error alerts. Import this n8n template today.

This sophisticated n8n workflow automates two-way synchronization, backing up Typebot flows to GitHub and handling deletions. Use this powerful n8n template for reliable data versioning and cleanup.

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.







































