Skip to content
MORNINGMETHOD
When chat message…Simple Memoryget_orderget_ordersget_userCalculatorWhen clicking ‘Te…Create collectionRefresh collectionGet folderDownload FilesDefault Data Load…Token SplitterQdrant Vector Sto…Embeddings OpenAI1Qdrant Vector Sto…Embeddings OpenAIOpenAI Chat ModelToSget_trackingWhen Executed by …Post-Sales Agenthuman_assistenceGet trackingSet tracking codeGPT 4o-mini
The workflow you get26 nodes
  • n8n
  • Woo Commerce
  • HTTP Request
  • Google Drive
  • Document Default Data Loader
  • Text Splitter Token Splitter, Vector Store, OpenAI, AI Agent, Telegram

WooCommerce AI Chatbot for Post-Sales Support

An AI answers customer questions about their WooCommerce orders.

Best for: Stores answering 'where is my order?'

$19.00Regular price $49.0061% off
  • Card or PayPal
  • Instant download
  • Setup guide included
Delivery
Download after payment
Format
n8n workflow + guide (ZIP)
Access
Re-download any time

Setup

What you need, and how to set it up

It starts when someone types in the chat box. No code needed. Follow the steps in order.

What you need

  • An n8n account

    The app that runs the automation.

    Free to self-host, or a free trial on n8n Cloud.

  • WooCommerceFree

    Lets n8n see orders in your WooCommerce shop.

    Get it: In WordPress, open WooCommerce › Settings › Advanced › REST API and add a key. Show me how to connect WooCommerce (opens n8n docs)

    Used by: get_order, get_orders, get_user

  • API key for a web service

    A secret password for the website this workflow talks to.

    Get it: Sign up on that service, find its API key page and copy the key. The node name tells you which service. Show me how to connect API key for a web service (opens n8n docs)

    Used by: Create collection, Refresh collection

  • Google DriveFree

    Lets n8n open and save files in your Drive.

    Get it: Click Sign in with Google inside n8n and say yes. On self-hosted n8n you first make a Google Cloud app (the link shows how). Show me how to connect Google Drive (opens n8n docs)

    Used by: Get folder, Download Files

  • QdrantFree tier available

    A memory box that helps the AI search your documents.

    Get it: Make a free cluster at cloud.qdrant.io and copy its URL and API key. Show me how to connect Qdrant (opens n8n docs)

    Used by: Qdrant Vector Store1, Qdrant Vector Store

  • OpenAI API keyPay as you go, usually a few cents a day

    A secret password that lets n8n use ChatGPT's brain.

    Get it: Go to platform.openai.com, open API keys, and click Create new secret key. Copy it. Show me how to connect OpenAI API key (opens n8n docs)

    Used by: Embeddings OpenAI1, Embeddings OpenAI, OpenAI Chat Model, GPT 4o-mini

  • Telegram botFree

    Your own chat robot on Telegram.

    Get it: In Telegram, message @BotFather, type /newbot, pick a name, and copy the token it gives you. Show me how to connect Telegram bot (opens n8n docs)

    Used by: human_assistence

  • Username and passwordFree

    A simple lock so only you can use this web address.

    Get it: Make up any username and password and type them in. Show me how to connect Username and password (opens n8n docs)

    Used by: Get tracking

Setup in 6 easy steps

  1. Step 1: Get n8n

    n8n is the app that runs your automation. Make a free account at n8n.io. That is the easy way. You can also put it on your own computer for free.

  2. Step 2: Download your file

    After you pay, open My downloads and download the ZIP. Double-click it to open it. Inside is a file called workflow.json.

  3. Step 3: Put it in n8n

    In n8n, click Create workflow. Click the three dots (⋯) at the top, then Import from file, and pick workflow.json. Now you see the same boxes as in the picture above.

  4. Step 4: Connect your accounts

    Some boxes show a little red triangle. That means they need a key. Click the box, click Create new credential, and paste the key from your list. Do this for each red box.

  5. Step 5: Try it once

    Click Open chat at the bottom and type hello. Green ticks on the boxes mean it worked.

  6. Step 6: Turn it on

    Click Save. Then flip the switch at the top from Inactive to Active. Now it works by itself, even while you sleep.

Stuck? Email support@morningmethod.co and we will help you.

Category: Automations › E-commerce & Orders · Best for: Stores answering 'where is my order?' · Platform: n8n · Steps: 26

What it does

An AI answers customer questions about their WooCommerce orders.

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

Works with: OpenAI, Memory Buffer Window, Tool Calculator, Tool Workflow, Embeddings OpenAI, Telegram, WooCommerce, Text Splitter Token Splitter, Agent, Vector Store Qdrant, Document Default Data Loader, Tool Vector Store, Google Drive

What you get

  • The n8n workflow file (workflow.json), ready to import
  • This setup guide
  • The list of fields to change for your own accounts (see Install below)
  • Email support if you get stuck

