- Home
- Resources
- Integrations
- Embeddings Azure OpenAI
n8n Embeddings Azure OpenAI nodeConfigure Embeddings Azure OpenAI in n8n.
Every vector search starts with a model turning text into numbers. The n8n Embeddings Azure OpenAI node does that job through an Azure deployment, and exposes 5 options to control the model name, the batching, the text cleanup, the request timeout and the vector width. It is a sub-node, so it never runs alone.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Embeddings Azure OpenAI node actually do?
The node converts text into embeddings, meaning lists of numbers that place a sentence somewhere in a space where similar meanings sit close together. It calls a model deployment hosted on Azure OpenAI and hands the resulting vectors back to whatever root node asked for them, usually a vector store or a question answering chain. On its own it produces nothing: n8n only calls it when the node it is attached to needs text embedded.
The first scenario is the one most teams hit first: a knowledge base that has to stay current. A workflow pulls files from Google Drive, splits them, embeds each chunk through this node and writes the vectors into a store, which is exactly the shape of the published template 9174 built around a Simple Vector Store. When a document changes, the same run re-embeds it and the search index follows.
The second one is retrieval behind a chat surface. Template 6018 wires Slack to a Pinecone Vector Store with this node on the embeddings port, an AI Agent on top and an Auto-fixing Output Parser keeping the response structured. The question typed in Slack gets embedded by the same model that embedded the documents, which is what makes the comparison meaningful.
The third is a scheduled refresh of an internal catalog. Rows arrive from Google Sheets, the description column feeds the loader, and Batch Size decides how many of those rows travel in one request to Azure. Template 6020 follows that pattern for a Slack assistant.
When should you reach for something else? If your key is a plain OpenAI key rather than an Azure deployment, the OpenAI side of the ecosystem is the natural home. And if the task is generating an answer rather than measuring similarity, a chat model belongs on the root node, not this port: embeddings compare text, they do not write it.
Two limits are worth knowing before you build. Dimensions only applies to text-embedding-3 and later models, so an older deployment ignores the setting. And because this node has no main input, you cannot test it by clicking it alone; you run the root node and watch the embeddings port light up. Teams that want the whole pattern walked through end to end usually start with the n8n training.
What do you need before the node will run?
- 01
Open an Azure OpenAI deployment
The node talks to a model you have deployed on Azure OpenAI, not to a generic endpoint. Note the deployment name on the Azure side, because that exact string is what goes into Model (Deployment) Name later. Without a deployment there is nothing for the node to call, whatever the credential says.
- 02
Create the credential once in n8n
In n8n, a credential is a saved set of connection details that any workflow can reuse. Open the Credentials menu, create the Azure OpenAI entry and fill it from the official authentication page linked in the node documentation. Save it once and every embeddings node in every workflow can pick it from the dropdown.
- 03
Attach the node to a root node
Drag the node onto the canvas and connect it to the embeddings port of the node that needs vectors, a vector store or a chain. A port is the small socket under a root node that accepts one type of sub-node. Select your credential, then run the root node to see the first vectors come back.
Where does this node plug in?
n8n splits AI work between a root node, which receives the workflow items, and sub-nodes clipped onto its ports. This one is a sub-node with a single output port and no main input.
Output (what it plugs into)
- Embeddings
ai_embedding
01Embeddings
This is the socket the node hands its vectors to. A vector store or a chain asks for embeddings, and whichever embeddings sub-node sits on that port answers.
Key parameters
- Required: the root node cannot store or search vectors without an embeddings sub-node on this port.
What can you configure on the node?
The Embeddings Azure OpenAI node has 5 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Model (Deployment) Name
modelWhat you see in n8n
Notes & use cases
Picks which deployment generates the vectors. The value is the name of the model deployment to use, and it decides the shape and the behavior of everything downstream.
Key parameters
- Model (Deployment) Name: a text value, typed or taken from the item with an expression such as
{{ $json.model }}when a workflow serves several deployments.
Batch Size
options.batchSizeWhat you see in n8n
Notes & use cases
Sets the maximum number of documents sent in each request. Raise it and a long import finishes in fewer round trips; lower it and each call carries less.
Key parameters
- Batch Size: a number, the ceiling per request rather than a fixed size, so a short run simply sends what it has.
Strip New Lines
options.stripNewLinesWhat you see in n8n
Notes & use cases
Removes new line characters from the input text before it reaches the model. n8n turns this on by default, which suits most prose.
Key parameters
- Strip New Lines: a switch, on to strip the line breaks from the input text, off to leave them in place.
Timeout
options.timeoutWhat you see in n8n
Notes & use cases
Caps how long a single request is allowed to take, in seconds. Past that point the call stops instead of holding the execution open.
Key parameters
- Timeout: a number of seconds, or
-1for no timeout at all.
Dimensions
options.dimensionsWhat you see in n8n
Notes & use cases
Fixes how wide the resulting vectors are. Narrower vectors take less room in the store; wider ones keep more nuance.
Key parameters
- Dimensions: one of
256,512,1024,1536or3072, supported only in text-embedding-3 and later models.
Need help automating Embeddings Azure OpenAI with n8n?
A person reads every message.
Questions people ask next
01Is the Embeddings Azure OpenAI node included in n8n?
02What does the node need in order to work?
03What are the limits of the n8n Embeddings Azure OpenAI node?
04What do you plug in to get started?
05n8n or Make for this kind of workflow?
Get our weekly integration tips.
No spam. Unsubscribe anytime.


