Give an AI workflow customer segment context
Use a webhook to retrieve the ClickHouse segment records relevant to an AI task, then review the result in a Notis report.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Execute ClickHouse Query
Runs a database query and returns the results.
Why this helps
AI workflows can miss useful business context when customer segments and their underlying data are hard to locate quickly.
- Retrieve data for a specified segment on demand.
- Reduce manual filtering for repeated AI tasks.
- Summarize only the records returned by ClickHouse.
Setup
Build it in a few focused steps.
- 1Connect Ai ml api and ClickHouse once in the Notis portal.
- 2Create an automation in the portal or tell Notis from any channel.
- 3Define the segment criteria and request the needed records or summary in one instruction.
- 4Choose a webhook trigger and where run reports should go.
- 5Test with one known segment and verify the query uses fields that exist.
Questions about this workflow
Can it infer customer segments from unprovided traits?
No. Segment criteria must be represented by available ClickHouse fields or supplied context.
Can this workflow update segment membership?
This workflow queries and summarizes data. Updating membership would require a separately specified query and data model support.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Ai ml api to ClickHouse. A trigger fires from one place; an action lands in another.
Ai ml api triggers
ClickHouse actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Execute ClickHouse Query
Runs a database query and returns the results.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get Database Schema
Retrieves an overview of a database's schema and tables.
Get Table Schema
Gets the schema and column details for a table.
Get ClickHouse Play Interface
Returns the ClickHouse Play interface for writing queries and viewing results.
List ClickHouse Databases
Lists the databases in an instance.
List ClickHouse Tables
Lists tables in databases with basic details.
Connect any two apps with Notis in the middle.
Ai ml api 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.