# Answer Shopify support emails with Gmail, Shopify, Claude and Slack

> Quick overview Answer Shopify support emails from the order record, not from guesswork. Claude drafts each reply from the Shopify order and your store policies; your code decides whether it sends, waits as a Gmail draft for review, or goes to Slack. The model never refunds, cancels or picks the route. How it works 1. Polls Gmail every minute for unread emails in the Inbox. 2. Normalizes the sender, subject and message text (quoted replies stripped), finds an order reference like #1042 in the subject or body, and falls back to searching by the sender's email address when there isn't one. 3. Gets a fresh 24-hour token from your Shopify app, then makes one GraphQL Admin API call for the order's status, fulfillment, carrier, tracking, delivery estimate, line items and the email on the order. 4. Sends the email, the order record and your store facts to Claude (Anthropic Messages API) and gets back JSON that matches a fixed schema: intent, language, confidence, whether a person is needed, a 

- **Domain**: `n8n-workflow-20178.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/20178
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20178.n8n.io
- Documentation: https://n8n.io/workflows/20178
