ENGINEERING

Weekly review cycle-time report from Postgres to Notion

Once a week it reads the accumulated daily latency snapshots from Postgres, computes median and p90 review cycle times plus week-over-week trend.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerschedule
Steps4
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWeekly schedule triggers the report run
  • ActionQuery last two weeks of latency snapshotsPostgreSQLPostgres
  • LogicCompute median, p90, and week-over-week deltas
  • OutputPublish a dated cycle-time report page to NotionNotionNotion

What it does

Turns the raw daily latency snapshots your tracker collects into a readable weekly report. It calculates median and p90 review wait times, compares them to the prior week, flags which reviewers improved or regressed, and writes a clean Notion page leadership can skim.

When to use it

When you already log per-PR latency snapshots (for example via the daily leaderboard workflow) and want a durable weekly artifact for retros, staffing decisions, or process reviews — without anyone hand-building a spreadsheet.

How it works

  1. 1A weekly schedule triggers the report run.
  2. 2The flow queries Postgres for the last week (and prior week) of latency snapshots.
  3. 3A logic step computes median, p90, and week-over-week deltas per team and reviewer.
  4. 4It assembles a structured report with trend callouts and the worst-affected PRs.
  5. 5It creates a dated Notion page under your engineering reports space with the summary and tables.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect PostgresAny Postgres URL — query, write, migrate.
  2. 2
    Connect NotionPages, databases, comments.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.