Templates / Parse & track orders from email with Gemini/GPT & Notion database sync

Parse & track orders from email with Gemini/GPT & Notion database sync

Ready for 3.0

by Jameson Kanakulya ✓ · 216 views · created 2025-10-15 · Document Extraction, AI RAG

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 13 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini Chat Model, OpenAI Chat Model and Notion.

How it runs

Trigger: On Gmail events.

  1. Check Email Type (Code): runs custom JavaScript code
  2. Email Router (If): checks a condition and branches into true / false
  3. Email Classification and Extraction Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model, Google Gemini Chat Model; output parser: Structured Output Parser
  4. Order Database Sync Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model, Google Gemini Chat Model; 3 tools (Search a page in Notion, Create a database page in Notion, Update a database page in Notion)
  5. Send a message (Gmail): uses Gmail

Services it uses

GmailGoogle Gemini Chat ModelOpenAI Chat ModelNotion

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 (10)

From the author

Automated Email Order Tracking System with AI Classification and Notion Sync Overview ⚠️ Self-Hosted Solution Required This workflow requires a self-hosted n8n instance with active integrations for Gmail, Google Gemini AI, OpenAI, and Notion. API credentials…

Excerpt from Jameson Kanakulya'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.