Templates / AI-powered WooCommerce Support-Agent

AI-powered WooCommerce Support-Agent

Needs changes

by Jan Oberhauser ✓ · 20,648 views · created 2024-03-05 · Support Chatbot, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What 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).

  1. Respond to Webhook: sends the response back to the webhook caller
  2. Decrypt email address (Code): runs custom JavaScript code
  3. If: checks a condition and branches into true / false
  4. Mock Data (Edit Fields (Set)): sets 1 field: metadata.email
  5. WooCommerce: get many (customer)
  6. No email provided (Edit Fields (Set)): sets 1 field: response
  7. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (WooCommerce_Tool); memory: Window Buffer Memory
  8. If: checks a condition and branches into true / false
  9. WooCommerce Get Orders (HTTP Request): calls woo-pleasantly-swag-werewolf3.wpcomstaging.com
  10. No customer found (Edit Fields (Set)): sets 1 field: response

…plus 15 more steps. See the full node list below.

Services it uses

WooCommerceDHLOpenAI Chat Model

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.0Replace 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)

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…

Excerpt from Jan Oberhauser's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.