r/n8n•
dsahai

Creating an n8n chatbot that uses Open WebUI's Knowledge as a RAG tool

Question

Hi everyone,

I recently picked up n8n to build a chatbot for my website. I was able to build a simple AI Agent flow using:

  1. OpenRouter as my chat model
  2. Supabase for my Postgres memory, and
  3. Pinecone for my RAG tool

I uploaded all my data to Pinecone and got the AI to query and respond perfectly!

https://preview.redd.it/mwew3qprb07f1.png?width=863&format=png&auto=webp&s=732943bef6b4cc17b254cd1773b21909f38773dd

However, a free Pinecone account has its restrictions. Which got me thinking about Open WebUI.

I self-host my instance of Open WebUI and uploaded my data into its Knowledge section, and then created a model to use the Knowledge to answer questions. Again, it works perfectly within Open WebUI's own interface.

My question is: Is there anyway for me to connect this Knowledge/custom model to n8n, and replace Pinecone as my RAG tool? The goal being that when I ask a question in my n8n AI chat, it talks to Open WebUI instead of Pinecone?

Thanks in advance!

Posted Jun 15, 2025, 3:06 AM UTC

21
Loading comments…