Build a history of Ably presence
Save presence snapshots received through a webhook so you can review activity over time in ClickHouse.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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 current presence view can be useful in the moment, but it does not give you a convenient history to query later.
- Keep received presence snapshots in an analytics database.
- Review changes over time when timestamps are included in the payload.
- Avoid manually saving presence information for later.
Setup
Build it in a few focused steps.
- 1Connect Ably and ClickHouse once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it.
- 3Tell Notis to insert each received presence snapshot into a specified ClickHouse table, preserving available timestamps and fields.
- 4Pick the webhook trigger and choose where run reports should go.
- 5Test with one real presence payload.
Questions about this workflow
Will this workflow fetch presence from Ably on its own?
No. The webhook payload must contain the presence data you want stored; the listed ClickHouse action runs SQL.
Can I compare presence over time?
Yes, if the table records the snapshots and their timestamps. The history depends on the payloads you send and the table schema.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Ably to ClickHouse. A trigger fires from one place; an action lands in another.
Ably 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.
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.
List ClickHouse Databases
List all databases in the clickhouse instance. useful for discovering available databases before querying tables.
List ClickHouse Tables
List tables in clickhouse databases. returns information about tables including their engine, size, and row count.
Connect any two apps with Notis in the middle.
Ably 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.