Skip to main content

Handle e-commerce support, orders and inventory with Claude, Shopify and Slack

Workflow preview

Workflow preview
100%
Handle e-commerce support, orders and inventory with Claude, Shopify and Slack preview
Open on n8n.io

1. Workflow Overview

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 que...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.switch, n8n-nodes-base.postgres, n8n-nodes-base.emailsend

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Handle e-commerce support, orders and inventory with Claude, Shopify and Slack
Workflow name
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

  1. Trigger — Listens for incoming customer support requests via Webhook (chat, email, or API)
  2. Fetch context — Retrieves live order status and inventory data from Shopify in parallel
  3. AI reasoning — Claude AI analyzes the query with full store context and decides action
  4. Route intent — Classifies into: Order Inquiry, Inventory Check, Refund Request, or General Support
  5. Act — Processes refunds, sends stock alerts, or responds to customer automatically
  6. Log & notify — Saves interaction to PostgreSQL and notifies team via Slack for escalations

Setup steps

  1. Shopify / WooCommerce — Add your store API credentials to the HTTP Request nodes
  2. Claude AI — Set your Anthropic API key in the AI node credentials
  3. PostgreSQL — Create a support_interactions table to log all AI-handled tickets
  4. Slack — Add your incoming webhook URL to the Slack notification node
  5. Email — Configure SMTP credentials for customer-facing response emails
  6. 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 + [email protected] 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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Receive customer support request

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 7 - Fetch order details from Shopify

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Fetch inventory levels from Shopify

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Merge order and inventory data

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 10 - AI agent analyzes query and classifies intent

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Route by customer intent

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 12 - Process refund via Shopify API

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Send low stock alert to team

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - Store interaction in PostgreSQL

Type / Role
n8n-nodes-base.postgres - postgres
Config choices
Version 2.5

Block 15 - Escalate complex cases to human agent

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Build final customer response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Email AI response to customer

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 18 - Post interaction summary to Slack

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Log success and track agent statistics

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - Send immediate webhook acknowledgement

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

3. Summary Table

Workflow Handle e-commerce support, orders and inventory with Claude, Shopify and Slack
Complexity advanced
Nodes 20
Categories Support Chatbot, AI Chatbot
Author Oneclick AI Squad
Published 22 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13594/13594.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Handle e-commerce support, orders and inventory with Claude, Shopify and Slack do?

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 que...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.