Skip to main content

Categorize and track company emails with OpenRouter AI and Google Sheets

Workflow preview

Categorize and track company emails with OpenRouter AI and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

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 found, increments the request count for that row.
  • If new, adds a fresh row with category, request, and count set to 1.

Set up steps

  • Connect IMAP email account for inbox access.
  • Connect Google Sheets account and link to the target sheet.
  • Connect AI service account (OpenRouter).
  • Import workflow into automation platform and map credentials.
  • Test once with a sample email to verify classification and sheet update.
  • Estimated setup time: ~15–20 minutes with accounts ready.