Templates / Draft Gmail replies to stock and visit inquiries with Claude Haiku

Draft Gmail replies to stock and visit inquiries with Claude Haiku

Ready for 3.0

by 久保田 卓磨 ✓ · 4 views · created 2026-10-05

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 19 nodes and runs on a schedule (every 5 minutes). Along the way it connects Gmail and Anthropic Chat Model.

How it runs

Trigger: On a schedule (every 5 minutes).

  1. Config (Edit Fields (Set)): sets 4 fields: inboxAddress, signature, timezone…
  2. Get new inquiry emails (Gmail): get many (message)
  3. Loop over emails (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Classify inquiry (Text Classifier): classifies text into categories with AI, with model: Claude Haiku 4.
  5. Extract product category (Information Extractor): extracts structured fields from text with AI, with model: Claude Haiku 4.
  6. Extract visit request (Information Extractor): extracts structured fields from text with AI, with model: Claude Haiku 4.
  7. Label as needs-human (Gmail): add labels (message)
  8. Look up stock (Data table): get (row)
  9. Look up visit slots (Data table): get (row)
  10. Combine products (Aggregate): combines items into one

…plus 6 more steps. See the full node list below.

Services it uses

GmailAnthropic Chat Model

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

From the author

Quick Overview This workflow checks a Gmail inbox every 5 minutes for new inquiry emails, uses Anthropic Claude to classify them as stock or store-visit requests, looks up matching data in n8n Data Tables, and saves a suggested reply as a Gmail draft while…

Excerpt from 久保田 卓磨'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.