Calculate requested transfer totals from interactive replies
Let a WhatsApp selection start a focused transfer total query for your report.
Trigger
Interactive Reply Received
Triggered when a customer taps a quick-reply button or selects an option from an interactive list message you sent.
Action
Sum Metric
Tool to calculate the sum of a specified field's values across defined dimensions. use when you need to aggregate total values in a dataset.
Why this helps
Following up on a selected analysis option often means reopening the request and recreating the query by hand.
- Turn a selected option into a focused analytics request.
- Sum a specified numeric field over the supplied scope.
- Keep the report tied to the customer's selection.
Setup
Build it in a few focused steps.
- 1Connect WhatsApp and Bitquery once in the Notis portal.
- 2Create an automation in Automations, New Automation, and name it.
- 3Describe in one instruction which transfer value to sum based on the selected option and the associated chain, token, and time scope.
- 4Pick the WhatsApp Interactive Reply Received trigger and choose where run reports go.
- 5Test with one real interactive reply and its associated request context.
Questions about this workflow
Does the reply itself always include the query scope?
The event indicates a customer selected a quick-reply button or list option. Supply or retain the associated context needed to identify the chain, token, and time range.
Can the workflow calculate a total without a suitable numeric field?
No. The Bitquery sum needs a specified field in a suitable dataset; have the prompt report when the required field or scope is unavailable.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Whatsapp to Bitquery. A trigger fires from one place; an action lands in another.
Whatsapp triggers
Bitquery actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Aliases Metric
Tool to use graphql aliases to rename fields in the response for clarity and disambiguation. use when you need to query multiple metrics with identical field names in one call.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Archive Database Query
Tool to query the archive database. use when you need full historical blockchain data (delayed by tens of minutes to hours).
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
Combined Database Query
Tool to query the combined database, which merges archive and real-time databases. use when you need both historical and up-to-the-second blockchain data in one request.
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.
Conditional Metrics Snippet
Tool to generate a graphql metric snippet with conditional logic. use when you need to apply filters directly on metric calculations via the `if` attribute.
Interactive Reply Received
Triggered when a customer taps a quick-reply button or selects an option from an interactive list message you sent.
Count Distinct Metric
Tool to use the count distinct metric to aggregate unique values for a field. use when you need to count the number of unique occurrences in a dataset.
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.
Count Metric
Tool to use the count metric to aggregate the number of records matching a graphql query. use when you need simple record counts.
Database Selection
Tool to select the database (archive, realtime, combined) to query at the top level of a graphql request. use after determining whether you need live, historical, or combined blockchain data.
Early Access Program Query
Tool to access streaming data across various blockchain networks for evaluation purposes. use when querying chains not available via the v2 endpoint; limited to real-time data only.
Connect any two apps with Notis in the middle.
Whatsapp and Bitquery, 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 Bitquery.