See what data is available for an incoming request
A new message can cue a ClickHouse schema overview, so you can see the database structure before working out a data question.
Trigger
New Gmail Message Received Trigger
Triggers when a new message is received in Gmail.
Action
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.
Why this helps
An analytics request arrives, but you have to interrupt your inbox work to discover which database tables might help.
- Cuts the first step of database discovery
- Makes available tables and optional column definitions easier to review
- Helps you assess whether the database can support an incoming question
Setup
Build it in a few focused steps.
- 1Connect Gmail and ClickHouse once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name and prompt.
- 3Describe when an incoming message should prompt a database schema overview.
- 4Pick New Gmail Message Received as the trigger and choose where run reports go.
- 5Test with one real incoming message.
Questions about this workflow
Will every new message cause a schema lookup?
The trigger fires on a new Gmail message. Describe the intended behavior in the prompt, and verify it with a real example.
Does a schema overview answer the email's business question?
No. This action returns database structure, not query results. Use it to understand tables and optional column definitions before deciding what data is available.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Gmail to ClickHouse. A trigger fires from one place; an action lands in another.
Gmail 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.
Email Sent
Triggers when a Gmail message is sent by the authenticated user. It polls the 'SENT' label and emits metadata including sender, recipients, subject, timestamp, and thread ID.
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 Gmail Message Received Trigger
Triggers when a new message is received in Gmail.
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.
Gmail 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.