> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Dune Integration

Seamlessly bridge the gap between on-chain data insights and your operational workflows by connecting Dune with B3OS. Automate your data-driven decision...

![Dune logo](https://ai-icon.b3.fun/logo/dune) Integration available

Seamlessly bridge the gap between on-chain data insights and your operational workflows by connecting Dune with B3OS. Automate your data-driven decision-making by turning complex SQL queries into actionable triggers for your entire crypto ecosystem.


**[Public page](https://b3os.org/integrations/app/dune)**

Open the user-facing integration overview for examples, templates, and sharing.
  **[Action reference](/actions/reference)**

Schema-level references for executable actions and test payloads.
  **[Trigger reference](/actions/trigger-reference)**

Event and schedule triggers that can start B3OS workflows.

## Build With Dune

Use Dune when a workflow needs to call Get CEX Addresses, Get Query Result or related Dune operations from a typed B3OS action. Start in the visual editor to connect an account, then use the references below for payload shape, required fields, and API testing.

## Available Actions

| Action | ID | Connector | Required fields |
| --- | --- | --- | --- |
| ![Get CEX Addresses logo](https://ai-icon.b3.fun/logo/dune) [Get CEX Addresses](/actions/reference/generated/dune-get-cex-addresses) | `dune-get-cex-addresses` | `-` | - |
| ![Get Query Result logo](https://ai-icon.b3.fun/logo/dune) [Get Query Result](/actions/reference/generated/dune-get-query-result) | `dune-get-query-result` | `-` | `queryId` |


## Available Triggers

No trigger references are published for this integration yet.


## Common Use Cases

**Automated Whale Monitoring**

Use Dune queries to identify large token movements and automatically trigger alerts or execute defensive trades when specific wallet thresholds are met.
  **CEX Inflow/Outflow Alerts**

Leverage the 'Get CEX Addresses' action to monitor liquidity shifts between exchanges and on-chain wallets, providing early signals for market volatility.
  **Real-time Protocol Health Tracking**

Automate the monitoring of DeFi protocol metrics like TVL or volume by pulling Dune query results directly into your internal reporting or risk management systems.
  **Dynamic On-chain Reporting**

Eliminate manual data entry by automatically fetching Dune analytics and pushing them into Slack, Discord, or Google Sheets for your team to review daily.

## Connector Notes

- Create the connector from a trusted B3OS organization before publishing workflows that call external accounts.
- Keep OAuth tokens, API keys, bot tokens, channel IDs, and account IDs in connector settings or workflow props, not in reusable public template text.
- Test with the visual editor or `POST /v1/actions/{type}/test` before routing production traffic.

## Related Templates

No public templates are linked to this integration yet.

## FAQ

**How can I use B3OS to automate my Dune analytics?**

You can use B3OS to bridge Dune's powerful SQL queries with your other business tools. By using the 'Get Query Result' action, you can automatically pull real-time blockchain data directly into your automated workflows.
  **Can I retrieve Centralized Exchange (CEX) addresses via Dune on B3OS?**

Yes, the Dune integration on B3OS includes a specific action to 'Get CEX Addresses,' allowing you to identify and monitor flows to and from major exchanges automatically.
  **Do I need to write code to connect Dune to my workflows?**

No. B3OS is a no-code workflow automation platform. You can simply select your Dune actions, such as fetching query results, and connect them to your existing tech stack through our intuitive interface.
  **What is the benefit of using 'Get Query Result' in an automated workflow?**

Instead of manually checking Dune dashboards, 'Get Query Result' allows you to programmatically fetch specific data points—like whale movements or protocol TVL—and trigger subsequent steps in your workflow immediately.
  **Is the data retrieved from Dune real-time?**

The data retrieved is as current as your Dune query results. By scheduling workflows in B3OS, you can ensure your automated processes are running against the most up-to-date blockchain analytics available.