Keep WhatsApp template status changes easy to review
Capture each template review update in the ClickHouse history your team uses for reporting.
Trigger
Message Template Status Update
Triggered when the review status of a WhatsApp message template changes — for example approved, rejected, or flagged — on your WhatsApp Business Account.
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
Template approvals and rejections can be hard to trace when status changes are not recorded alongside other business data.
- Keep template status changes queryable over time.
- Review approval and rejection history in one place.
- Reduce manual status tracking.
Setup
Build it in a few focused steps.
- 1Connect WhatsApp and ClickHouse once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it.
- 3Tell Notis to record template status changes in the existing ClickHouse table and schema you specify.
- 4Pick the Message Template Status Update trigger and choose where run reports should go.
- 5Test with one real template status update.
Questions about this workflow
Which template changes trigger this workflow?
It starts when a WhatsApp message template's review status changes, such as approval, rejection, or flagging.
Will Notis make a new ClickHouse table for the history?
No. Specify an existing table and its available schema in your instruction.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Whatsapp to ClickHouse. A trigger fires from one place; an action lands in another.
Whatsapp 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.
Message Status Updated
Triggers when a WhatsApp message status changes. IMPORTANT LIMITATION: WhatsApp Cloud API does not provide a native polling endpoint for message status. Status updates are ONLY delivered via webhooks in real-time. This trigger cannot directly poll the WhatsApp API for status updates. This trigger will return empty results as WhatsApp does not support this operation. To track message status updates, you must: 1. Set up a webhook endpoint to receive status notifications from WhatsApp 2. Store the webhook data in your own database 3. Use a different mechanism to query your stored webhook data For more information, see: - https://developers.facebook.com/docs/whatsapp/cloud-api/webhooks
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.
New Message Received
Triggered in real time when your WhatsApp Business number receives an inbound message from a customer (text, media, location, or contact). Delivered via the Cloud API webhook.
List ClickHouse Databases
List all databases in the clickhouse instance. useful for discovering available databases before querying tables.
Interactive Reply Received
Triggered when a customer taps a quick-reply button or selects an option from an interactive list message you sent.
List ClickHouse Tables
List tables in clickhouse databases. returns information about tables including their engine, size, and row count.
Message Template Status Update
Triggered when the review status of a WhatsApp message template changes — for example approved, rejected, or flagged — on your WhatsApp Business Account.
Connect any two apps with Notis in the middle.
Whatsapp 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.