HOW-TO · DESTINATIONS

Send a SQL alert straight to Slack.

By Chris Davidson, founder of yForest · Updated September 26, 2026

Point a Watch at your team's Slack channel and the channel hears about a row count spike or a threshold crossed the moment it happens.

Start 14-day free trial Download on theMac App Store

No credit card. 14 days. Cancel in one click.

macOS 15+ · Apple Silicon native · 14-day free trial · No credit card

Quick answer: Add a Slack destination under Destinations and send a test message. Set up a Watch on your query, choosing what to watch and a Condition, then tick the Slack destination before saving. The alert posts as a card with the value and the time it fired, to whichever channel the destination points at.

Before you start

A Slack workspace you can add a destination for, and QueryFlow Pipelines. If you haven't connected Slack yet, do that under Destinations first.

Step by step

  1. Add a Slack destination under Destinations if you haven’t already, and send a test message to confirm it’s wired up.
  2. Run the query you want to alert on, then click Watch this.
  3. Set up the watch: what to watch, a Condition, and Check every.
  4. Under Destinations, tick your Slack destination.
  5. Click Run preview, then Save.

A worked example

On a Snowflake connection tracking failed payment attempts:

SELECT COUNT(*) AS failed_payments
FROM analytics.payments
WHERE status = 'failed'
  AND attempted_at >= DATEADD(hour, -1, CURRENT_TIMESTAMP());

Set A value on failed_payments, Condition Greater than 20, Check every 1h, and tick your team's Slack channel as the destination. Cross that line and the channel gets a card with the count and the time it fired, instead of someone noticing a revenue dip hours later.

Check it worked

Send a test message when you first add the Slack destination, before relying on it for a real watch. After saving the watch itself, use Check now to fire it once and confirm the message actually lands in the right channel.

Troubleshooting

If you seeFix
No message ever arrivesRe-send a test message from the Slack destination's settings to confirm the connection itself still works.
Messages land in the wrong channelCheck which channel the Slack destination is configured to post to; a destination can be edited without rebuilding every watch that uses it.
Duplicate messagesConfirm the same watch isn't accidentally saved twice, or that two separate watches aren't both pointed at the same condition.

Slack alerts vs. the Daily Recap

A Slack alert from Watch This fires the moment a condition trips. The Daily Recap is a separate, once-a-day summary of everything that ran and fired overnight. Most teams use both: individual watches for things that need attention now, the recap for the calmer daily read.

Choosing a channel

Point time-sensitive watches, like a payment failure spike, at whatever channel your team actually watches during the day, not an archive channel nobody checks. A quieter, lower-urgency watch can go to a dedicated alerts channel that people glance at rather than get pinged from directly.

What the card includes

The Slack card names the watch, the value or count that triggered it, and the time of the check that fired it, enough context to decide whether it's worth acting on immediately without opening QueryFlow first. For the underlying query and full history, open the watch in the Pipelines sidebar.

QueryFlow Studio $9.99/mo · $99/yr
QueryFlow Pipelines $29.99/mo · $199.99/yr

Frequently asked

Can a watch send to Slack and Teams at once?

Yes, tick as many destinations as you want under Destinations; a watch isn't limited to one.

Can I also get a macOS notification alongside Slack?

Yes, turn on Also notify me on this Mac in addition to any destination you tick.

What does the Slack alert actually look like?

A card with the watch's name, the value or row count that triggered it, and when the check ran, posted to whichever Slack channel the destination points at.

Do I need a separate Slack destination for every watch?

No, one Slack destination can be used by as many watches as you want, reuse it rather than reconnecting Slack per watch.

Is Slack alerting part of Studio?

No, Slack and Teams destinations for Watch This are part of Pipelines. Studio includes email and local-file destinations through the Scheduler.

Get alerts where your team already is.

14-day free trial, no card. Connect Slack and set your first watch.

Start 14-day free trial

No credit card. 14 days. Cancel in one click.