Handle e-commerce support, orders and inventory with Claude, Shopify and Slack
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Postgres.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Fetch order details from Shopify (HTTP Request): calls an HTTP API
- Fetch inventory levels from Shopify (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- AI agent analyzes query and classifies intent (Code): runs custom JavaScript code
- Route by customer intent (Switch): routes items into 3 branches
- Process refund via Shopify API (HTTP Request): calls an HTTP API (POST)
- Store interaction in PostgreSQL (Postgres): uses Postgres
- Escalate complex cases to human agent (HTTP Request): calls an HTTP API (POST)
- Send low stock alert to team (HTTP Request): calls an HTTP API (POST)
- Build final customer response (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
Services it uses
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 (8)
- Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Postgres
n8n-nodes-base.postgres - Send Email
n8n-nodes-base.emailSend - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
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…