Templates / Categorize and track company emails with OpenRouter AI and Google Sheets

Categorize and track company emails with OpenRouter AI and Google Sheets

Ready for 3.0

by Archit Jain ✓ · 56 views · created 2025-08-16 · AI Summarization, Multimodal AI

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 10 nodes and runs when a new email arrives over IMAP. Along the way it connects Google Sheets, AI Agent, OpenRouter Chat Model and Structured Output Parser.

How it runs

Trigger: When a new email arrives over IMAP.

  1. Get row(s) in sheet (Google Sheets): uses Google Sheets
  2. AI Agent: runs an AI agent, with model: oAI OSS; output parser: Category & Request
  3. Find Category (Google Sheets): uses Google Sheets
  4. If: checks a condition and branches into true / false
  5. Edit Fields (Edit Fields (Set)): sets or maps fields
  6. Append row in sheet (Google Sheets): uses Google Sheets
  7. Update Request Count (Google Sheets): uses Google Sheets

Services it uses

Google SheetsAI AgentOpenRouter Chat ModelStructured Output Parser

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.

Nodes used (7)

From the author

How it works Watches inbox for new emails via IMAP. Fetches existing categories and requests from Google Sheets. Uses AI to analyze subject and body, then assigns a category and request type. Checks if the same category/request already exists in the sheet. If…

Excerpt from Archit Jain'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.