RAG & GenAI App With WordPress Content

Workflow 1 : Initial Embedding Use this workflow to create the initial embedding for your WordPress website content

Workflow Structure (45 nodes)
100%
Manual Trigger
When clicking ‘Test workflow’
Wordpress
Wordpress - Get all posts
Wordpress
Wordpress - Get all pages
Merge
Merge Wordpress Posts and Pages
Set
Set fields1
Filter
Filter - Only published & unprotected content
Langchain.embeddings Open Ai
Embeddings OpenAI
Markdown
HTML To Markdown
Langchain.document Default Data Loader
Default Data Loader
Langchain.vector Store Supabase
Supabase Vector Store
Aggregate
Aggregate
Supabase
Supabase - Store workflow execution
Schedule Trigger
Every 30 seconds
Postgres
Postgres
Http Request
Wordpress - Get posts modified after last workflow execution
Http Request
Wordpress - Get posts modified after last workflow execution1
Merge
Merge retrieved WordPress posts and pages
Set
Set fields2
Filter
Filter - Only published and unprotected content
Split In Batches
Loop Over Items
Markdown
Markdown1
Postgres
Postgres - Filter on existing documents
Langchain.vector Store Supabase
Store documents on Supabase
Langchain.embeddings Open Ai
Embeddings OpenAI2
Langchain.document Default Data Loader
Default Data Loader1
Langchain.text Splitter Token Splitter
Token Splitter1
Switch
Switch
Set
Set fields4
Aggregate
Aggregate1
Supabase
Supabase - Delete row if documents exists
Supabase
Store workflow execution id and timestamptz
Aggregate
Aggregate2
Set
Set fields3
Postgres
Postgres - Create documents table
Langchain.chat Trigger
When chat message received
Postgres
Postgres - Create workflow execution history table
Langchain.vector Store Supabase
Supabase - Retrieve documents from chatinput
Langchain.embeddings Open Ai
Embeddings OpenAI1
Aggregate
Aggregate documents
Set
Set fields
Langchain.agent
AI Agent
Langchain.lm Chat Open Ai
OpenAI Chat Model
Langchain.text Splitter Token Splitter
Token Splitter
Langchain.memory Postgres Chat
Postgres Chat Memory
Respond To Webhook
Respond to Webhook
Node Types:
trigger
default
logic
action
transform
http
Requires credentials

Prerequisites

No credentials required!

This workflow can be imported and used immediately.

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~25 min
Score: 60/100
Conditional Logic
Loops
10 Integrations

When to Use This Workflow

Scheduled Operations

Run automated tasks at specific times - daily reports, weekly cleanups, monthly backups.

Set it and forget it - reliable automation that runs on your schedule.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "o8iTqIh2sVvnuWz5",
  "meta": {
    "instanceId": "b9faf72fe0d7c3be94b3ebff0778790b50b135c336412d28fd4fca2cbbf8d1f5"
  },
  "name": "RAG & GenAI App With WordPress Content",
  "tags": [],
  "nodes": [
    {
      "id": "c3738490-ed39-4774-b337-bf5ee99d0c72",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        500,
        940
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
...

Workflow Details

Nodes
53
Trigger
Webhook
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

RAG on living data

Switch trigger (optional) If you are on the cloud plan, consider switching to the Notion Trigger Node instead, to save o...

Embeddingsopenai
Textsplittertokensplitter
Chainretrievalqa
Retrievervectorstore
34 nodesEvent
Curated

AI Agent To Chat With Files In Supabase Storage

Replace Storage name, database ID and credentials.

Http-request
Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
Embeddingsopenai
33 nodesEvent
Curated

Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI

Tool, calling Qdrant's recommendation API based on user's request, transformed by AI agent

Github
Embeddingsopenai
Documentdefaultdataloader
Textsplittertokensplitter
27 nodesEvent
Curated

OpenAI Personal Shopper with RAG and WooCommerce

Replace the URL and Collection name with your own

Chat
Memorybufferwindow
Toolcalculator
Lmchatopenai
25 nodesEvent
Curated

Voice RAG Chatbot with ElevenLabs and OpenAI

STEP 4 RAG System Click on "test workflow" on n8n and "Test AI agent" on ElevenLabs. If everything is configured correc...

Agent
Toolvectorstore
Vectorstoreqdrant
Embeddingsopenai
23 nodesWebhook
Curated

Business WhatsApp AI RAG Chatbot

STEP 4 RAG System Respond webhook receives various POST Requests from Meta regarding WhatsApp messages (user messages...

Agent
Lmchatopenai
Vectorstoreqdrant
Http-request
24 nodesWebhook
Curated