Auto-Draft Gmail Replies to Stock and Store-Visit Inquiries with Claude and n8n
Let Claude Haiku classify incoming inquiry emails, look up live stock or visit slots, and save an accurate reply as a Gmail draft for your team to approve.

Retail and showroom inboxes fill up with the same two questions: "Do you have this in stock?" and "Can I visit on Saturday?" Answering each one means checking inventory or a booking sheet, then typing a reply. This use case shows an n8n workflow where Claude Haiku reads every new inquiry, looks up the real data, and saves a ready-to-send Gmail draft. Your team just reviews and clicks send.
Why Automate Inquiry Email Replies
Slow responses lose sales: buyers often contact several stores and go with the first reply.
Repetitive lookups: staff check the same stock list and calendar dozens of times a day.
Errors in prices and slots: copying data by hand leads to wrong quotes and double bookings.
Full automation feels risky: many teams want AI help without auto-sending emails.
Need replies connected to your POS, Shopify or booking system? Get a custom n8n workflow from Vyrade.
Download & Inspect the JSON Workflow
If you prefer starting from a ready-made workflow, subscribers can download the preconfigured n8n workflow JSON below and import it directly into their workspace.
The Automated Email Reply Workflow
Step 1: Check the inbox every 5 minutes
A Schedule Trigger fetches up to 10 recent Gmail messages sent to your inquiry address that aren't already labeled ai-drafted or needs-human.
Step 2: Classify each email with Claude
Messages are processed one by one. A Text Classifier using Anthropic Claude Haiku sorts each into Stock inquiry, Store visit or Other.
Step 3a: Stock inquiries
An Information Extractor pulls out the product category, the workflow queries an n8n Data Table of products, and Claude drafts a reply using only the returned stock and pricing.
Step 3b: Store-visit requests
Claude extracts the requested date and time, the workflow looks up that day's slots in a second Data Table, and the draft lists available times or says the day is fully booked.
Step 4: Save a Gmail draft and label it
A Gmail node creates the draft in the original thread and applies the ai-drafted label. Anything classified as Other gets needs-human for manual handling.
What You Need Before You Start
An n8n instance (n8n on Vyrade) with Data Tables enabled.
Gmail credentials for the inquiry inbox.
An Anthropic API key. Vyrade also builds with Claude Code for custom logic.
Two Data Tables: products/stock and visit slots.
Gmail labels ai-drafted and needs-human.
How to Customize the Workflow
Sync stock automatically: replace the Data Table with Shopify, WooCommerce or Google Sheets lookups.
Auto-send safe replies: send directly when confidence is high, and keep drafts for edge cases.
Add more intents: returns, pricing quotes or opening hours.
Notify staff: post a Slack message when a needs-human email arrives.
Switch models: use GPT or Gemini instead of Claude with the same structure.
Who Benefits From This Workflow
Retail stores and showrooms reply to stock questions in minutes. Car dealerships and furniture stores fill appointment slots faster. E-commerce support teams cut manual lookups. Agencies can roll this out across many client inboxes.
The Limitations of Manual Inbox Handling
Every inquiry needs a lookup, a reply and a follow-up. During busy periods emails wait for hours, and mistakes in prices or times damage trust. Drafting with live data keeps accuracy high, while the human-in-the-loop step keeps control with your team.
Architecture Overview
Schedule → Gmail fetch → Split in Batches → Claude text classifier → (stock: extractor → Data Table → Claude draft) or (visit: extractor → Data Table → Claude draft) → Gmail draft + label. Review Gmail node docs for label and draft options. For broader rollouts, see Vyrade's AI automation development services.
Conclusion
This workflow gives you the speed of AI with the safety of human approval. Claude handles classification, lookups and drafting, and your team spends seconds approving instead of minutes writing. Pair it with our WhatsApp AI sales chatbot to cover both channels.
Frequently Asked Questions
More in Use Cases
Audit Your Brand's AI Citation Gaps in ChatGPT and Perplexity with n8n
Track how often ChatGPT and Perplexity mention and cite your brand, see which competitor pages win the citations, and get a weekly content-gap backlog automatically.
Build a Personal AI Assistant on Telegram with n8n (Voice + Text, Gmail, Calendar, Tasks)
Meet Angie: a Telegram AI assistant built in n8n that reads your email, checks your calendar, lists your tasks and finds contacts, from a text or a voice note.
Build an AI Agent That Can Scrape Any Webpage with n8n (ReAct + Markdown)
Give your n8n AI agent the ability to read any webpage. This ReAct workflow fetches pages, strips the noise, converts HTML to Markdown and feeds clean content back to the agent.


