AI Inbox Assistant Instructions

AIX Workspace Webinar · Student Instruction

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

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

Build the Workflow

Eight nodes, one automated inbox filter

Add these nodes, in order

  1. 1
    Schedule Trigger
    Set it to every 1 minute
  2. 2
    Code
    Get new-email window
  3. 3
    Gmail
    Read Inbox (Get Many)
  4. 4
    Aggregate
    Combine emails
  5. 5
    Basic LLM Chain
    Flag important
  6. 6
    OpenAI Chat Model
    AI Model (Qwen)
    Connect under the LLM Chain
  7. 7
    Code
    Build Discord tiles
  8. 8
    HTTP Request
    Notify 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
n8n workflow: Schedule every 1 min, Get new-email window, Gmail Read Inbox, Combine emails, Flag important (JSON) with AI Model (Qwen), Build Discord tiles, Notify on Discord

Your workflow should look like this when you’re done.

Stuck on a step?

Open the Solution document for the full walkthrough.

View the Solution