Count Matching Blockchain Records Automatically
Send the query criteria to a Notis webhook. Abstract processes the instructions and Bitquery counts the matching records.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Count Metric
Why this helps
A simple count can still require rebuilding a query every time someone asks for an updated number.
- Get a simple record count for the matching query.
- Reuse one automation for incoming count requests.
- Keep request handling and query reporting in one Notis flow.
Setup
Build it in a few focused steps.
- 1Connect Abstract and Bitquery once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name and prompt.
- 3Describe the outcome in one instruction: process the query criteria with Abstract and use Bitquery's count metric to count matching records.
- 4Pick a webhook trigger and choose where run reports should go.
- 5Test with one real request and known criteria.
Questions about this workflow
How is this different from counting unique wallets?
The count metric counts matching records. Use count distinct when you need unique values for a field.
What must the request provide?
Include the network, dataset or activity criteria, and any relevant time range for the count.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Abstract to Bitquery. A trigger fires from one place; an action lands in another.
Abstract triggers
Bitquery actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Archive Database Query
Queries historical blockchain data from an archive database.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Combined Database Query
Queries real-time and historical blockchain data across supported networks.
Conditional Metrics Snippet
Generates a metric snippet with conditional logic.
Database Selection
Selects the database for a GraphQL request.
Early Access Program Query
Queries real-time blockchain data through an early access program.
Network Selection
Selects the blockchain network for a query.
Options Query
Retrieves available GraphQL dataset options.
Price Asymmetry Metric
Generates a PriceAsymmetry filter snippet for GraphQL queries.
Connect any two apps with Notis in the middle.
Abstract 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.