Check schemas before writing ClickHouse SQL
Catch column and key mismatches before they turn into failed query cycles.
Trigger
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Action
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.
Why this helps
Query drafts often fail because the author lacks current schema details.
- Prevent avoidable SQL failures
- Give authors current column context
- Shorten review loops
Setup
Build it in a few focused steps.
- 1Connect Slackbot and ClickHouse in Notis once.
- 2Create the automation with a name and schema validation prompt.
- 3Describe how to identify the database and table from the proposed SQL.
- 4Pick Channel Message Received as the trigger.
- 5Choose where reports go and test with one real query draft.
Questions about this workflow
Does it execute the proposed SQL?
No. This workflow uses the table schema action to support validation before execution.
What if several tables are referenced?
Tell the automation to request clarification or review each named table one at a time.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Slackbot to ClickHouse. A trigger fires from one place; an action lands in another.
Slackbot 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 Channel Created Trigger
Triggered when a new channel is created in Slack.
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.
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
List ClickHouse Databases
List all databases in the clickhouse instance. useful for discovering available databases before querying tables.
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
List ClickHouse Tables
List tables in clickhouse databases. returns information about tables including their engine, size, and row count.
Message Reaction Added
Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.
Message Reaction Removed
Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.
Reaction Added Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.
Connect any two apps with Notis in the middle.
Slackbot 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.