Before you start

  1. An n8n account. Easiest: n8n Cloud (free trial). Self-host for free with Docker: docker run -it --rm -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n, then open http://localhost:5678.

  2. Accounts and API keys for these services:

    • WooCommerce REST API keys: how to connect (used by get_order, get_orders, get_user)
    • API key sent as an HTTP header (see the node for which service): how to connect (used by Create collection, Refresh collection)
    • Google (Sheets, Gmail, Drive, Calendar, Docs): how to connect (used by Get folder, Download Files)
    • Qdrant vector database: how to connect (used by Qdrant Vector Store1, Qdrant Vector Store)
    • OpenAI API key: how to connect (used by Embeddings OpenAI1, Embeddings OpenAI, OpenAI Chat Model, GPT 4o-mini)
    • Telegram bot token from @BotFather: how to connect (used by human_assistence)
    • httpBasicAuth: how to connect (used by Get tracking)

Install

  1. In n8n, click Create workflow (top right).
  2. Click the ⋯ menu → Import from file and choose workflow.json. Or open the file, copy everything and paste it onto the empty canvas with Ctrl/Cmd + V.
  3. Open each node with a red warning triangle and pick or create the matching credential from the list above.
  4. Point these fields at your own sheets, chats and accounts:
    • human_assistence → chatId: choose your own
  5. Click Save.

Test it

  1. Click Test workflow (or Execute workflow). When clicking ‘Test workflow’ starts it. Trigger it once with real sample data.
  2. Click each node to check its output. A green tick means the step worked.
  3. Fix any red node: it's almost always a credential or a field that still points at a sheet or chat that isn't yours.

Go live

Toggle Active (top right). From now on it runs on its own. Check Executions in the left sidebar to see every run.

How it works, step by step

  1. When clicking ‘Test workflow’ starts the workflow (Manual).
  2. When chat message received starts the workflow (Chat).
  3. When Executed by Another Workflow starts the workflow (Execute Workflow).
  4. GPT 4o-mini uses AI (OpenAI).
  5. Simple Memory uses AI (Memory Buffer Window).
  6. Calculator uses AI (Tool Calculator).
  7. get_tracking uses AI (Tool Workflow).
  8. Embeddings OpenAI uses AI (Embeddings OpenAI).
  9. human_assistence uses Telegram.
  10. Embeddings OpenAI1 uses AI (Embeddings OpenAI).
  11. get_order uses WooCommerce to order get.
  12. Token Splitter uses AI (Text Splitter Token Splitter).
  13. OpenAI Chat Model uses AI (OpenAI).
  14. get_orders uses WooCommerce to order getAll.
  15. get_user uses WooCommerce to customer getAll.
  16. Create collection calls an external API (https://QDRANTURL/collections/COLLECTION).
  17. Refresh collection calls an external API (https://QDRANTURL/collections/COLLECTION/points/delete).
  18. Post-Sales Agent uses AI (Agent).
  19. Get tracking calls an external API (=https://URL/wp-json/wc/v3/orders/{{ $json.order_number }}).
  20. Qdrant Vector Store uses AI (Vector Store Qdrant).
  21. Qdrant Vector Store1 uses AI (Vector Store Qdrant).
  22. Default Data Loader uses AI (Document Default Data Loader).
  23. ToS uses AI (Tool Vector Store).
  24. Get folder uses Google Drive to fileFolder.
  25. Set tracking code reshapes the data for the next step.
  26. Download Files uses Google Drive to download.

India & US notes

India: if you take payments with Razorpay, swap the Stripe node for an HTTP Request to the Razorpay API, or use a Razorpay webhook as the trigger. US: Stripe and Shopify Payments work out of the box.

Extra setup notes

These notes are also on the canvas as yellow sticky notes:

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

  • Create a new workflow and change URL in the node "Http Request" with your WooCommerce shop url

WooCommerce AI Chatbot Workflow for Post-Sales Support

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. By connecting directly to the WooCommerce database, 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. This ensures maximum data security, preventing leaks of sensitive information.

Beyond order management, the chatbot answers frequently asked questions about return policies, delivery times, and terms of service using a vector database that provides accurate, context-aware responses. If a request is too complex, the system seamlessly escalates it to a human operator via Telegram, guaranteeing no customer query goes unresolved.

Troubleshooting

  • "Credentials not found": open the node and select your credential again.
  • Google "access blocked": in Google Cloud, add your email as a test user on the OAuth consent screen.
  • Webhook not firing: copy the node's Production URL (not Test URL) into the other app, and make sure the workflow is Active.
  • AI node errors: check your API key has billing enabled and the model name exists on your plan.
  • Nothing happens on schedule: the workflow must be Active, and self-hosted n8n must stay running.

Need help?

Reply to your Morning Method order email and we'll help you get it running.


© Morning Method

$19.00Regular price $49.0061% off
WooCommerce AI Chatbot for Post-Sales Support | n8n Automation | Morning Method