Query ClickHouse when a new OneDrive file arrives
Turn new documents into timely data checks without opening another dashboard.
Trigger
OneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
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
New files often need a quick data check, but the follow-up gets forgotten during a busy workday.
- Checks fresh files against live analytics
- Returns a concise result summary
- Removes manual dashboard switching
Setup
Build it in a few focused steps.
- 1Connect OneDrive and ClickHouse in Notis once.
- 2Create an automation and describe the data check in one instruction.
- 3Pick the OneDrive File Created trigger.
- 4Choose where run reports should go and test with one real file.
Questions about this workflow
What does the automation query?
You describe the SQL check or analysis you want in plain language, and Notis runs it in ClickHouse.
Can it read the file contents?
The trigger provides the new file event. Include the needed file location or data assumptions in your instruction.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link One drive to ClickHouse. A trigger fires from one place; an action lands in another.
One drive 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.
Onedrivebasetrigger
Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
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.
OneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
List ClickHouse Databases
List all databases in the clickhouse instance. useful for discovering available databases before querying tables.
File Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
List ClickHouse Tables
List tables in clickhouse databases. returns information about tables including their engine, size, and row count.
OneDrive Folder Created Trigger
Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
OneDrive Item Deleted Trigger
Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Item Moved or Renamed
Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.
Connect any two apps with Notis in the middle.
One drive 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.