Check a metric from a private Slack DM
Get a quick data check privately, without turning every question into a channel thread.
Trigger
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
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
Some questions are easier to ask privately, but still require the same time-consuming switch to analytics tools.
- Lets a founder ask a quick question without starting a public thread.
- Keeps the answer near the original request.
- Can include a timeframe and caveat to reduce follow-up clarification.
Setup
Build it in a few focused steps.
- 1Connect Slack and ClickHouse to Notis once through the portal.
- 2Create an automation in the portal, or tell Notis the intended outcome conversationally.
- 3Write one instruction to query ClickHouse when a DM asks for a metric check and reply with a concise result and timeframe.
- 4Select Direct Message Received as the trigger and choose a channel for run reports.
- 5Test with one real DM request and confirm the result returns in the intended private conversation.
Questions about this workflow
Will this inspect channel messages too?
This automation uses the direct-message trigger, which catches DMs across DM channels.
Can I ask for a specific date range?
Include the requested period in the Slack message and tell Notis to use that period when constructing the query.
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.