Gemini Structured Output
Force Gemini to return data in a specific JSON format. Define your output structure using a JSON Schema — the model guarantees its response matches it exactly.
The Gemini Structured Output node uses Google's Gemini models to return data that follows a schema you define, rather than free-form text. Describe the fields you expect and the node produces clean, structured JSON ready to use in your flow.
Gemini Structured Output
System MessageText
ContextText
Prompt*Text (multiline)
File UrlFile upload
Json Schema*JSON
ModelSelect
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| System Message | Text | Optional | Override the default system instructions for the LLM (e.g. 'You are a concise assistant that responds only in bullet points.'). |
| Context | Text | Optional | Dynamic data for the LLM to process (e.g. email body, document, user input). |
| Prompt | Text (multiline) | Required | Task instruction for the LLM (e.g. 'Extract the name and date from the text'). |
| File Url | File upload | Optional | Provide files or images for the LLM to analyze. |
| Json Schema | JSON | Required | JSON Schema defining the exact structure of the output. The model will always return valid JSON matching this schema. |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Model | Select | Gemini 3.1 Pro Preview |
Model options
| Option | Default |
|---|---|
| Gemini 2.5 Flash Preview | |
| Gemini 2.5 Pro Preview | |
| Gemini 3.1 Pro Preview | ✓ |
| Gemini 3 Flash Preview |
Output
Type: JSON (json)