Weekday morning business metrics anomaly digest in Slack
Every weekday at 8am, get a plain-English Slack digest of your key business metrics with the biggest anomalies called out first.
Every weekday at 8am, run a BigQuery SQL query against our warehouse that returns two things for each of my key business metrics: the last seven days of daily values and a trailing 28-day baseline. Use one CTE per metric so the query stays readable. The four metrics are daily revenue, new signups, daily active users, and conversion rate. Use the Run Query (Synchronous) BigQuery operation and return the combined result set so the whole thing comes back in one call.
Once the rows are back, for each metric compute the mean and standard deviation of the 28-day baseline window, then compare the most recent day (or the seven-day trailing average, whichever is more meaningful for that metric) against that baseline. Flag any metric where the current value is more than two standard deviations away from the baseline mean.
Write a short narrative digest for the flagged metrics only. Lead with the biggest mover in absolute terms, then work down the list. Use plain language and always include the actual numbers, for example: "Signups fell to 150, well below the expected 400 to 500 range." Skip any metric whose delta is within the normal range so the digest stays scannable. If nothing is anomalous today, post a single line saying all metrics are within their expected range.
Post the digest to the #metrics channel in Slack using the Send a Message Slack operation. Format it as Slack mrkdwn: a bold header line with today's date, then one short paragraph per flagged metric. Keep the whole message under about ten lines so it's readable in a glance from the channel sidebar.
What does this prompt do?
- Every weekday at 8am, pulls the last seven days of revenue, signups, active users, and conversion rate from your data warehouse
- Compares each metric against a trailing four-week baseline and flags anything unusually high or low
- Writes a short narrative that leads with the biggest movers and calls out anomalies in plain language
- Posts the digest to a Slack channel so the whole team sees the same numbers first thing
What do I need to use this?
- A Google BigQuery warehouse with tables covering your daily revenue, signups, active users, and conversions
- A Slack workspace and permission to post in the channel you want to update
- The names of the tables or views that hold each metric
How can I customize it?
- Change the schedule or the Slack channel the digest posts to
- Swap in different metrics (retention, refunds, MRR growth) or a different lookback window
- Tune the sensitivity so only bigger movements show up in the message
FAQs
Does this replace our BI dashboard?
What happens on quiet days when nothing moved much?
Can I use a different data warehouse?
Do I need SQL skills to set this up?
Can it post to more than one channel?
Related templates
Every weekday at 10am, an AI voice agent phones your most overdue Xero accounts, logs what each customer promised, and reports back to finance in Slack.
Every couple of hours we find the chats your team never answered, email those visitors a real reply, and hand the sensitive ones to a support lead.
Score last week's finished live chats against one rubric, let an AI grader draft the notes with quotes, and send coaching straight to the agent.
Every weekday morning, every appointment that fell through yesterday gets a personal text or email inviting them to rebook, plus a task for the right rep.
Pick any date range up to 120 days and see return volume, refund versus exchange mix, and the products behind every number, recalculated each time you open it.
Every newsletter gets read, checked and signed off in one place, so nothing goes out with a broken link or a half-filled greeting.
Stop wondering if last night's numbers looked right.
Get an anomaly-aware summary of your key business metrics in Slack every weekday morning.