Part A: Environment Setup
Table of contents
Prerequisites Checklist
Before starting this exercise, ensure you’ve completed these from the Common Prerequisites:
Required Setup
- n8n Platform - Setup guide
- Gmail & Google Sheets - Connect via n8n
- OpenRouter API - Setup guide
Haven’t completed prerequisites? Follow the links above to set up each service before continuing.
Time for this setup: 2-5 minutes
Create Gmail Labels
The only exercise-specific setup is creating labels in your Gmail account for the classification system.
Step 1: Access Gmail Settings
- Open Gmail in your browser
- Click the gear icon (⚙️) in the top-right
- Select “See all settings”
- Navigate to the “Labels” tab
Step 2: Create Classification Labels
Click “Create new label” and add these four labels:
URGENT-SUPPORTHIGH-PRIORITYANGRY-CUSTOMERSTANDARD-PROCESSING
Label names matter: Use these exact names. The workflow will apply them based on AI classification.
Step 3: Verify Labels
Go back to your Gmail inbox and confirm all four labels appear in your left sidebar under “Labels”.
Setup Complete! Your Gmail is ready for automated classification.
Ready to Build
You now have:
- ✅ All common prerequisites configured
- ✅ Gmail labels created for classification