Templates / WooCommerce AI post-sales chatbot with GPT-4o, RAG, Google Drive and Telegram

WooCommerce AI post-sales chatbot with GPT-4o, RAG, Google Drive and Telegram

Needs changes

by Davide Boizza ✓ · 3,962 views · created 2025-03-26 · 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 to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Post-Sales Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (18)

Simple MemoryWooCommerceCalculatorGoogle DriveDefault Data LoaderToken SplitterQdrant Vector StoreEmbeddings OpenAIOpenAI Chat ModelVector Store Question AnswerCall n8n WorkflowAI AgentTelegram

What it does

This WooCommerce-integrated chatbot is designed to transform post-sales customer support by combining automation and artificial intelligence to deliver fast, secure, and personalized assistance. The chatbot retrieves real-time order information, including shipping details and tracking numbers, after verifying the customer's identity through a strict email-based authentication system. Beyond order management, the chatbot answers frequently asked questions about return policies, delivery times, and terms of service using RAG. If a request is too complex, the system seamlessly escalates it to a human operator via Telegram, guaranteeing no customer query goes unresolved. --- Key Features of the Chatbot 1. Order Tracking: Retrieves real-time tracking information for WooCommerce orders, including carrier URLs and pickup dates. 2. Order Details Retrieval: Provides customers with past/current order information after strict email verification. 3. Policy & FAQ Assistance: Answers questions about shipping, returns, and store policies using a vectorized knowledge base (ToS tool). 4. Identity Verification: Ensures privacy by requiring exact email-order matches before sharing sensitive data. 5. Human Escalation: Transfers complex issues to human agents via Telegram when the AI cannot resolve them. 6. Context-Aware Conversations: Maintains dialogue context using memory buffers for seamless interactions. --- Who Benefits from This Chatbot? 1. E-commerce Stores: WooCommerce businesses needing 24/7 automated post-sales support. 2. Customer Support Teams: Reduces ticket volume by handling repetitive queries (tracking, policies). 3. SMBs: Small-to-medium businesses lacking resources for full-time support staff. 4. Customers: Shoppers who want instant, self-service access to order status and FAQs. --- How It Works 1. Customer Interaction: The workflow starts when a customer sends a chat message, triggering the AI agent. 2. Identity Verification: The agent requests the order number and associated email, strictly verifying the match before proceeding. 3. Order & Tracking Retrieval: Using WooCommerce API tools (getorder, gettracking), it fetches order details and tracking information. 4. Policy & Support: The ToS tool answers shipping and policy questions, while humanassistance escalates unresolved issues to a human agent via Telegram. 5. Memory & Context: A buffer memory retains conversation context for coherent interactions. --- Set Up Steps 1. Configure Qdrant Vector Store: Replace QDRANTURL and COLLECTION in the nodes to set up document storage. 2. Add Telegram Chat ID: Insert your Telegram CHATID in the humanassistance node for escalations. 3. Integrate WooCommerce Tracking Plugin: Install the YITH WooCommerce Order Tracking plugin and update the HTTP request URL in the tracking node. 4. Test & Activate: Verify the workflow by testing order queries and ensuring proper email verification. --- Need help customizing? Contact me(mailto:[email protected]) for consulting and support or add me on Linkedin.

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.