AI Agents

OpenAI with RAG andWooCommerce

25 nodes 219 152 Automatic trigger
Download

Workflow Description

An advanced template combining OpenAI's large language model with retrieval-augmented generation (RAG) and WooCommerce integration, enabling you to build an intelligent agent that answers customer inquiries using local knowledge and interacts with your e-commerce store data.

How it works

  1. 1.Receive questions through chat triggers or external contact sources
  2. 2.Process text, split content, and search a vector store for relevant information
  3. 3.Call OpenAI with retrieved context and WooCommerce data to generate personalized responses
  4. 4.Store conversation logs and memory from previous interactions for continuous improvement

Use cases

  • Intelligent customer service agent that answers store questions from internal knowledge bases
  • Product analysis and personalized recommendations from WooCommerce based on customer inquiries
  • Automatic content generation and response publishing to Twitter/X and other channels

Requirements

  • Valid OpenAI API key with appropriate permissions
  • WooCommerce credentials and access to your online store
  • Documents or files in Google Drive to feed your knowledge base

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Chat Trigger Memory Tool OpenAI Vector Store Twitter/X Google Drive Document Default Data Loader Text Splitter AI Agent

Details

Trigger Automatic trigger
Nodes 25
Apps 10
Views 219
Downloads 152

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (25)

/

When chat message received

Chat Trigger

#1

Window Buffer Memory

Memory Buffer Window

#2

Calculator

Tool Calculator

#3

Edit Fields

Set

#4

OpenAI Chat Model

OpenAI

#5

RAG

Tool Vector Store

#6

Qdrant Vector Store

Vector Store Qdrant

#7

Embeddings OpenAI

OpenAI

#8

OpenAI Chat Model1

OpenAI

#9

personal_shopper

Woo Commerce Tool

#10

Information Extractor

Information Extractor

#11

OpenAI Chat Model2

OpenAI

#12

Google Drive2

Google Drive

#13

Google Drive1

Google Drive

#14

Embeddings OpenAI3

OpenAI

#15

Default Data Loader2

Document Default Data Loader

#16

Token Splitter1

Text Splitter Token Splitter

#17

When clicking ‘Test workflow’

Manual Trigger

#18

HTTP Request

HTTP Request

#19

Sticky Note

Sticky Note

#20

Qdrant Vector Store1

Vector Store Qdrant

#21

Sticky Note1

Sticky Note

#22

Sticky Note2

Sticky Note

#23

Sticky Note3

Sticky Note

#24

AI Agent

Agent

#25