AI Inbox Assistant: Student Lab Guide
This guide walks you through building an AI Inbox Assistant that regularly checks your Gmail inbox and identifies important emails. You’ll send email summaries to Discord in coloured tiles that indicate each message’s importance. Find the full lab answers here: View Full Lab Answers
Part1
Access the Platform
Three quick steps to get set up
Step 1
Create your account
Step 2
Get your credentials from the email
Step 3
Log in to n8n
Part2
Build the Workflow
Eight nodes, one automated inbox filter
Add these nodes, in order
-
1
Schedule TriggerSet it to every 1 minute
-
2
CodeGet new-email window
-
3
GmailRead Inbox (Get Many)
-
4
AggregateCombine emails
-
5
Basic LLM ChainFlag important
-
6
OpenAI Chat ModelAI Model (Qwen)Connect under the LLM Chain
-
7
CodeBuild Discord tiles
-
8
HTTP RequestNotify on Discord
Then
Click Execute to testRun the workflow once and check the result
Turn the workflow ActiveIt will run automatically every minute
Your finished workflow
Build the workflow · AI Inbox Assistant
Your workflow should look like this when you’re done.
Stuck on a step?
Open the Solution document for the full walkthrough.