Automate n8n Workflow Documentation with Google Gemini AI and Telegram

Go to Workflow
0 views
Built by Panth1823 Panth1823
Created on June 12, 2026

Description

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
Receives an n8n workflow JSON file via Telegram
Validates the input file type and extracts workflow data
Scrubs sensitive information and analyzes workflow structure
Uses Google Gemini AI to generate comprehensive documentation
Assembles a complete template with main workflow sticky note and logical section stickies
Sends back the documented workflow file, usage checklist, and setup guide via Telegram

Setup
Configure Telegram Trigger credentials for receiving files
Configure Telegram API credentials for sending messages
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.

Nodes Used (5)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Telegram
n8n-nodes-base.telegram