# Draft Gmail replies to stock and visit inquiries with Claude Haiku

> 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 labeling each message for follow-up. How it works 1. Runs every 5 minutes on a schedule trigger. 2. Fetches up to 10 recent Gmail inbox messages sent to the configured inquiry address that are not already labeled as drafted or needing human review. 3. Processes emails one by one and uses Anthropic Claude to classify each message as a Stock inquiry, Store visit, or Other. 4. For stock inquiries, Claude extracts the product category from the email, the workflow looks up matching items in an n8n Data Table, and Claude drafts a reply using only the returned stock and pricing details. 5. For store-visit requests, Claude extracts the desired date/time from the email, the workflow looks up that day’s slots in an n8n Data Table, and Claude d

- **Domain**: `n8n-workflow-20458.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20458
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20458.n8n.io
- Documentation: https://n8n.io/workflows/20458
