All templates

Automated PostHog Feature Flag Rollout Alerts

Every hour, WebRun opens PostHog, checks the error rate and conversion for a flagged rollout cohort against the control group and your threshold, posts a Slack alert on any breach, and escalates to Telegram if the gap keeps widening.

Runs on WebRun · Strict Lockdown policy
Every hour WebRunorchestrates each step
1 PostHog check the rollout's error rate and conversion
2 Slack alert on a threshold breach
3 Telegram escalate if it worsens
In short

How do I catch a bad PostHog feature flag rollout before it affects more users?

WebRun checks a PostHog feature-flag rollout every hour, comparing the flagged cohort's error rate and conversion against the control group and your threshold. A breach posts a Slack alert with the gap and rollout percentage, and a worsening trend across two checks escalates to Telegram with a recommendation to roll back.

  • Bad rollouts get caught within the hour, before wider exposure
  • Only genuinely worsening trends escalate, not single-hour noise
  • Every alert names the exact gap from the control group

Built for product engineering teams · platform engineers · growth engineers · site reliability engineers

Step by step

What does WebRun do on every run?

The exact actions WebRun takes, in order - in plain language, so you can adjust anything.

  1. WebRun signs in and gets to work

    Opens app.posthog.com in a real browser with your saved login - no setup, no API keys.

  2. 1
    PostHog - check the rollout's error rate and conversion
    • Open PostHog and check the error rate and conversion for the flagged cohort
    • Compare it to the control group and your rollout threshold
    • Note the size of the gap if the threshold is breached

    Done when The flagged rollout has been checked against its threshold this hour.

  3. 2
    Slack - alert on a threshold breach
    slack.com
    WebRun in Slack: alert on a threshold breach
    WebRun posts to Slack to alert on a threshold breach.
    • Post an alert to the engineering channel naming the flag and the gap from control
    • Include the current rollout percentage

    Done when The team has a Slack alert for every threshold breach.

  4. 3
    Telegram - escalate if it worsens
    telegram.org
    WebRun in Telegram: escalate if it worsens
    WebRun sends a Telegram message to escalate if it worsens.
    • Send a Telegram message to the on-call engineer if the gap has widened for two checks in a row
    • Recommend rolling the flag back to 0 percent for review

    Done when The on-call engineer has a Telegram escalation for any worsening rollout.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
app.posthog.com
ScheduleRuns automatically on this cadence
Every hour
DeliveryHow each run's result reaches you
Rollout alert · Slack
OutputWhat each run produces - A threshold breach alert for a feature-flag rollout, with an escalation if it keeps worsening.
Text
Setup & safety

Secure by default

Connect once, stays signed in

WebRun signs in once and keeps each session in a persistent environment, so every run picks up right where it left off.

Your credentials stay in your own private environment - WebRun never stores your passwords.
Strict Lockdown

Every action is checked against this policy before it runs.

Domains ALLOWLIST
Typed input ALLOW
Shell command BLOCK
File uploads BLOCK
Runs in a contained environment More on policies
Good to know

Questions, answered

Will it roll back the feature flag on its own?

No. WebRun only alerts and recommends. Rolling a flag back to 0 percent is a call left to the on-call engineer.

How does it decide the rollout is bad?

It compares the flagged cohort's error rate and conversion against the control group and the threshold you set, so the alert reflects a real regression, not normal noise.

Why does it wait for two checks before escalating?

A single hour's dip can be noise. Escalating only after the gap has widened for two checks in a row keeps the Telegram channel for rollouts that are genuinely getting worse.

Put this on autopilot.

Turn it on in minutes - or have our team set it up for you.