Skip to main content

Automate n8n workflow documentation with Google Gemini AI and Telegram

Workflow preview

Workflow preview
100%
Automate n8n workflow documentation with Google Gemini AI and Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

AI Workflow Description and Template Generator This workflow automates the creation of professional documentation and template ready sticky notes for any n8n workflow using AI. How it works 1. Rece...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.if, n8n-nodes-base.extractfromfile

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Panth1823.

Original n8n.io source

1.1 Workflow description

Title
Automate n8n workflow documentation with Google Gemini AI and Telegram
Workflow name
Automate n8n workflow documentation with Google Gemini AI and Telegram

AI Workflow Description and Template Generator

This workflow automates the creation of professional documentation and template-ready sticky notes for any n8n workflow using AI.

How it works

  1. Receives an n8n workflow JSON file via Telegram
  2. Validates the input file type and extracts workflow data
  3. Scrubs sensitive information and analyzes workflow structure
  4. Uses Google Gemini AI to generate comprehensive documentation
  5. Assembles a complete template with main workflow sticky note and logical section stickies
  6. Sends back the documented workflow file, usage checklist, and setup guide via Telegram

Setup

  1. Configure Telegram Trigger credentials for receiving files
  2. Configure Telegram API credentials for sending messages
  3. Configure Google Gemini Chat Model (Google PaLM API) credentials

Customization

Adjust the prompt in the "AI Template Generator" node to modify documentation style, detail level, or specific requirements for your use case.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Main Sticky1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Telegram Trigger1

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.1

Block 3 - Get a file1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 4 - Scrub & Analyze Workflow

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 6 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 7 - Check Input Type1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 8 - Send a text message1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Extract from File1

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1.1

Block 10 - AI Template Generator1

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.4

Block 11 - Assemble Final Template1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Send Template File

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - Send Checklist1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 14 - Send Guide1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 15 - Input & Validation1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - AI Documentation Generation1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Template Assembly & Delivery1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate n8n workflow documentation with Google Gemini AI and Telegram
Complexity advanced
Nodes 17
Categories Document Extraction, AI Summarization
Author Panth1823
Published 03 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11467/11467.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate n8n workflow documentation with Google Gemini AI and Telegram do?

AI Workflow Description and Template Generator This workflow automates the creation of professional documentation and template ready sticky notes for any n8n workflow using AI. How it works 1. Rece...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.