Quick answer
List your key tables and their limits in one checks file. A Nori automation runs every night after your loads finish. An agent in an isolated sandbox runs freshness, row count, null rate and schema drift checks with a read-only warehouse role, posts a pass/fail table to your data channel in Slack, and opens a ticket for each failure with the exact query that failed and the upstream job that most likely caused it.
What the nightly check covers
Most data incidents are found by the person who opens a dashboard and sees a flat line. A scheduled check finds them first. Four tests catch the large majority of broken loads, and all four are cheap to run on a schedule:
- Freshness. The newest
loaded_ator event timestamp is within the table's limit, for example 6 hours fororders. - Row counts. Today's new rows fall inside a band built from the same weekday over the last four weeks. A load that writes 40 rows instead of 40,000 fails here.
- Null rates. Key columns stay under a null-rate ceiling. A join that silently drops a dimension shows up as a jump in nulls.
- Schema drift. Columns and types match yesterday's snapshot. An added, dropped or retyped column is reported with the before and after.
The limits live in a file in your data repository, so they are reviewed like code and every person and agent reads the same numbers:
# monitoring/checks.yml
defaults:
warehouse_role: MONITOR_RO # read-only, no write grants
rowcount_band: weekday_4w_p10_p90
slack_channel: "#data-health"
ticket_project: DATA
tables:
- name: analytics.orders
owner: "@priya.s"
freshness: {column: loaded_at, max_hours: 6}
rowcount: {date_column: order_date}
nulls: {customer_id: 0.0, currency: 0.001, ship_country: 0.02}
upstream: [airflow:load_shop_orders, fivetran:shopify]
- name: analytics.payments
owner: "@leo.m"
freshness: {column: settled_at, max_hours: 12}
rowcount: {date_column: settled_date}
nulls: {order_id: 0.0, amount: 0.0}
upstream: [airflow:ingest_psp_settlements]
- name: analytics.customers
owner: "@priya.s"
freshness: {column: updated_at, max_hours: 24}
schema_drift: strict
upstream: [dbt:stg_crm__contacts]
How to set up the nightly checks, step by step
- Create a read-only warehouse role. Grant
SELECTon the monitored schemas and oninformation_schema. Add the credential to Nori as an integration scoped to the data agent, so other agents and people never see it. - Write the checks file. Start with five to ten tables that feed revenue reporting or customer-facing features. Name an owner and the upstream jobs for each.
- Ask for the first run in Slack.
@nori run monitoring/checks.yml against prod now and show me the results. Do not open tickets on this run.Review the output and tune any limit that is obviously wrong. - Create the automation. Schedule it after your nightly loads, for example the cron line
15 6 * * *in your team's time zone. The prompt is short: run the checks file, post the table, open tickets for failures. - Connect your ticket tracker. Add Linear, Jira or GitHub Issues as an integration, or any tracker with an MCP server. The agent files into the project named in the checks file.
- Save team context as memories. Facts like
payments settle in batches at 02:00 and 14:00 UTCororders volume drops 60% on public holidaysgo into shared memories, so every run interprets the numbers the same way. - Review weekly. Look at the run history in the Nori dashboard. Tighten limits that never fire and loosen ones that fire on known patterns.
The agent writes the SQL for each check from the checks file and keeps the queries in monitoring/sql/, so anyone can rerun a check by hand. A change to the queries goes through a pull request like any other code.
Worked example: the morning Slack report
On a normal night the post is a short table and nothing else. When something fails, the failing row is at the top and the ticket link is in the same message:
Nori 06:19
Data health: 11 of 12 checks passed. 1 failure, ticket DATA-482.
Table Fresh Rows Nulls Schema
analytics.orders FAIL PASS PASS PASS
last loaded_at 2026-11-22 21:04 UTC, 9h 15m old (limit 6h)
analytics.payments PASS PASS PASS PASS
analytics.customers PASS PASS PASS PASS
Likely cause: airflow:load_shop_orders failed at 23:02 (task
extract_orders, HTTP 429 from the source API, 3 retries exhausted).
Replies in this thread go to the agent.
The same data as a table, which is what the agent writes to monitoring/results/2026-11-23.md for the record:
| Table | Check | Expected | Observed | Result |
|---|---|---|---|---|
analytics.orders | Freshness | Under 6h | 9h 15m | Fail |
analytics.orders | Row count | 38,100 to 44,900 | 41,288 | Pass |
analytics.payments | Null rate, amount | 0% | 0% | Pass |
analytics.customers | Schema drift | No change | No change | Pass |
A person in the channel can reply @nori rerun orders after the backfill and the agent checks again in the same thread.
The ticket the agent opens
A good ticket saves the on-call person the first twenty minutes. It holds the check that failed, the query to reproduce it, the job to look at, and what the agent already ruled out:
DATA-482 analytics.orders is stale (9h 15m, limit 6h)
Owner: @priya.s Opened by: Nori nightly data health
Failing check
select max(loaded_at) as last_load,
datediff('minute', max(loaded_at), current_timestamp) as age_min
from analytics.orders;
-- last_load 2026-11-22 21:04:11, age_min 555
Upstream to look at
airflow:load_shop_orders run 2026-11-22T23:00 FAILED
task extract_orders: HTTPError 429 Too Many Requests (3/3 retries)
Already checked
fivetran:shopify connector synced at 05:40, so raw data is present.
No schema change on raw.shop_orders since yesterday.
Suggested next step
Clear and rerun extract_orders. If 429s repeat, raise the retry
backoff in dags/load_shop_orders.py (currently 30s fixed).
The agent reads the orchestrator's run history and logs through their APIs to name the upstream job. It does not rerun jobs or change data on its own. If you want it to propose the backoff fix, reply in the ticket or the Slack thread and it opens a pull request for a person to review.
Why this works better as a team setup
A monitoring script on one laptop helps one person. On Nori the same checks belong to the whole team:
- Slack is the interface. Results land where the team already talks, and anyone can ask the agent a follow-up in the thread.
- Automations hold the schedule. Cron schedules and webhooks start sessions on fresh machines with run history, so a missed night is visible.
- Shared memories and skillsets. Your org skillset can carry a
data-healthskill with the house rules for writing checks. Memories carry the known patterns. A new teammate's agent reads the same context on day one. - Your subscription, any harness. Run Claude Code, Codex, Gemini CLI or Jiro, Nori's own agent, on the Claude or ChatGPT subscription you already pay for. Nori never charges for tokens.
- Your cloud if you need it. Enterprise deploys the full stack into your own AWS VPC or Azure VNet, so warehouse credentials and query results stay in your network.
For the wider pattern of schedule-driven data work, see agentic data operations. To catch problems before they reach production tables, pair this with governance checks on every dbt pull request.
Keeping alerts useful
Alert fatigue kills monitoring faster than missing checks. Three habits keep the channel worth reading:
- One ticket per cause. If three tables fail because one load failed, the agent opens one ticket and lists all three tables in it.
- Quiet on success. A passing night is one line plus the table. Nobody needs to read it.
- Limits change by pull request. When the agent sees a limit fire on a known pattern, it proposes the change to
checks.ymlwith the evidence, and the table owner approves it.
Plans start with a 30-day free trial and no card. Developer is $99 a month for one person with three machines, and Team is $250 a month with unlimited members. Machines sleep when idle and wake for each run. See pricing.
Frequently asked questions
Which warehouses does this work with?
Any warehouse the agent can query from a sandbox with a CLI, driver or MCP server, including Snowflake, BigQuery, Redshift, Databricks and Postgres. The checks are plain SQL generated from your checks file.
Can the agent change data or rerun jobs?
Not in this setup. It uses a read-only warehouse role and read access to your orchestrator. It reports, investigates and proposes fixes as pull requests. A person decides what to rerun or merge.
How does it know which upstream job caused a failure?
Each table in the checks file lists its upstream jobs. The agent reads their latest runs and logs through the orchestrator API, such as Airflow, Dagster or dbt Cloud, and names the job whose failure or delay matches the symptom.
How are row count limits set?
By default the agent builds a band from the same weekday over the last four weeks. You can override it per table with fixed numbers, and known patterns such as holidays can be saved as shared memories.
Does this replace a data observability tool?
It covers the core checks with files you own and reports in Slack. If you already run an observability tool, the agent can read its alerts through an API or MCP server and add the investigation and ticket on top.
What does it cost to run every night?
Nori plans are priced per machine, starting at $99 a month for Developer after a 30-day free trial. Model usage runs on your own Claude or ChatGPT subscription or API keys, and Nori never charges for tokens.