Test whether acting on an alert changes the outcome
In brief
Test an optional alert by randomly assigning eligible accounts to the new workflow or to current practice.
- Keep each account in its assigned group, even if nobody acts on the alert.
- Compare the same outcome over the same window against a threshold set in advance.
An account orders again after a manager receives a decline alert. Did the alert help? The account might have reordered anyway, another campaign might have reached it, or the manager might already have planned the call.
For an optional new intervention, we’d randomly assign eligible accounts to the new workflow or to current practice. Keep the assignment through the observation window and measure outcomes in both groups. Decide in advance what improvement would justify the work. If the team can’t protect that comparison or collect enough evidence, call the rollout a feasibility pilot and limit the conclusions accordingly.
Specify the change being tested
“Send alerts” leaves too much room for interpretation.
Suppose the proposed intervention is a manager receiving an account-review task, checking the account, and attempting contact within two working days. The comparison group keeps the existing account-management process. Routine service continues in both groups.
Write down eligibility before assignment: for example, accounts with a defined decline episode, a current manager, and no open review. Freeze the detector and eligibility version. A rule change halfway through recruitment can change who enters. That makes the result harder to interpret, even when assignment stays random.
Choose an outcome that represents the intended effect. A completed call measures execution. A qualifying reorder within 30 days measures a business response, though its value still depends on margin, discounts, and displaced orders. Define qualifying orders, cancellations, the clock’s starting point, and the final observation window before seeing results.
Keep a dated decision plan with the primary outcome, expected effort, guardrails, assignment method, sample requirement, and stopping rule. Specifying the analysis beforehand leaves less room to pick a flattering result afterward. A short internal plan does that job without copying an academic trial’s paperwork.
Assign a unit that can stay separate
If one account can trigger repeatedly, assign the account once for the experiment. Assigning each message separately lets the same customer receive both experiences and can contaminate the comparison. Persist the assignment and experiment version before dispatch. A retry must reuse them.
For a known eligible cohort, a reproducible random shuffle followed by a fixed split is straightforward. For ongoing enrollment, use a reviewed random allocation process and store each result.
Don’t treat arrival order, account-manager preference, or the final digit of an externally assigned account number as random. Keep a copy of the eligible population so you can tell when a later join drops assigned accounts.
The unit may need to be larger than the account.
Managers may change how they treat every account after learning from the new workflow. Extra calls may also take time otherwise spent on control accounts. Either way, the account-level groups interact. Those are spillovers, and they’re a reason to randomize whole groups instead.
Assigning managers or territories can reduce that problem, but it also reduces the number of independent units. Twenty thousand account rows under six managers aren’t twenty thousand independent assignments.
The analysis and power calculation have to follow the assignment structure. If too few independent groups remain, a causal trial may be the wrong next step.
Compare the workflow offered, including missed actions
Some managers won’t complete the new task. Keep those accounts in their assigned group for the primary comparison. Moving them to control, or analyzing only completed calls, selects on behavior that happened after assignment.
The intention-to-treat approach compares outcomes by original assignment. Here it estimates the effect of offering the new workflow at the rate managers carried it out. The effect of a successful call is a different quantity. Record delivery, acceptance, and contact separately to explain where the workflow failed.
Log contact in both groups where possible. Control accounts still receive ordinary service.
If the new intervention regularly reaches control accounts through another route, investigate the contamination instead of excluding inconvenient cases after the fact. A test of “extra task plus current practice” only means something if you know what current practice did.
Put the observed difference in proportion
Consider a synthetic, completely observed experiment with 400 independent accounts, exactly 200 assigned to each group. Thirty accounts in the new-workflow group reorder, compared with 20 in control. The observed rates are 15% and 10%: a five-percentage-point difference, or a 50% relative increase from the control rate.
That’s an estimated ten additional reordering accounts among the 200 offered the workflow. By the same estimate, about 20 of the 30 would have reordered without it.
Say managers completed contact for only 100 treatment accounts, and all 30 reorders came from those accounts. The resulting 30% “contact conversion rate” has no randomized comparison behind it.
Under the sharp null of no effect for any account, a two-sided randomization test for this exact allocation gives a p-value of about 0.17. That’s too weak to show an effect or rule one out, however good the 50% relative increase looks.
A real analysis should report an effect estimate with uncertainty that fits its design. Show it next to the effect that the team agreed before launch would be worth the work.
If the workflow consumed 50 staff hours, the point estimate is five hours per additional reordering account. Include discounts, unwanted contacts, and displaced work before turning an estimated response into a business case.
Check whether the evidence survived collection
Reconcile the eligible population, persisted assignments, delivery attempts, and outcome rows.
What allocation to expect depends on the randomization method. A fixed 200/200 split should still be 200/200 in the assignment table. Independent coin flips rarely come out exactly even.
Logging gaps and post-treatment filters can bias the experiment population. One symptom is a sample ratio mismatch. In an alert workflow, an inner join to completed tasks drops exactly the assigned accounts whose managers did nothing. Analyze from the assignment population, give every account an outcome state, and investigate unexplained losses before interpreting effects.
Wait until both groups have complete observation windows. An account enrolled yesterday can’t have a known 30-day outcome yet. Separate an observed absence of qualifying orders from missing source data. If outcomes are missing, report how many and their pattern by group. Then find out why. Dropping those accounts or counting them as failures can each distort the result.
Keep operational stop conditions separate from statistical success.
Stop a harmful or broken workflow according to its guardrails. But don’t keep checking an ordinary fixed-horizon significance test and end the experiment at the first favorable result. Continuous statistical monitoring needs a design and method made for it.
Check feasibility before withholding anything
Run a power calculation to see whether the proposed test can detect a worthwhile effect. It needs historical outcome rates, variation, expected compliance, and the number of independent units. More calendar weeks won’t rescue a design with very few independent territories or extensive spillover.
Exclude responses that must happen for safety, contractual, or other obligations. If the new workflow can only be compared with another acceptable response, make that the comparison.
Where randomization isn’t workable, a monitored rollout can still show whether tasks arrive and operators can act on them. It also gives the outcome measurement a trial run. A before/after improvement can still come from changing customers or seasons, or from another intervention.
When the planned analysis is inconclusive, record that result. Then choose the next step from the uncertainty and cost. Gather a larger valid sample, revise a poorly executed intervention, or stop spending effort on a benefit too small to detect.
A promising subgroup found afterward is exploratory and needs a new test of its own.
More in this domain: Automation
Browse allSelect alert work within the team's response capacity
Limit discretionary alerts to the work each owner has time to handle.
Alert configuration should control business behavior, not system structure
Give business owners configuration for alert thresholds, wording, schedules, and routing.
Data-Driven Alerts: System Breakdown
Use a data-driven alert when someone can act on a business condition in time to change the outcome.
Deduplication, cooldowns, and expiry in operational alerting
Give each alert a stable case ID so repeated detection respects work already in progress.
Related patterns
An alert is not a notification
Send a notification when awareness is enough. Create an operational alert when someone owns a decision.
Why alert feedback should be structured first
Collect a structured response first and leave room for an optional note.
When cold history should stay in BigQuery
Keep cold history in BigQuery when retrieval costs would outweigh the storage savings.
BigQuery global queries or a local serving copy?
A global BigQuery query can suit occasional selective reads. An approved local copy can save transfers when reports repeatedly read the same remote data.