Keep schema discovery aligned with corrections
If the requested database changes, refresh the overview using the latest message context.
Trigger
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
Action
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.
Why this helps
A typo or changed database name can leave a team looking at the wrong structure after a correction.
- Use corrected context for schema discovery.
- Reduce confusion from an outdated database overview.
- Keep the exploration trail aligned with the latest request.
Setup
Build it in a few focused steps.
- 1Connect Telegram and ClickHouse to Notis once in the portal.
- 2Create an automation to refresh a schema overview when a visible database request is edited.
- 3Pick Message Edited as the trigger and choose where run reports should go.
- 4Test by editing the database named in one schema request.
Questions about this workflow
What edits can start this workflow?
An edit to a message in a chat that the bot can see.
Can the request specify which database?
Include the database context in the edited message and describe the overview in the prompt.
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.
Execute ClickHouse Query
Execute a sql query in clickhouse and return the results. this is the primary action for querying data from clickhouse databases.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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.
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.
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.
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
List ClickHouse Databases
List all databases in the clickhouse instance. useful for discovering available databases before querying tables.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
List ClickHouse Tables
List tables in clickhouse databases. returns information about tables including their engine, size, and row count.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
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.