See on-chain context alongside Alpaca order alerts
Send an Alpaca order alert to a Notis Webhook and get a Bitquery snapshot of related on-chain activity, ready to review with the trade.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Combined Database Query
Queries real-time and historical blockchain data across supported networks.
Why this helps
An order alert gives you little context about related wallet activity, so you end up switching tools and searching manually before deciding what to do next.
- Review the order and related chain activity in one run report.
- Use the token, network, and wallet details supplied in the webhook payload.
- Get recent and historical data in one Bitquery query.
Setup
Build it in a few focused steps.
- 1Connect Alpaca and Bitquery once in the Notis portal.
- 2Create an automation in plain language or in Automations, New Automation; give it a name and Prompt.
- 3Describe the order context you want, including which token, network, and wallet details the incoming payload provides.
- 4Pick Webhook as the trigger and choose where run reports go.
- 5Send one real Alpaca order alert through the Webhook and review the result.
Questions about this workflow
Does Alpaca start this workflow directly?
No. Alpaca has no trigger event in this setup. An Alpaca-connected system must send the order alert to the Notis Webhook.
What information must the alert include?
Include the token or asset identifier and the blockchain network. Include wallet addresses if you want the query focused on specific wallets. Bitquery cannot infer missing details.
Why use a combined database query?
The combined database can include both historical blockchain data and up-to-the-second data in one request. Recent data availability can vary by network.
When this happens · Trigger
Do this · Action
Queries real-time and historical blockchain data across supported networks.
Supported Triggers and Actions
Notis builds workflows that link Alpaca to Bitquery. A trigger fires from one place; an action lands in another.
Alpaca 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 through Bitquery's GraphQL API; coverage varies by chain.
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 conditional GraphQL metric snippet for embedding in a query.
Database Selection
Generates a GraphQL selection fragment for archive, real-time, or combined data.
Early Access Program Query
Submits a query to Bitquery for real-time blockchain data.
Network Selection
Generates a GraphQL selection fragment for a supported blockchain network.
Options Query
Fetches root query fields and arguments from the selected Bitquery environment's schema.
Price Asymmetry Metric
Generates a PriceAsymmetry filter snippet for GraphQL queries.
Connect any two apps with Notis in the middle.
Alpaca and Bitquery, or any other combination from 1,700+ 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.