Auto-Calculate Blockchain Aggregate Statistics
Comment 'show me gas price statistics' and Notis instantly calculates mean, median, and other metrics.
Trigger
Comment Received Trigger
Triggered when a comment is received.
Action
Statistics Metric
Tool to compute statistical metrics (mean, median, etc.) over one variable in a dataset. use when you need precise summary statistics in your graphql query.
Why this helps
Computing aggregate statistics manually is tedious and error-prone. Neurodivergent founders often skip this step.
- Instant aggregate statistics without manual calculation
- Accurate statistical metrics every time
- Understand data distribution immediately
- Statistics in Linear, not external tools
Setup
Build it in a few focused steps.
- 1Connect Linear and Bitquery integrations.
- 2Create an automation called 'Statistics Calculator'.
- 3Enter: 'When someone comments requesting statistics, calculate statistical metrics like mean, median, and standard deviation for the specified blockchain data.'
- 4Select Comment Received as trigger.
- 5Test by commenting 'calculate stats for gas prices' and verify mean/median/std dev appear.
Questions about this workflow
What statistics are calculated?
Mean, median, mode, standard deviation, min, and max. Specify which ones you need.
Can I calculate stats on percentiles?
Yes. Include percentile requests like '95th percentile gas price' in your comment.
Over what time period?
Last 24 hours by default. Specify a different range in your comment.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Linear to Bitquery. A trigger fires from one place; an action lands in another.
Linear 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).
Comment Received Trigger
Triggered when a comment is received.
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.
Issue Created Trigger
Triggered when a new issue is created.
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.
Issue Updated Trigger
Triggered when an issue is updated. For example labels are changed, issue status is changed, etc.
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.
Private Team Comment Created
Fires when a new comment is posted on an issue in a private Linear team (polled with the connected user's token).
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.
Private Team Issue Created
Fires when a new issue appears in a private Linear team (polled with the connected user's token).
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.
Private Team Issue Properties Updated
Fires when properties on an issue change in a private Linear team (polled with the connected user's token).
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.
Linear 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.