Templates / Summarise reusable text blocks with Google Gemini from any workflow

Summarise reusable text blocks with Google Gemini from any workflow

Ready for 3.0

by Oka Hironobu ✓ · 5 views · created 2026-08-12 · Document Extraction, AI Summarization

Ready 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.

  1. Apply Defaults (Code): runs custom JavaScript code
  2. Has Text (If): checks a condition and branches into true / false
  3. Summarise with Gemini (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Summary Parser
  4. Return Empty Error (Code): runs custom JavaScript code
  5. Return Summary (Code): runs custom JavaScript code

Services it uses

Google Gemini Chat Model

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)

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…

Excerpt from Oka Hironobu's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.