AI-powered WooCommerce Support-Agent
Needs changesWhat this workflow does
This AI workflow has 31 nodes and runs when an HTTP GET request hits its webhook URL (plus 2 other triggers). Along the way it connects WooCommerce, DHL and OpenAI Chat Model. It also calls woo-pleasantly-swag-werewolf3.wpcomstaging.com over HTTP.
How it runs
Trigger: When an HTTP GET request hits its webhook URL (plus 2 other triggers).
- Respond to Webhook: sends the response back to the webhook caller
- Decrypt email address (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Mock Data (Edit Fields (Set)): sets 1 field: metadata.email
- WooCommerce: get many (customer)
- No email provided (Edit Fields (Set)): sets 1 field: response
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (WooCommerce_Tool); memory: Window Buffer Memory
- If: checks a condition and branches into true / false
- WooCommerce Get Orders (HTTP Request): calls woo-pleasantly-swag-werewolf3.wpcomstaging.com
- No customer found (Edit Fields (Set)): sets 1 field: response
…plus 15 more steps. See the full node list below.
Services it uses
HTTP calls to: woo-pleasantly-swag-werewolf3.wpcomstaging.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.4): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.4) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Rarely used nodes in this template: n8n-nodes-base.dhl
Nodes used (17)
- Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Split Out
n8n-nodes-base.splitOut - Aggregate
n8n-nodes-base.aggregate - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - WooCommerce
n8n-nodes-base.wooCommerce - HTTP Request
n8n-nodes-base.httpRequest - DHL
n8n-nodes-base.dhl - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Respond to Webhook
n8n-nodes-base.respondToWebhook - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
With this workflow you get a fully automated AI powered Support-Agent for your WooCommerce webshop. It allows customers to request information about things like: - the status of their order - the ordered products - shipping and billing address - current DHL…