- Home
- Resources
- Integrations
- Supabase Vector Store
n8n Supabase Vector Store nodeConfigure Supabase Vector Store in n8n.
A vector store searches by meaning, not by keyword. The n8n Supabase Vector Store node works against a table in your own Supabase project, with 2 parameters and 5 operation modes covering insert, search, update and agent retrieval. For teams building retrieval on a database they already run.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Supabase Vector Store node do?
The node reads and writes a Supabase table that holds vectors, meaning numeric representations of your text that let a search return passages close in sense to a question rather than passages containing the same words. It sits in a workflow either as a regular action node, running once per incoming item, or as a resource an AI model can query. One parameter picks the behavior, the other picks the table.
Scenario one, a support knowledge base that answers from your own docs. A workflow pulls help articles, splits them, and runs the node in insert mode against a Supabase table. A second workflow runs the same node in load mode with a Prompt and a Limit, and returns the ten closest passages to whatever a customer typed. Nothing leaves the Supabase project you already pay for.
Scenario two, a chatbot that decides for itself when to look something up. Here the node runs in retrieve-as-tool mode and plugs straight into the tools connector of an AI Agent. The Name and Description you write become what the model reads before choosing the tool, so a vague description is the most common reason an agent ignores a perfectly good knowledge base. The same pattern shows up in the published template 2621, where the agent chats with files stored in Supabase.
Scenario three, keeping stored documents accurate. A price list or a policy page changes, and the old passage is still sitting in the table ready to be retrieved. The update mode takes the ID of an existing embedding entry and replaces it, which is the difference between a store that ages well and one that quietly answers with last year's terms.
When to reach for something else. If the question is plain lookup by a known key, a row in a table, a record id, then a regular database query is faster and cheaper than a similarity search, and the node is the wrong tool. If a chain only needs documents handed to it, the retrieve mode feeds a retriever instead of an agent. And if you want summarized answers rather than raw passages, the Vector Store Question Answer Tool sits between the agent and this node.
The limits worth knowing before you build. The node covers 5 modes and no more, so anything else on the table, deleting rows or reindexing, happens on the Supabase side. It has no sub-node ports of its own, so the embedding model that turns text into vectors is chosen elsewhere in the workflow, with a credential from a provider such as OpenAI or Google Gemini, billed by that provider. The table also has to exist first, created from the Supabase vector store quickstart, along with the matching function the node calls. If you would rather see how this fits a full stack before writing anything, the n8n review and the n8n training cover the surrounding pieces.
How do you connect Supabase to n8n?
- 01
Enable the Data API and copy the project URL
The credential talks to your project through the Supabase Data API, which has to be switched on. In the Supabase dashboard, open the project you want n8n to reach, go to Integrations then Data API, and copy the Project URL shown there. That value goes into the n8n Host field. This is also the screen that tells you whether the Data API is enabled at all, so it is worth checking before blaming the key.
- 02
Create a secret key
Still in Supabase, open Project Settings then API Keys. Create a secret key, or reveal an existing one, and keep it somewhere you can paste from. This is the value n8n stores as Secret Key. Credentials that still use a legacy service_role secret keep working for now, but Supabase is phasing legacy API keys out and they stop working at the end of 2026, so a new secret key is the safer thing to create today.
- 03
Save the credential in n8n
In n8n, open Credentials, create a Supabase credential, and paste the Host and the Secret Key. A credential is saved once and reused by every workflow on that instance, so the same entry serves both this node and the regular Supabase node. Save it, then open the vector store node and pick your table: once the credential answers, the table list fills itself in and you stop typing names by hand.
Which parameters does the node ask for?
The Supabase Vector Store node has 2 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Operation Mode
modeWhat you see in n8n
Notes & use cases
This selector decides everything the node does. Set it first, because the fields below change with it.
Key parameters
- Operation Mode:
insertwrites documents,loadreturns ranked documents,retrievefeeds a chain,retrieve-as-toolexposes the store to an agent,updatereplaces a document by ID. - Name and Description: required in tool mode, read by the model before it picks the tool.
- Prompt, Limit, Include Metadata, Rerank Results: the search side, Prompt often
{{ $json.question }}. - ID: required in update mode.
- Options: holds Query Name,
match_documentsafter the quickstart, and Metadata Filter.
insert to fill the store, another on load to answer from it.Table Name
tableNameWhat you see in n8n
Notes & use cases
Every mode writes to or reads from one table, and this is where you name it. The table has to exist in Supabase before the node runs, with the vector column and the matching function from the quickstart.
Key parameters
- Table Name: required, and a resource locator, meaning n8n offers you a picker once the credential works, and accepts a typed value or an expression such as
{{ $json.table }}when the table changes per item.
Need help automating Supabase Vector Store with n8n?
A person reads every message.
Questions people ask next
01Is the n8n Supabase Vector Store node free to use?
02What credentials does the node need?
03What are the limits of this node?
04What do you need to connect for it to work?
05n8n or Make for a vector store workflow?
Get our weekly integration tips.
No spam. Unsubscribe anytime.

