- Home
- Resources
- Integrations
- Google Vertex Chat Model
n8n Google Vertex Chat Model nodeConfigure Google Vertex Chat Model in n8n.
The n8n Google Vertex Chat Model node is the part that actually talks to Google's models. It is a sub-node, meaning it never runs on its own: it clips onto the Model port of a root node such as an AI Agent. Eight parameters, from Project ID to Thinking Budget, decide what comes back.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Google Vertex Chat Model node do?
It gives a root node its brain. In n8n, an AI Agent or a chain handles the workflow logic, but it produces nothing until a chat model is attached to it, a chat model being the component that turns a prompt into text. This node is that component, backed by Google Vertex AI. You pick a Google Cloud project, name a model, and adjust how the answer is generated.
First setup, support triage. An AI Agent reads incoming messages pulled from Gmail, decides which team owns each one, and drafts a reply. The agent holds the instructions, this node holds the model: set Model Name to a fast Gemini model and the whole loop stays cheap enough to run on every message.
Second setup, structured extraction. A Basic LLM Chain reads a free-text form answer and returns clean fields, which a later node writes into Google Sheets. Here Sampling Temperature matters more than the model: push it toward zero and the same input gives the same columns run after run.
Third setup, a daily digest. A chain summarizes yesterday's tickets and posts the result to Slack. Maximum Number of Tokens is the lever that keeps the digest readable instead of a wall of text, since it caps how long the completion can get.
When to pick something else. If the account already runs on an OpenAI key, the OpenAI chat model plugs into the exact same port with one credential less to manage. Vertex earns its place when the data already sits in Google Cloud and the project, quotas and billing are meant to stay there. Both are sub-nodes, so swapping one for the other is a matter of dragging a different box onto the Model port.
Known limits. This node exposes the parameters listed by the catalogue at node version 1 and nothing more: project, model, four sampling controls, safety filters and a thinking budget. It has no main input, so it never appears in the middle of a workflow line. And the model provider bills its own API calls under its own terms, whatever n8n does around it. That last point is also worth weighing in the n8n review before standardizing a stack on it.
What do you connect before the node answers?
- 01
Open the Google Cloud project
The node asks for a Project ID, so the Vertex AI side has to exist first. Whoever owns the Google Cloud account picks the project that will carry the model calls and their billing. That identifier is what n8n sends with every request, and it is the value you will select or type in the first parameter of the node.
- 02
Create the credential in n8n
Authentication goes through a Google service account credential, as pointed out by the node documentation. In n8n, open the Credentials menu, create it once, fill in the service account details, and save. The credential is stored at account level, so every workflow that needs a Vertex model reuses it instead of asking for keys again.
- 03
Attach the node to a root node
Drag the node onto the canvas and connect it to the Model port of an AI Agent, a chain or another root node. Once the credential is selected, the Project ID list loads from the Google Cloud account, which is the fastest way to check the connection works. Then set Model Name and run the parent node once.
Where does this node plug in?
n8n splits AI work in two: a root node receives the workflow items and drives the logic, and sub-nodes clip onto its ports to supply a model, a memory or a tool. This node only ever fills the model slot.
Output (what it plugs into)
- Model
ai_languageModel
01Model
This is the single port the node exposes, and it is an output: the connection runs from the chat model up into the node that will use it.
Key parameters
- Required: a root node with a Model port produces no text until something fills it, so the wire is not optional.
- AI Agent: takes it when the workflow needs decisions and tool calls, and so does the AI Agent Tool variant.
- Basic LLM Chain: takes it for a single pass over a prompt, like Question and Answer Chain over a document.
- Auto-fixing Output Parser: accepts one too, using the model a second time to repair malformed output.
What does each parameter change?
The Google Vertex Chat Model node has 8 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Project ID
projectIdWhat you see in n8n
Notes & use cases
Names the Google Cloud project the calls are charged and routed to. It is the only required parameter of the node, and nothing runs while it is empty.
Key parameters
- Project ID: select or enter your Google Cloud project ID. n8n loads the list of projects from the connected Google Cloud account, and manual entry stays available when the list is long or the account holds many projects.
Model Name
modelNameWhat you see in n8n
Notes & use cases
Says which model generates the completion. Change this one line and the same agent suddenly answers faster, or thinks harder.
Key parameters
- Model Name: the model which will generate the completion, entered as a string, for example
gemini-1.5-flash-001orgemini-1.5-pro-001. Google's model list is the reference for what the project can call.
Maximum Number of Tokens
options.maxOutputTokensWhat you see in n8n
Notes & use cases
Caps the completion length. A token is roughly a word fragment, so this is the ceiling on how much text comes back, not on what goes in.
Key parameters
- Maximum Number of Tokens: the maximum number of tokens to generate in the completion. Leave it alone for open-ended drafting, lower it when the answer feeds a field with a size limit.
Sampling Temperature
options.temperatureWhat you see in n8n
Notes & use cases
Decides how adventurous the model is when choosing its next word. Lower means less random completions, and as the temperature approaches zero the model becomes deterministic and repetitive.
Key parameters
- Sampling Temperature: controls randomness. Higher values create more diverse sampling but increase the risk of hallucinations, where the model states something confidently wrong.
Top K
options.topKWhat you see in n8n
Notes & use cases
Trims the pool of candidate tokens before the model picks one, which removes the long tail of low probability responses.
Key parameters
- Top K: the number of token choices the model uses to generate the next token. It defaults to
-1, which disables it entirely, so the parameter does nothing until a value is set.
Top P
options.topPWhat you see in n8n
Notes & use cases
Another way to narrow the same pool, this time by probability mass rather than by count. It is called nucleus sampling.
Key parameters
- Top P: controls diversity via nucleus sampling, where 0.5 means half of all likelihood-weighted options are considered. The general recommendation is to alter this or the temperature, but not both.
Safety Settings
options.safetySettingsWhat you see in n8n
Notes & use cases
Adjusts the filters Google applies to the generated content. The parameter is a collection: click Add Option and each entry pairs a category with a threshold.
Key parameters
- Safety Category: the category of harmful content to block, among
HARM_CATEGORY_HARASSMENT,HARM_CATEGORY_HATE_SPEECH,HARM_CATEGORY_SEXUALLY_EXPLICITandHARM_CATEGORY_DANGEROUS_CONTENT. - Safety Threshold: the threshold of harmful content to block, from
BLOCK_LOW_AND_ABOVEdown toBLOCK_ONLY_HIGH, withBLOCK_NONEallowing all content andHARM_BLOCK_THRESHOLD_UNSPECIFIEDleaving it unspecified.
Thinking Budget
options.thinkingBudgetWhat you see in n8n
Notes & use cases
Governs how much internal reasoning a thinking model is allowed before it answers. Those reasoning tokens are counted like any other.
Key parameters
- Thinking Budget: set it to
0to disable automatic thinking, to-1for dynamic thinking, and leave it empty for auto mode. It only bites on models that support thinking.
Need help automating Google Vertex Chat Model with n8n?
A person reads every message.
Questions that come up next
01Is the Google Vertex Chat Model node included in n8n?
02What do you need to make it work?
03What are the limits of the n8n Google Vertex Chat Model node?
04What should you connect at minimum, and which root node to start with?
05n8n or Make for this use case?
Get our weekly integration tips.
No spam. Unsubscribe anytime.


