Check the ClickHouse schema before query planning
Confirm table columns and types before turning a Slack question into SQL.
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
Writing SQL from memory can lead to avoidable errors and another round of debugging.
- Grounds query planning in the real table definition.
- Reduces back-and-forth caused by guessed field names.
- Helps teams move from a question to a valid query faster.
Setup
Build it in a few focused steps.
- 1Connect Slack and ClickHouse to Notis once through the portal.
- 2Create a new automation in the portal, or describe the goal to Notis conversationally.
- 3Write one instruction asking Notis to retrieve and summarize a named table's ClickHouse schema when a channel requests query-planning help.
- 4Choose Channel Message Received as the trigger and select a channel for run reports.
- 5Test with a real query-planning message that names a table.
Questions about this workflow
Will this compose or run the SQL?
This version checks the schema and summarizes it. Use a separate query workflow when a clear request should run SQL.
What if the user has not named a table?
Ask Notis to request the missing table name rather than choose one without evidence.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Slack to ClickHouse. A trigger fires from one place; an action lands in another.
Slack 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.
Slack 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.