Wire Up a Complete Triage Workflow
The outcome: After this challenge, you'll have a complete AI-powered email triage system running autonomously. Emails arrive, get classified, routed to specialized agents, and handled automatically.
Why this matters: Email triage is one of the most common automation use cases. This final challenge connects all the pieces you've built into a cohesive, production-ready system. You'll also learn the patterns for building any multi-agent workflow.
This challenge adds the polish needed for production: fallback routes for edge cases and rate limiting.
What you'll learn:
- System integration - connecting complex multi-agent workflows
- Production readiness - fallbacks and rate limiting
- End-to-end testing - verifying the complete flow works
Your Task
- 1Copy the exercise below
- 2Paste into your n8n editor (Ctrl+V)
- 3Solve it — use hints if you get stuck
- 4Check the solution when done
Complete your email triage system with production-ready features:
1. Add a Fallback Route for Unclassified Emails:
- Add a 5th category "Other" to your Text Classifier
- Connect it to a Gmail Create Label node that adds an "Other" or "Needs Review" label
- This catches emails that don't fit your categories
2. Add a Wait Node for Rate Limiting:
- Add a Wait node (1 second) between your classifier and agents
- This prevents hitting API rate limits when processing multiple emails quickly
3. End-to-End Testing:
- Send test emails for each category and verify correct routing
- Send an ambiguous email to test the "Other" fallback
Get the exercise workflow
Create a free account to copy exercises into your n8n editor.