Explain a spreadsheet metric shift with ClickHouse
Get useful context for a changed KPI by having Notis query the ClickHouse data you specify.
Trigger
Aggregate Metric Changed
Triggers when an aggregate metric (SUM/COUNT/AVG/MIN/MAX) changes in a Google Sheets spreadsheet. This trigger monitors an aggregate calculation on a target column (optionally filtered by a search column/value) and fires when the calculated result changes.
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
A changed total or average can prompt a scramble to find the underlying context across analytics data.
- Pair a changed aggregate with relevant database context.
- Reduce manual investigation after a KPI shift.
- Get a concise report in your chosen channel.
Setup
Build it in a few focused steps.
- 1Connect Google Sheets and ClickHouse once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name.
- 3Describe in one instruction which ClickHouse query to run when the aggregate changes and what context to summarize.
- 4Pick Aggregate Metric Changed as the trigger and choose where run reports go.
- 5Test with one real metric change and review the result.
Questions about this workflow
Does the trigger include the previous metric value?
The trigger is described as firing when the calculated result changes. If your analysis needs a specific baseline or history, supply that data or explain how to retrieve it.
Can I use this for a particular KPI?
Yes. Set the aggregate to monitor in Google Sheets and describe the relevant ClickHouse query and summary in your instruction.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Sheets to ClickHouse. A trigger fires from one place; an action lands in another.
Google Sheets 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.
Aggregate Metric Changed
Triggers when an aggregate metric (SUM/COUNT/AVG/MIN/MAX) changes in a Google Sheets spreadsheet. This trigger monitors an aggregate calculation on a target column (optionally filtered by a search column/value) and fires when the calculated result changes.
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.
Cell Range Values Changed
Triggers when values in a specified A1 range change in Google Sheets. This trigger monitors a specific cell or range of cells and fires when any values change.
List ClickHouse Databases
List all databases in the clickhouse instance. useful for discovering available databases before querying tables.
Conditional Format Rule Changed
Triggers when conditional formatting rules change in a Google Spreadsheet. Detects when rules are added, updated, or removed. Uses snapshot-based diffing to detect changes between polls.
List ClickHouse Tables
List tables in clickhouse databases. returns information about tables including their engine, size, and row count.
Data Validation Rule Changed
Triggers when data validation rules change (added/updated/removed) in a Google Spreadsheet. Uses snapshot-based diffing to detect changes between polls.
Developer Metadata Changed
Triggers when developer metadata entries change (new/updated/removed) in a Google Spreadsheet. Uses snapshot-based diffing to detect changes between polls.
Filtered Range Values Changed
Polling trigger that monitors Google Sheets filtered ranges for value changes. Uses snapshot-based diffing to detect when values matching a data filter change. Emits the matched values when changes are detected.
Connect any two apps with Notis in the middle.
Google Sheets 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.