- Home
- Resources
- Integrations
- Embeddings Google Gemini
n8n Embeddings Google Gemini nodeConfigure Embeddings Google Gemini in n8n.
The n8n Embeddings Google Gemini node is a sub-node, so it never runs on its own. It hangs off the Embeddings port of a vector store and turns text into vectors, the numeric form AI uses to compare meaning. One parameter to set, Model, and one Google credential behind it.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Embeddings Google Gemini node do?
It generates embeddings for a given text using a Google Gemini model. An embedding is a vector, a long list of numbers that places a piece of text somewhere in meaning space, so a database can later find the passages closest to a question. This node produces those vectors and hands them to whatever root node it is wired to.
The node has no main input and no run button of its own. In n8n's AI model, a root node such as an AI Agent, a chain or a vector store receives the workflow items, and sub-nodes clip onto its ports: a chat model here, a memory there, an embeddings provider on the Embeddings port. This one only fills that last slot.
First scenario, indexing. A document arrives, a text splitter cuts it into passages, a Default Data Loader passes them through, and the vector store writes each passage with the vector this node returned. Second scenario, retrieval. The same vector store, in query mode, embeds the incoming question with the exact same Model value and compares it against what was stored. Third scenario, an agent that answers from your own documentation: the Vector Store Question Answer Tool sits on the agent's tool port, and the store behind it leans on these embeddings.
Two details decide whether the setup works. The Model value has to match between indexing and querying, because vectors produced by different models are not comparable. And the vectors already written to a store do not update themselves when you change that value later, so a switch means reindexing.
When to reach for something else: if the rest of your stack already runs on another provider, the OpenAI embeddings sub-node fills the same port and keeps the credential count down. This node is the right pick when the chat side of the workflow is already a Google Gemini Chat Model, since one Google credential then covers both. Google bills its own API calls under its own terms, n8n adds nothing on top.
Three published templates show the shape end to end: a RAG chatbot over Google Drive files with a Pinecone Vector Store (2753), a documentation bot on a Supabase Vector Store (5993), and the same idea on a Simple Vector Store (6137). If you want the honest take on the platform before committing, there is the n8n review, and the n8n training for the hands-on route.
How do you connect it to Google?
- 01
Create the Google AI credential
Open Credentials in n8n and create the Google AI credential the node's documentation points to. A credential in n8n is a saved set of secrets, stored once and referenced by name, so nothing sensitive ever sits in the workflow itself. Create it before you open the node and the dropdown will already have it.
- 02
Paste the API key from Google
The key comes from the Google side, not from n8n. Paste it into the credential form and save. Because this node only calls the embeddings endpoint, the same key can also serve a Google Gemini Chat Model in the same workflow: one credential, several sub-nodes, no duplicate secrets to rotate later.
- 03
Select the credential in the node
Drop the node on the canvas, pick the credential in the selector at the top of the panel, then choose the Model. Attach the node to the Embeddings port of the root node and the connection is done. The same credential is reusable in every other workflow on the instance, on n8n Cloud as well as on a self-hosted install.
Where does this node plug in?
A port is a labelled socket on a root node, and each type of sub-node fits exactly one of them. This node has no input port at all, only an output that fits the Embeddings socket.
Output (what it plugs into)
- Embeddings
ai_embedding
01Embeddings
This is the only connection the node has. The output of type ai_embedding is what a root node reads whenever it needs text turned into vectors, both when writing to the store and when searching it.
Key parameters
- Required: a vector store cannot store or search anything without an embeddings sub-node on this port.
2753, 5993 and 6137 each do exactly that, with a different store sitting behind the port.What is there to configure?
The Embeddings Google Gemini node has one parameter. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Model
modelNameWhat you see in n8n
Notes & use cases
The node exposes a single parameter: the model that will generate the embeddings. It is a dropdown, not a free text field, and it is not marked required, so the node carries a value out of the box and runs without you touching anything.
Key parameters
- Model: picks which Google Gemini model produces the vectors. Google's model list, linked from the parameter description, is the reference for what is available on your key.
Need help automating Embeddings Google Gemini with n8n?
A person reads every message.
Questions people ask next
01Is the Embeddings Google Gemini node included in n8n?
02What do you need to run the n8n Embeddings Google Gemini node?
03What are the limits of this node?
04What is the minimum to get started with it?
05n8n or Make for a RAG pipeline?
Get our weekly integration tips.
No spam. Unsubscribe anytime.


