Count unique counterparties for a new contact's wallet
Get a quick measure of wallet breadth as a new lead enters HubSpot, with Notis reporting the query scope and result in plain language.
Trigger
Contact Created Trigger
Contact Created Trigger
Action
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.
Why this helps
Manually exploring transactions to estimate a wallet's breadth can slow down lead triage and make quick comparisons harder.
- Summarize unique address activity with a distinct-count metric.
- Support a faster, more consistent lead review.
- Make the queried wallet and scope explicit in the run report.
Setup
Build it in a few focused steps.
- 1Connect HubSpot and Bitquery once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name.
- 3Tell Notis to count unique counterparties for the wallet address supplied with the contact, and state the network and time window to use.
- 4Pick the HubSpot Contact Created trigger and choose where run reports go.
- 5Test with one real example containing a wallet address and a defined query scope.
Questions about this workflow
Does this create a risk score?
No. It returns a distinct count for the requested query. Any interpretation or decision threshold must be supplied in your instruction.
Can it run without a wallet address?
A wallet address is required for an address-specific query. Provide it with the contact or define how Notis should handle contacts without one.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Hubspot to Bitquery. A trigger fires from one place; an action lands in another.
Hubspot 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).
Contact Created Trigger
Contact Created Trigger
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.
Deal Stage UpdatedTrigger
Deal Stage UpdatedTrigger
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.
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.
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.
Hubspot 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.