Skip to content
Notis

Keep data answers aligned with message edits

A corrected request can trigger a fresh lookup, helping the team avoid acting on outdated context.

Trigger

Message Edited

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

Action

Execute ClickHouse Query

Execute a sql query in clickhouse and return the results. this is the primary action for querying data from clickhouse databases.

Why this helps

When a request changes after it is sent, the original answer can linger and cause confusion.

  • Use the latest wording as the request context.
  • Reduce confusion from stale data answers.
  • Keep corrections connected to their follow-up.

Setup

Build it in a few focused steps.

  • 1Connect Telegram and ClickHouse to Notis once in the portal.
  • 2Create an automation or ask Notis to refresh the relevant ClickHouse answer when a visible request is edited.
  • 3Select Message Edited as the trigger and choose a run-report channel.
  • 4Test by editing one message that contains a query request.

Questions about this workflow

Which edits can trigger it?

Edits to messages in chats that the Telegram bot can see.

Can it use the revised message?

Yes. Describe in the prompt that the edited request should guide the refreshed ClickHouse lookup.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Telegram triggers

ClickHouse actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Execute ClickHouse Query

Execute a sql query in clickhouse and return the results. this is the primary action for querying data from clickhouse databases.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Get Database Schema

Get comprehensive schema overview of an entire database including all tables and optionally their column definitions. essential for ai agents to understand the complete database structure in a single call.

ActionInstant

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

Get Table Schema

Get detailed schema information for a specific table including column definitions, types, keys, and optionally sample data. this is essential for ai agents to understand table structure before constructing queries.

ActionInstant

New Channel Post

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

TriggerInstant

List ClickHouse Databases

List all databases in the clickhouse instance. useful for discovering available databases before querying tables.

ActionInstant

Callback Query Received

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

TriggerInstant

List ClickHouse Tables

List tables in clickhouse databases. returns information about tables including their engine, size, and row count.

ActionInstant

Message Edited

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

TriggerInstant

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

Connect any two apps with Notis in the middle.

Telegram and ClickHouse, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business ClickHouse.