Back to Projects
SupabaseWordPressAI AgentsRAGn8n

AI Support & Content Agents on WordPress Docs

Turned existing WordPress documentation into a shared AI knowledge layer for support and content creation using n8n and Supabase.

Context

A small marketing product company had already invested in good documentation, tutorials and articles on their WordPress site, but their support team still spent a lot of time answering questions that were already covered there.

They wanted a lightweight way to turn this content into a helpful L2 support layer on their website, so common questions could be answered quickly while freeing the team to focus on real customer issues. At the same time, as a small team, they needed to produce new articles faster without adding more headcount.

Responsibilities

Shaped the solution from a vague idea into a concrete architecture using the existing WordPress content as the single knowledge source.
Designed and implemented n8n workflows to call the WordPress public APIs, extract documentation and articles, clean the data and prepare it for vector storage.
Set up Supabase as a vector store and stored embeddings so the agents can retrieve relevant content by meaning, not just by keywords.
Built and tuned AI agents in n8n grounded on the Supabase data, including a support chatbot for documentation and pricing questions and a separate agent for article draft generation.
Implemented recurring refresh workflows so new and updated WordPress content is regularly re‑ingested and vectorized to keep the knowledge base current.

Architecture

ETL n8n workflow
Support chatbot workflow
Article draft workflow

The solution uses WordPress as the source of truth, n8n as the orchestration and agent runtime, and Supabase as both database and vector store for semantic search over the documentation.

Scheduled n8n workflows call the WordPress REST API to fetch posts and pages, normalize and chunk the content, generate embeddings and upsert them into Supabase. When a user interacts with an agent, another workflow embeds the query, runs a vector search and passes the top matching snippets into the model to generate either support answers or article drafts.

Key components:

  • WordPress REST API for accessing existing documentation, tutorials and articles.
  • n8n workflows for extraction, transformation, embeddings and agent orchestration.
  • Supabase vector store for fast semantic retrieval across product and pricing content.

Key Decisions

The main design choices focused on reusing one knowledge base for different agents and keeping the solution simple enough for a small team to own.

  1. Use vector search on top of WordPress content: Instead of keyword search, I stored embeddings in Supabase so the agents can answer both documentation and pricing questions based on semantic similarity. This made the system more robust to how users phrase their questions.
  2. One shared knowledge base, two agents: I used the same vectorized content to power a customer facing support chatbot and a separate internal agent that generates draft articles, which increased the value of the initial integration work.
  3. n8n as the central orchestrator: n8n handles the full pipeline from data extraction to agent responses, which keeps the solution low‑code and easier to adjust without building a custom backend.
  4. Automated refresh instead of manual updates: Recurring workflows keep the embeddings aligned with the live WordPress site, so both agents always work on current documentation without extra maintenance from the team.

Outcomes

The public support chatbot did not go live due to changing priorities, but the internal article draft agent became part of the team’s content workflow and reduced the time needed to produce first drafts.

For a small company, this meant more hours each week available for improving the product itself instead of starting every article from a blank page. The project also left them with a reusable AI knowledge layer on top of their documentation that they can plug into future agents when they are ready.

RAG

Working L2 support chatbot grounded on existing docs and pricing content (kept ready for future launch).

Time saving

Faster article first drafts by reusing the same knowledge base through an internal agent.

Focus on main tasks

More time for the product team to focus on feature development and real support cases.

Single source of truth

Single vectorized knowledge layer that can power multiple agents with different prompts.

Additional benefits:

  • Demonstrated a complete RAG style architecture on top of an existing WordPress site.
  • Created a pattern the client can replicate for other products or content sets.
  • Showed how small teams can get practical value from AI agents without a large engineering investment.