Check the table structure before querying
When a data request depends on unfamiliar columns, have Notis inspect the relevant ClickHouse table schema first.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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
Queries fail or return the wrong data when table names and column meanings are unclear.
- Review actual column definitions before query construction.
- Reduce guesswork when responding to a data request.
- Use schema details available in ClickHouse.
Setup
Build it in a few focused steps.
- 1Connect 2chat and ClickHouse once in the Notis portal.
- 2Create an automation and give it a clear name.
- 3Tell Notis to inspect the ClickHouse table relevant to the incoming WhatsApp data request and explain the usable columns.
- 4Choose the Notis webhook trigger and select where run reports should go.
- 5Test with one real request that names or clearly implies a table.
Questions about this workflow
Does this also run the requested data query?
No. It retrieves a table schema so the structure can be reviewed before a query is created.
What if the request does not identify a table?
Notis needs a table name or enough context to identify one from the available schema information.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link 2chat to ClickHouse. A trigger fires from one place; an action lands in another.
2chat 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.
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.
List ClickHouse Databases
List all databases in the clickhouse instance. useful for discovering available databases before querying tables.
List ClickHouse Tables
List tables in clickhouse databases. returns information about tables including their engine, size, and row count.
Connect any two apps with Notis in the middle.
2chat 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.