Skip to main content

Daily digest generator for Telegram groups with Gemini 2.5 Flash

Workflow preview

Workflow preview
100%
Daily digest generator for Telegram groups with Gemini 2.5 Flash preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow acts as an AI assistant for your Telegram groups, automatically creating a "Daily Digest" of all conversations so you can catch up without scrolling through hundreds of messages. It's...

Best for

  • AI Summarization automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.telegram, n8n-nodes-base.httprequest, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Daily digest generator for Telegram groups with Gemini 2.5 Flash
Workflow name
Daily digest generator for Telegram groups with Gemini 2.5 Flash

This workflow acts as an AI assistant for your Telegram groups, automatically creating a "Daily Digest" of all conversations so you can catch up without scrolling through hundreds of messages.

It's perfect for community managers, project teams, or groups of friends who want to stay updated without the noise.

How it works

This workflow runs on a simple, high-level process:

  1. Fetches Messages: Once every 24 hours, it automatically fetches all new messages from any group your bot is a member of.
  2. Generates AI Summary: It sends the chat transcript to Google's Gemini 1.5 Flash AI, which intelligently creates a structured summary including key topics, shared links, and unanswered questions.
  3. Posts the Digest: The clean, formatted summary is posted back into the correct Telegram group for everyone to see.

For more detailed explanations of each specific node, please refer to the sticky notes included on the workflow canvas.

Set up steps

Setup should take about 5-10 minutes.

Prerequisites

  • Telegram Bot Token: You can get this by talking to the @BotFather on Telegram.
  • Google Gemini API Key: You can get a free API key from the Google AI Studio.

Configuration

  1. Add Credentials & Token
    • In the Get Telegram Updates node, paste your Telegram bot token into the URL.
    • In the Generate Summary with Gemini and Post Digest to Telegram nodes, select your Google Gemini and Telegram credentials from the dropdown menus.
  2. Configure Your Telegram Bot
    • Using @BotFather in Telegram, make sure Group Privacy Mode is turned OFF for your bot. This is required for the bot to read messages.
    • Add your bot as a member to any group you want it to summarize.
  3. Activate the Workflow
    • In the n8n editor, click the "Inactive" toggle at the top of the screen to set the workflow to Active.

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 - Filter & Format Messages

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

Block 2 - Generate Summary with Gemini

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

Block 3 - Post Digest to Telegram

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

Block 4 - Sanitize AI Output

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

Block 5 - Get Telegram Updates

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Run Daily

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

Block 7 - Sticky Note

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

Block 8 - Sticky Note1

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

Block 9 - Sticky Note2

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

Block 10 - Sticky Note3

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

Block 11 - Sticky Note4

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

Block 12 - Sticky Note5

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

Block 13 - Sticky Note6

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

3. Summary Table

Workflow Daily digest generator for Telegram groups with Gemini 2.5 Flash
Complexity intermediate
Nodes 13
Categories AI Summarization, Multimodal AI
Author Sarry
Published 05 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7002/7002.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 Daily digest generator for Telegram groups with Gemini 2.5 Flash do?

This workflow acts as an AI assistant for your Telegram groups, automatically creating a "Daily Digest" of all conversations so you can catch up without scrolling through hundreds of messages. It's...

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 AI Summarization, Multimodal AI use case.