Check a business total with one tap
Put a familiar KPI check behind a button, so a quick review takes one tap and one answer.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
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
Repeatedly opening reports for the same number creates friction and makes quick check-ins easy to skip.
- Make a frequent metric check easy to repeat.
- Keep routine number checks lightweight.
- Get a current answer from ClickHouse on demand.
Setup
Build it in a few focused steps.
- 1Connect Telegram and ClickHouse to Notis once in the portal.
- 2Create an automation in the portal or ask Notis to answer a selected KPI request when its Telegram button is tapped.
- 3Choose Callback Query Received as the trigger and select a channel for run reports.
- 4Test with the actual inline button and confirm the returned total is useful.
Questions about this workflow
What starts the workflow?
A user tapping an inline keyboard button attached to a Telegram bot message.
Can I use a different button for each metric?
You can describe the button request and intended outcome in the automation prompt, then test the interaction you want.
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.