FM
FlowMarket
AI Agents Advanced ⚡ 31 n8n Nodes

WooCommerce AI post sales chatbot with GPT 4o RAG Google Drive

This WooCommerce-integrated chatbot is designed to transform post-sales customer support by combining automation and artificial intelligence to deliver fast,...

🔌 Nodes & Integrations Used (12)

Chat Trigger Memory Buffer Window Woo Commerce Tool Tool Calculator HTTP Request Google Drive Document Default Data Loader Text Splitter Token Splitter Vector Store Qdrant Embeddings Open Ai Lm Chat Open Ai Tool Vector Store

📖 Implementation & Setup Guide

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 (`get_order`, `get_tracking`), it fetches order details and tracking information. 4. **Policy & Support**: The `ToS` tool answers shipping and policy questions, while `human_assistance` 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 `CHAT_ID` in the `human_assistance` 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:info@n3w.it) for consulting and support or add me on [Linkedin](https://www.linkedin.com/in/davideboizza/).

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save WooCommerce_AI_post_sales_chatbot_with_GPT_4o_RAG_Google_Drive.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →