Skip to content
Notis

Review database structure when a Box folder is trashed or restored

A folder moving to or from trash can prompt a broader review. Notis can retrieve the ClickHouse database structure you specify and report the overview.

Trigger

Trashed Folder State Changed

Triggers when a folder's trash state changes in Box. This trigger monitors a specific Box folder and fires when its trash state changes (e.g., moved to trash or restored from trash).

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

Folder cleanup or recovery can raise questions about related analytics, and gathering data context slows the follow-up.

  • Retrieve an overview of a specified database after a folder lifecycle change.
  • Include available table and column details in the run report.
  • Support a more informed cleanup or recovery review.

Setup

Build it in a few focused steps.

  • 1Connect Box and ClickHouse once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and name it for folder lifecycle review.
  • 3In one instruction, tell Notis which ClickHouse database overview to retrieve and what structure to highlight.
  • 4Pick Box's Trashed Folder State Changed trigger and select the folder to monitor.
  • 5Choose a report channel, then test with one real trash or restore event and review the overview.

Questions about this workflow

Does the folder event tell Notis which database is related?

No. Specify the ClickHouse database or provide context that identifies it.

Can this run for a restored folder?

Yes. The trigger covers a folder moving to trash or being restored.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Box to ClickHouse. A trigger fires from one place; an action lands in another.

Box triggers

ClickHouse actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Execute ClickHouse Query

Execute a sql query in clickhouse and return the results. this is the primary action for querying data from clickhouse databases.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

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.

ActionInstant

Collaboration Details Changed

Triggers when a collaboration's details change (e.g., role, status, expiration). This trigger monitors a specific collaboration and detects when any meaningful field changes, such as role, status, expiration date, access type, or acknowledgment status.

TriggerPolling

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.

ActionInstant

Comment Changed

Triggers when a comment's content or details change in Box. This trigger monitors a specific Box comment and detects when any meaningful field changes, such as message text edits, tagged message changes, or modification timestamp updates.

TriggerPolling

List ClickHouse Databases

List all databases in the clickhouse instance. useful for discovering available databases before querying tables.

ActionInstant

New File Comment Added

Triggers when a new comment is added to a file in Box. This trigger monitors a specific Box file and fires when new comments are detected.

TriggerPolling

List ClickHouse Tables

List tables in clickhouse databases. returns information about tables including their engine, size, and row count.

ActionInstant

File Metadata Changed

Triggers when a file's metadata or properties change in Box. This trigger monitors a specific Box file and fires when changes are detected in key fields like name, description, size, modification time, parent folder, or status.

TriggerPolling

File Shared Link Changed

Triggers when a file's shared link settings change in Box. This trigger monitors a specific Box file's shared link and fires when changes are detected in the shared link configuration, such as access level, permissions, password protection, expiration date, or vanity URL.

TriggerPolling

New File Version Uploaded

Triggers when a new file version is uploaded to a file in Box. This trigger monitors a specific Box file and fires when new versions are detected.

TriggerPolling

Connect any two apps with Notis in the middle.

Box 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.