Handle e-commerce support, orders and inventory with Claude, Shopify and Slack
Creates an AI-powered sales and support agent connected to live store data from Shopify/WooCommerce. MCP ensures controlled access to inventory and order systems. Automatically handles customer queries, stock alerts, and refund logic to reduce manual workload.
How it works
Trigger — Listens for incoming customer support requests via Webhook (chat, email, or API) Fetch context — Retrieves live order status and inventory data from Shopify in parallel AI reasoning — Claude AI analyzes the query with full store context and decides action Route intent — Classifies into: Order Inquiry, Inventory Check, Refund Request, or General Support Act — Processes refunds, sends stock alerts, or responds to customer automatically Log & notify — Saves interaction to PostgreSQL and notifies team via Slack for escalations
Setup steps
Shopify / WooCommerce — Add your store API credentials to the HTTP Request nodes Claude AI — Set your Anthropic API key in the AI node credentials PostgreSQL — Create a support_interactions table to log all AI-handled tickets Slack — Add your incoming webhook URL to the Slack notification node Email — Configure SMTP credentials for customer-facing response emails Test — Send a test webhook payload, verify all branches, then activate
Intent branches the AI handles:
ORDER_INQUIRY → Tracks shipment, shows order details REFUND_REQUEST → Auto-processes eligible refunds via Shopify API INVENTORY_CHECK → Detects low-stock (≤5 units) and fires Slack alert PRICING_INQUIRY / GENERAL_SUPPORT → Smart contextual response
Before activating, update these placeholders:
YOUR-STORE.myshopify.com + YOUR_SHOPIFY_ACCESS_TOKEN YOUR_SLACK_WEBHOOK_URL (appears in 3 nodes) SMTP credentials + support@yourstore.com PostgreSQL credentials (create a support_interactions table)
Explore More LinkedIn & Social Automation:
Contact us to design AI-powered lead nurturing, content engagement, and multi-platform reply workflows tailored to your growth strategy.
Related Templates
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments