Database Metrics Digest Agent
Live demo
Watch it work before it's live
08:30 daily metrics tick
It is 08:30 in Melbourne and all six queries return in under two seconds for the meal kit database. Signups came back at 148 against 131 yesterday, active subscriptions are flat at 9,204, and the failed payment count is the same three as the day before.
What you'll need
Set up in minutes
Connect PostgreSQL
One sign-in. The agent acts through your account, scoped to what this template uses.
Connect Slack
One sign-in. The agent acts through your account, scoped to what this template uses.
Metrics queries
The exact read only SELECT statements you want run each morning, each with the name it should carry in the digest. This list is the only SQL the agent will ever run.
Digest style
How the digest should read, which movements are worth flagging (for example signups down more than 20 percent), and who to tag when a query fails.
Choose which agent runs it
NoClick's built-in models work out of the box — or bring Claude Code, Codex, and other coding agents on your own subscription.
Watch it handle a test run
A staged conversation against a simulated world — then it’s live.
The brief
About this agent
Most teams have five numbers somebody checks by hand every morning and a dashboard nobody trusts. You hand this agent those five queries, and at 08:30 it runs exactly those, posts the results to Slack with day over day movement, and names any query that failed instead of leaving a hole. It is deliberately narrow: a fixed query list and read access only, so it cannot drift into writing to your database or inventing a metric no result contained.
What people use it for
- Replace the morning dashboard check - The five numbers land in Slack before anyone opens a laptop, in the same order every day. Nobody logs into a BI tool to answer how yesterday went.
- Catch an overnight drop - A metric that halved during the night shows up in WATCH with both numbers next to each other. You find out at 08:30 rather than when a customer asks on Thursday.
- Give non engineers real numbers - Founders, support and finance read the same digest without needing SQL access or a seat in a reporting tool. The query names you choose become the vocabulary everyone uses.
- Keep a read only path to prod - A fixed list of SELECTs, no ad hoc SQL, and no write operations at all. It is a narrower door into the database than handing another person a psql login.
Before you fork
What do I need to set up first?
A Postgres credential and one Slack channel. Point it at a read only role or a replica, not your primary superuser, and paste your SELECT statements into the query list variable with the name each metric should carry. Anything requiring a VPN or IP allowlist needs the connection reachable from outside your network.
Can it touch or damage my data?
It is instructed to run only the queries you listed and to write nothing at all, and the tools it holds are a select query plus two schema description tools. An entry in your list that is not a plain SELECT is refused and reported rather than executed. Connecting with a read only role makes that a database level guarantee rather than an instruction.
What does it cost to run?
One run per morning, around 30 a month, no matter how large your tables are. Each run is your queries plus one Slack message, so heavy queries cost your database time rather than run count. Keep the list to metrics that return in a few seconds, and the digest arrives before anyone is waiting for it.
Keep exploring
More ways to run it
Run it with your coding agent
Works with
More agents like this
GitHub PR Review Agent
Reads every pull request the minute it opens and leaves one comment with a plain read of the change, a verdict on each…
Stripe Checkout Recovery Agent
Catches every abandoned Stripe checkout and leaves a short recovery email in Gmail naming the exact items and prices the…
Stripe Revenue Digest Agent
Turns yesterday's Stripe activity into one Slack message every morning: what came in, what failed, who churned, and the one…
Failed Payment Recovery Agent
Turns every failed charge into a ready-to-send dunning email in Gmail and one Slack line, with the amounts and dates pulled…
Make it yours
Put Database Metrics Digest Agent to work.
Free to start. Guided setup, a test run against staged conversations, and it's live.