WorkflowPostgreSQLOpen

RAG & GenAI App With WordPress Content

Triggered on a schedule. Connects Aggregate, Filter, HTTP request, Loop, Markdown, PostgreSQL, Respond To Webhook, Schedule. Workflow 1 : Initial Embedding Use this workflow to create the initial embedding for your WordPress website content Workflow 2 : Upsert Use this workflow to upsert embeddings for documents stored in the Supabase vector table Workflow 3 : Use this workflow to enable chat func

Front matter
name: RAG & GenAI App With WordPress Content
description: Triggered on a schedule. Connects Aggregate, Filter, HTTP request, Loop, Markdown, PostgreSQL, Respond To Webhook, Schedule. # Workflow 1 : Initial Embedding ## Use this workflow to create the initial embedding for your WordPress website content # Workflow 2 : Upsert ## Use this workflow to upsert embeddings for documents stored in the Supabase vector table # Workflow 3 : Use this workflow to enable chat functionality with your website content. The chat can be embedded into your website to enhance user experience ## Use filters to create embeddings only for content that you want to include in your GenAI applicatio
category: Automation
kind: Workflow
software: Aggregate|Filter|HTTP request|Loop|Markdown|PostgreSQL|Respond To Webhook|Schedule|Supabase|Switch|WordPress

RAG & GenAI App With WordPress Content

Triggered on a schedule. Connects Aggregate, Filter, HTTP request, Loop, Markdown, PostgreSQL, Respond To Webhook, Schedule. # Workflow 1 : Initial Embedding

Use this workflow to create the initial embedding for your WordPress website content

# Workflow 2 : Upsert

Use this workflow to upsert embeddings for documents stored in the Supabase vector table

# Workflow 3 : Use this workflow to enable chat functionality with your website content. The chat can be embedded into your website to enhance user experience ## Use filters to create embeddings only for content that you want to include in your GenAI applicatio

Steps

  • When clicking ‘Test workflow’ (manualTrigger)
  • Embeddings OpenAI (noOp)
  • Default Data Loader (noOp)
  • Token Splitter (noOp)
  • Embeddings OpenAI1 (noOp)
  • OpenAI Chat Model (noOp)
  • Postgres Chat Memory (noOp)
  • Respond to Webhook (respondToWebhook)
  • Set fields (set)
  • Embeddings OpenAI2 (noOp)
  • Default Data Loader1 (noOp)
  • Token Splitter1 (noOp)
  • Markdown1 (markdown)
  • Postgres (postgres)
  • Aggregate (aggregate)
  • Aggregate1 (aggregate)
  • Aggregate2 (aggregate)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Wordpress - Get all posts (wordpress)
  • Wordpress - Get all pages (wordpress)
  • Sticky Note3 (stickyNote)
  • Set fields1 (set)
  • Filter - Only published & unprotected content (filter)
  • HTML To Markdown (markdown)
  • Supabase - Store workflow execution (supabase)
  • Sticky Note4 (stickyNote)
  • Every 30 seconds (scheduleTrigger)
  • Sticky Note5 (stickyNote)
  • Wordpress - Get posts modified after last workflow execution (httpRequest)
  • Wordpress - Get posts modified after last workflow execution1 (httpRequest)
  • Set fields2 (set)
  • Filter - Only published and unprotected content (filter)
  • Loop Over Items (splitInBatches)
  • Set fields3 (set)
  • Set fields4 (set)
  • Store documents on Supabase (noOp)
  • Store workflow execution id and timestamptz (supabase)
  • Aggregate documents (aggregate)

Import

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

Source: https://github.com/Zie619/n8n-workflows/blob/main/Postgres/1752_Postgres_Wordpress_Automation_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.