Templates / Classify SES project emails with GPT-4.1 mini and save from Gmail to Sheets

Classify SES project emails with GPT-4.1 mini and save from Gmail to Sheets

Ready for 3.0

by Fujii Ryota ✓ · 19 views · created 2026-05-05 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 7 nodes and runs on Gmail events. Along the way it connects Gmail, OpenAI and Google Sheets.

How it runs

Trigger: On Gmail events.

  1. AI Project Classifier (OpenAI): uses OpenAI
  2. Parse JSON (Code): runs custom JavaScript code
  3. Is Project Email? (If): checks a condition and branches into true / false
  4. Set Spreadsheet Config (Edit Fields (Set)): sets 2 fields: Spreadsheet ID, Sheet Name
  5. Append to Spreadsheet (Google Sheets): append

Services it uses

GmailOpenAIGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).

Nodes used (7)

From the author

What this workflow does This workflow monitors your Gmail inbox every minute and automatically extracts SES (System Engineering Service) project information from recruitment emails. It uses AI to classify emails and parse structured data, then appends project…

Excerpt from Fujii Ryota's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.