Skip to content
Notis

Confirm payroll fields before querying

Avoid failed payroll analysis by checking the table structure at the moment it matters.

Trigger

Webhook received

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

Action

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.

Why this helps

Payroll exports and warehouse updates can change columns without a clear handoff to the person writing queries.

  • Reduces schema-related query errors
  • Shows current types and keys
  • Creates an auditable change check

Setup

Build it in a few focused steps.

  • 1Connect 7shifts and ClickHouse in Notis.
  • 2Create an automation named Payroll schema check.
  • 3In one instruction, ask Notis to identify the payroll table from the webhook context and retrieve its detailed schema.
  • 4Select notis_webhook as the trigger.
  • 5Choose a report destination and test with a real payroll update.

Questions about this workflow

Can it compare two schema versions?

The action returns the current schema; provide a stored prior schema if you want a comparison.

What if there are several payroll tables?

Tell Notis the naming convention or table candidates in the instruction.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

7shifts 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

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

List ClickHouse Databases

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

ActionInstant

List ClickHouse Tables

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

ActionInstant

Connect any two apps with Notis in the middle.

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