Skip to content
Notis

Refresh Gemini output when a Telegram message is edited

When a sender edits a message, Gemini re-reads the corrected version and regenerates the summary or reply so nothing downstream stays out of date.

Trigger

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

Action

Generate Content (Gemini)

Generates text content from prompts using gemini models. supports various models like gemini flash and pro with configurable temperature, token limits, and safety settings for diverse text generation tasks.

Why this helps

Acting on a message that later gets corrected, then working from the outdated version by mistake.

  • Keeps your summaries and drafts aligned with the latest edit
  • Prevents acting on outdated message versions
  • Catches corrections you would otherwise miss

Setup

Build it in a few focused steps.

  • 1Connect Telegram and Gemini to Notis once in the portal.
  • 2Open Automations and click New Automation, or ask Notis in plain language.
  • 3Write the instruction: when a message is edited, have Gemini re-summarize the updated text.
  • 4Select the Message Edited trigger and choose the channel for run reports.
  • 5Edit a test message and confirm Gemini returns a refreshed output.

Questions about this workflow

Which edits trigger this?

The Message Edited event fires when a message the bot can see is edited by its sender.

Does it replace the old summary?

Notis delivers the fresh Gemini output to your channel so you can supersede the stale one.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Telegram to Gemini. A trigger fires from one place; an action lands in another.

Telegram triggers

Gemini actions

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

TriggerInstant

Count Tokens (Gemini)

Counts the number of tokens in text using gemini tokenization. useful for estimating costs, checking input limits, and optimizing prompts before making api calls.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

Download Video (Veo)

Downloads a generated veo video to local storage. takes the video uri from a completed operation and saves it to the specified file path.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

Embed Content (Gemini)

Generates text embeddings using gemini embedding models. converts text into numerical vectors for semantic search, similarity comparison, clustering, and classification tasks.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

Generate Content (Gemini)

Generates text content from prompts using gemini models. supports various models like gemini flash and pro with configurable temperature, token limits, and safety settings for diverse text generation tasks.

ActionInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

Generate Image (Gemini 2.5 Flash)

Generates images from text prompts using gemini 2.5 flash image preview model. supports creative image generation with customizable parameters like aspect ratio, safety settings, and optional file saving.

ActionInstant

Generate Videos (Veo)

Generates videos from text prompts using google's veo models. creates high-quality video content with customizable aspect ratios, duration, and style controls. returns operation id for tracking progress.

ActionInstant

Get Videos Operation (Veo)

Checks the status of a veo video generation operation. use the operation name from generatevideos to track progress and get the download url when complete.

ActionInstant

List Models (Gemini API)

Lists available gemini and veo models with their capabilities and limits. useful for discovering supported models and their features before making generation requests.

ActionInstant

Connect any two apps with Notis in the middle.

Not just Telegram and Gemini. Any combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7 days free trial with 20$ free usage included.
No card. Works with personal or business Gemini.