Skip to content
Notis

Count Matching Chain Records from a Box Comment

Ask for a record count in a file comment and get a focused Bitquery count query with a short report.

Trigger

New File Comment Added

Triggers when a new comment is added to a file in Box. This trigger monitors a specific Box file and fires when new comments are detected.

Action

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.

Why this helps

Small research requests in document comments are easy to miss or leave waiting while someone translates them into a query.

  • Turn a clear comment request into a count query.
  • Keep the request attached to its source Box file.
  • Flag missing network or dataset details instead of guessing.

Setup

Build it in a few focused steps.

  • 1Connect Box and Bitquery once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and provide a name and prompt.
  • 3Tell Notis to read each new comment on the chosen file, count the records matching its stated query criteria, and report missing details rather than guessing.
  • 4Pick the Box New File Comment Added trigger and select a run report destination.
  • 5Test with one real comment that specifies a network, dataset, and criteria.

Questions about this workflow

Can a vague comment still run a query?

Not reliably. The comment should specify the network, dataset, and what records to count. The report can identify what needs clarification.

Does this count unique wallets?

A simple count metric counts matching records. For unique values, use a distinct-count action and specify the field.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Box to Bitquery. A trigger fires from one place; an action lands in another.

Box triggers

Bitquery actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

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.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Archive Database Query

Tool to query the archive database. use when you need full historical blockchain data (delayed by tens of minutes to hours).

ActionInstant

Collaboration Details Changed

Triggers when a collaboration's details change (e.g., role, status, expiration). This trigger monitors a specific collaboration and detects when any meaningful field changes, such as role, status, expiration date, access type, or acknowledgment status.

TriggerPolling

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.

ActionInstant

Comment Changed

Triggers when a comment's content or details change in Box. This trigger monitors a specific Box comment and detects when any meaningful field changes, such as message text edits, tagged message changes, or modification timestamp updates.

TriggerPolling

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.

ActionInstant

New File Comment Added

Triggers when a new comment is added to a file in Box. This trigger monitors a specific Box file and fires when new comments are detected.

TriggerPolling

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.

ActionInstant

File Metadata Changed

Triggers when a file's metadata or properties change in Box. This trigger monitors a specific Box file and fires when changes are detected in key fields like name, description, size, modification time, parent folder, or status.

TriggerPolling

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.

ActionInstant

File Shared Link Changed

Triggers when a file's shared link settings change in Box. This trigger monitors a specific Box file's shared link and fires when changes are detected in the shared link configuration, such as access level, permissions, password protection, expiration date, or vanity URL.

TriggerPolling

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.

ActionInstant

New File Version Uploaded

Triggers when a new file version is uploaded to a file in Box. This trigger monitors a specific Box file and fires when new versions are detected.

TriggerPolling

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.

ActionInstant

Connect any two apps with Notis in the middle.

Box 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.