Skip to main content

Export Wordpress to PineCone vector store

Workflow preview

Workflow preview
100%
Export Wordpress to PineCone vector store preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Click here to access this Workflow for free . Make your website the knowledge base of your LLM chatbot This wor...

Best for

  • Engineering automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.aggregate, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingsopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Export Wordpress to PineCone vector store
Workflow name
Export Wordpress to PineCone vector store

Click here to access this Workflow for free.


Make your website the knowledge base of your LLM chatbot

This workflow automatically syncs your WordPress content (Pages and Posts) into a vector database like Pinecone, making it searchable and usable by AI agents through embeddings. This allows your AI chatbot to stay continuously up to date with your latest site content — without manual uploads or retraining steps.

It pulls all published and private content via WordPress's REST API, processes the data into clean JSON, and sends it to Pinecone using vector embeddings (OpenAI by default, but swappable). This enables a dynamic AI knowledge base that grows with your website.

Best of all, you don’t need to modify your workflow: keep managing your content in WordPress — this automation takes care of the rest.


Requirements

  • A WordPress site with API access
  • Pinecone account credentials (API Key + Environment)
  • OpenAI account (or any LLM with embedding capabilities)
  • An n8n instance (cloud or self-hosted)

Setup

  1. Configure WordPress Access:

    • Create HTTP credentials in n8n with your WordPress site's base URL and authentication.
    • This workflow uses the REST API to fetch pages and posts.
  2. Connect Pinecone and OpenAI:

    • Set up credentials for both Pinecone and OpenAI in n8n's Credentials Manager.
    • The workflow automatically uses them in the relevant nodes.
  3. Set Your Schedule:

    • The workflow starts with a Schedule node. Open it to adjust how often the sync runs (e.g., daily, weekly).
  4. Check the Nodes:

    • Make sure your folder structure and API URLs match your WordPress setup.
    • Adjust filters if needed (only published and private content is fetched by default).

Usage

Once the workflow is active:

  • It runs on a defined schedule.
  • It fetches all WordPress Pages and Posts.
  • It converts them into structured JSON, including metadata (title, tags, URL, categories, etc.).
  • It generates embeddings (via OpenAI) and sends them to Pinecone.
  • All vectors are stored with rich metadata for easy use in search/chat-based AI tools.

You’ll have a continuously refreshed, vectorized copy of your WordPress site content.


Customization

  • Replace Pinecone: You can swap Pinecone for any other vector database by updating the vector node.
  • Swap Embedding Provider: You’re not limited to OpenAI — just replace the embedding step with your LLM of choice.
  • Selective Sync: If you want to sync only posts or only pages:
    • Delete the node that fetches the type you don’t want.
    • Remove the associated Merge node.
  • Schedule: Edit the first node to control how often the automation runs.

If you need any help, or have any question, feel free to come discuss about it on Telegram

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 - Pages-> clear JSON formatted for vector store insertion

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

Block 2 - Posts -> clear JSON formatted for vector store insertion

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

Block 3 - Tags-> JSON

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

Block 4 - Categories -> JSON

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

Block 5 - Schedule Trigger1

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

Block 6 - Sticky Note18

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

Block 7 - Sticky Note17

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

Block 8 - Sticky Note15

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

Block 9 - [WP] GET CATEGORIES

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

Block 10 - [WP] GET TAGS

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

Block 11 - Aggregate

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

Block 12 - Aggregate1

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

Block 13 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 14 - Aggregate2

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

Block 15 - Pinecone Vector Store

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

Block 16 - Embeddings OpenAI

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

Block 17 - Default Data Loader

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

Block 18 - Token Splitter

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

Block 19 - Merge1

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 20 - Sticky Note6

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

Block 21 - Sticky Note1

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

Block 22 - Site URL

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

Block 23 - Sticky Note

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

Block 24 - Sticky Note7

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

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

3. Summary Table

Workflow Export Wordpress to PineCone vector store
Complexity advanced
Nodes 32
Categories Engineering, AI RAG
Author Theo Marcadet
Published 15 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3557/3557.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 Export Wordpress to PineCone vector store do?

Click here to access this Workflow for free . Make your website the knowledge base of your LLM chatbot This wor...

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 Engineering, AI RAG use case.