Check AgentQL usage when a WhatsApp template status changes
Pair a WhatsApp template review update with a fresh look at AgentQL subscription usage and billing period.
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
Get Usage Details
Tool to retrieve subscription usage details for the current api key, including usage limits and billing period. use after confirming api connection is valid.
Why this helps
Template review updates and API usage checks sit in separate tools, making account follow-up easier to miss.
- Retrieve usage limits and billing period after a template status change.
- Keep account usage checks tied to a real WhatsApp Business event.
- Reduce a separate manual step when reviewing messaging operations.
Setup
Build it in a few focused steps.
- 1Connect WhatsApp and AgentQL once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name.
- 3Tell Notis to retrieve AgentQL usage details for the current API key and summarize the limits and billing period in the run report.
- 4Pick the WhatsApp Message Template Status Update trigger and choose where run reports go.
- 5Test with one real template status update after confirming the AgentQL API connection is valid.
Questions about this workflow
What usage information does AgentQL return?
The action retrieves subscription usage details for the current API key, including usage limits and billing period.
Does this action confirm the API connection?
The action is intended to run after the API connection is confirmed as valid.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Whatsapp to Agentql. A trigger fires from one place; an action lands in another.
Whatsapp triggers
Agentql actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Usage Details
Tool to retrieve subscription usage details for the current api key, including usage limits and billing period. use after confirming api connection is valid.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Query Data
Tool to query structured data as json from a web page using an agentql query or natural language prompt. use after defining your query or prompt and a url or html.
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
Create Remote Browser Session
Tool to create a remote browser session. use when you need to run browser automation on remote infrastructure.
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.
Interactive Reply Received
Triggered when a customer taps a quick-reply button or selects an option from an interactive list message you sent.
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 Agentql, 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 Agentql.