Summarise reusable text blocks with Google Gemini from any workflow
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 8 nodes and runs when another workflow calls it. Along the way it connects Google Gemini Chat Model.
How it runs
Trigger: When another workflow calls it.
- Apply Defaults (Code): runs custom JavaScript code
- Has Text (If): checks a condition and branches into true / false
- Summarise with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Summary Parser
- Return Empty Error (Code): runs custom JavaScript code
- Return Summary (Code): runs custom JavaScript code
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
Quick Overview This reusable sub-workflow is called from other n8n workflows to summarise provided text using Google Gemini, returning a consistent JSON response with a plain-language summary, key bullet points, tone, confidence, and error handling. How it…