Skip to main content

Conversational sales agent for WooCommerce with GPT-4, Stripe and CRM integration

Workflow preview

Workflow preview
100%
Conversational sales agent for WooCommerce with GPT-4, Stripe and CRM integration preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

What this workflow does This workflow transforms your n8n instance into a fully automated AI sales assistant for WooCommerce stores. It detects customer intent from chat, searches products, answ...

Best for

  • Lead Nurturing automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.informationextractor, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.vectorstoreqdrant

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Cong Nguyen.

Original n8n.io source

1.1 Workflow description

Title
Conversational sales agent for WooCommerce with GPT-4, Stripe and CRM integration
Workflow name
Conversational sales agent for WooCommerce with GPT-4, Stripe and CRM integration

📄 What this workflow does

This workflow transforms your n8n instance into a fully automated AI sales assistant for WooCommerce stores. It detects customer intent from chat, searches products, answers FAQs, generates Stripe payment links, captures leads into your CRM, and even escalates to human support when needed. It provides smooth conversational memory and syncs with your knowledge base to ensure accurate, human-like responses.

👤 Who is this for

  • WooCommerce store owners who want to automate customer support and sales.
  • Sales and marketing teams looking to scale personalized product recommendations.
  • E-commerce managers who want to reduce manual chat handling.
  • Anyone aiming to integrate AI assistants with payments, CRM, and FAQs.

✅ Requirements

  • WooCommerce account with API access.
  • Qdrant vector store (for FAQ and RAG retrieval).
  • OpenAI/Gemini API credentials (for intent detection + message generation).
  • Google Drive account (to sync and update knowledge base docs).
  • Stripe account (to generate instant payment links).
  • CRM account (HubSpot, Pipedrive, etc.) if lead capture is required.
  • Telegram account for optional human escalation.

⚙️ How to set up

  • Connect WooCommerce API credentials in n8n.
  • Configure Gemini/OpenAI API for intent extraction and chat generation.
  • Set up Qdrant for document retrieval, and link to your Google Drive Sales Docs folder.
  • Configure Stripe API to enable instant payment link generation.
  • Connect your CRM to capture new leads automatically.
  • Add Telegram bot credentials for human escalation (optional).
  • Enable conversational memory and test chat flows end-to-end.

🔁 How it works

  1. Intent Extraction → AI analyzes chat messages to detect Product Search, FAQ, Payment, or Lead Capture.
  2. Product Search → Queries WooCommerce catalog by keyword, SKU, or price range.
  3. FAQ Answering → Retrieves company policies/docs from Qdrant + Google Drive, answered via RAG.
  4. Payment Links → Stripe generates instant checkout links for customers ready to buy.
  5. Lead Capture → Name + email are auto-stored into CRM.
  6. Human Escalation → If intent is unclear, conversation is forwarded to Telegram.
  7. Conversational Memory → Maintains last 12 exchanges for natural dialogue.
  8. Knowledge Sync → Google Drive docs auto-update into Qdrant for live FAQ support.

💡 About Margin AI

Margin AI is an AI-services agency that acts as your AI Service Companion. We design intelligent, human-centric automation solutions—turning your team’s best practices into scalable workflows and tools. Industries like marketing, sales, and operations benefit from our tailored AI consulting, automation tools, and chatbot development.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 2 - When clicking 'Execute workflow'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 3 - Edit Fields1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Window Buffer Memory1

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 5 - Sales Info Extractor1

Type / Role
@n8n/n8n-nodes-langchain.informationExtractor - informationExtractor
Config choices
Version 1

Block 6 - OpenAI Chat Model (Extractor)1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 7 - Sales AI Agent1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.8

Block 8 - OpenAI Chat Model (Agent)1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 9 - Qdrant Vector Store (runtime)1

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreQdrant - vectorStoreQdrant
Config choices
Version 1

Block 10 - RAG_FAQ1

Type / Role
@n8n/n8n-nodes-langchain.toolVectorStore - toolVectorStore
Config choices
Version 1

Block 11 - Embeddings OpenAI (runtime)1

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.1

Block 12 - PRODUCT_SEARCH_WOO1

Type / Role
n8n-nodes-base.wooCommerceTool - wooCommerceTool
Config choices
Version 1

Block 13 - INVENTORY_DETAIL_WOO1

Type / Role
n8n-nodes-base.wooCommerceTool - wooCommerceTool
Config choices
Version 1

Block 14 - PAYMENT_LINK1

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2

Block 15 - CRM_LEAD1

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2

Block 16 - HUMAN_ESCALATION1

Type / Role
n8n-nodes-base.telegramTool - telegramTool
Config choices
Version 1.2

Block 17 - Qdrant Wipe1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Google Drive: List1

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 19 - Google Drive: Download1

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 20 - Default Data Loader1

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1

Block 21 - Token Splitter1

Type / Role
@n8n/n8n-nodes-langchain.textSplitterTokenSplitter - textSplitterTokenSplitter
Config choices
Version 1

Block 22 - Embeddings OpenAI (build)1

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.1

Block 23 - Qdrant Vector Store (insert)1

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreQdrant - vectorStoreQdrant
Config choices
Version 1

Block 24 - Google Gemini Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Showing the first 24 of 27 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Conversational sales agent for WooCommerce with GPT-4, Stripe and CRM integration
Complexity advanced
Nodes 27
Categories Lead Nurturing, AI Chatbot
Author Cong Nguyen
Published 29 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8011/8011.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Conversational sales agent for WooCommerce with GPT-4, Stripe and CRM integration do?

What this workflow does This workflow transforms your n8n instance into a fully automated AI sales assistant for WooCommerce stores. It detects customer intent from chat, searches products, answ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, AI Chatbot use case.