Query access impact after a OneDrive permission change
Connect sharing changes to the data checks they may affect.
Trigger
Sharing Permission Added or Removed
Sharing Permission Added or Removed
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
Permission changes can create uncertainty about who can use source data and what needs review.
- Prompts a timely access review
- Combines event details with warehouse data
- Creates a traceable report
Setup
Build it in a few focused steps.
- 1Connect OneDrive and ClickHouse in Notis once.
- 2Create an automation describing the access impact query.
- 3Pick the Sharing Permission Added or Removed trigger.
- 4Choose where reports go and test with one permission change.
Questions about this workflow
Does this change permissions in ClickHouse?
No. It runs the query you describe and reports the result.
Can it distinguish additions from removals?
Yes. Ask Notis to handle each event type differently using the trigger payload.
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.