n8n Sub-Workflow: Summarize Text with Google Gemini JSON
n8n Sub-Workflow: Summarize Text with Google Gemini JSON
Regular price
£50.99
Regular price
£50.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Sub-Workflow: Summarize Text with Google Gemini JSON
Regular price
£50.99
Regular price
£50.99
Sale price
Unit price
/
per
Summarize any text in n8n with Google Gemini—returns consistent JSON for automation
This n8n sub-workflow takes text from another workflow, sends it to Google Gemini for summarization, and returns a predictable JSON response with a plain-language summary, bullet points, tone, confidence, and clear error handling.
What this workflow does
- Receives input from a calling workflow: the text to summarize plus optional parameters for language, audience, and maxWords.
- Applies defaults when inputs are missing and calculates basic metadata (such as character count) for the calling workflow.
- Validates early: if no text is provided, it stops and returns a structured error response.
-
Summarizes with Google Gemini: sends the provided text and summarization instructions to the Gemini Chat Model to produce:
- a summary in the requested style
- 3–5 bullet points
- tone and confidence
- Parses and normalizes output into a consistent response object, including bulletText and metadata so downstream steps can reliably consume it.
Use cases
- Generate concise summaries of long articles, support tickets, or emails before posting to internal dashboards.
- Create consistent brief updates (summary + bullets) for SaaS customer communications or operational runbooks.
- Build n8n workflows that adapt summaries by language, audience, and maxWords without rewriting prompting logic.
- Implement robust error handling when upstream sources fail to provide text.
Technical details
- Uses Google Gemini (PaLM) via the Google Gemini Chat Model node with a configured API credential.
- Includes logic nodes such as if and code to handle defaults, validation, and JSON normalization.
- Designed as an Execute Workflow Trigger sub-workflow so other n8n workflows can call it and map inputs/outputs.
