WorkflowGoogle DriveOpen

WooCommerce post-sales support AI chatbot n8n

This n8n workflow is an AI chatbot for WooCommerce after sales support that looks up a customer's orders and shipment tracking. It is for online shops that want routine questions such as where is my order answered automatically, with a person called in when needed.

What it does

The chat agent has memory, a calculator and WooCommerce tools to get an order, list orders and get a user. A Qdrant collection built from Google Drive documents answers policy questions, a tracking request reads codes from the YITH WooCommerce Order and Shipment Tracking plugin, and a human_assistance tool alerts staff on Telegram.

How to use it

Change QDRANTURL and COLLECTION in steps one and two, add your Telegram CHAT_ID to the human_assistance tool, and set the tracking workflow URL.

Requirements and limits

Tracking needs the YITH plugin; the free version works.

More in Google Drive and the n8n workflow library.

Full text

Front matter
name: WooCommerce AI Chatbot Workflow for Post-Sales Support
description: Triggered manually or by an app event. Connects Google Drive, HTTP request, Telegram Tool, Woo Commerce Tool. # STEP 1 ## Create Qdrant Collection Change: - QDRANTURL - COLLECTION # STEP 2 ## Documents vectorization with Qdrant and Google Drive Change: - QDRANTURL - COLLECTION # STEP 3 - Add your Telegram CHAT_ID in the "human_assistance" tool # STEP 4 The tracking code request is made through the most popular WooCommerce tracking plugin: "YITH WooCommerce Order & Shipment Tracking". The free version can be [downloaded here]({{ $env.WEBHOOK_URL }} - Create a new workflow and change URL in
category: Automation
kind: Workflow
software: Google Drive|HTTP request|Telegram Tool|Woo Commerce Tool

WooCommerce AI Chatbot Workflow for Post-Sales Support

Triggered manually or by an app event. Connects Google Drive, HTTP request, Telegram Tool, Woo Commerce Tool. # STEP 1

Create Qdrant Collection

Change:

  • QDRANTURL
  • COLLECTION # STEP 2

Documents vectorization with Qdrant and Google Drive

Change:

  • QDRANTURL
  • COLLECTION # STEP 3
  • Add your Telegram CHAT_ID in the "human_assistance" tool # STEP 4

The tracking code request is made through the most popular WooCommerce tracking plugin: "YITH WooCommerce Order & Shipment Tracking". The free version can be [downloaded here]({{ $env.WEBHOOK_URL }}

  • Create a new workflow and change URL in

Steps

  • When chat message received (noOp)
  • Simple Memory (noOp)
  • get_order (wooCommerceTool)
  • get_orders (wooCommerceTool)
  • get_user (wooCommerceTool)
  • Calculator (noOp)
  • When clicking ‘Test workflow’ (manualTrigger)
  • Create collection (httpRequest)
  • Refresh collection (httpRequest)
  • Get folder (googleDrive)
  • Download Files (googleDrive)
  • Default Data Loader (noOp)
  • Token Splitter (noOp)
  • Sticky Note3 (stickyNote)
  • Qdrant Vector Store1 (noOp)
  • Embeddings OpenAI1 (noOp)
  • Sticky Note5 (stickyNote)
  • Qdrant Vector Store (noOp)
  • Embeddings OpenAI (noOp)
  • OpenAI Chat Model (noOp)
  • ToS (noOp)
  • get_tracking (noOp)
  • When Executed by Another Workflow (executeWorkflowTrigger)
  • Post-Sales Agent (noOp)
  • human_assistence (telegramTool)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Get tracking (httpRequest)
  • Set tracking code (set)
  • GPT 4o-mini (noOp)
  • Sticky Note2 (stickyNote)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Telegramtool/1575_Telegramtool_Woocommercetool_Automate_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.