Test and debug an automation
Test each step before anyone gets an email. After the automation is live, follow every run.
Test a step
- Open the Test tab, and click Start testing.
- Pick a sample event, or for an email step, a sample person. The panel shows the data that the step can use.
- Click Run test. The result shows whether the step succeeded, was skipped, or failed, and its logs.
- Click Go to next step to test the next one.
By default, Make real HTTP requests is off. Messages and other outside calls don't happen. PostHog logs what they would do instead. To check an email in a real inbox, turn it on for the email step, and enter your own address. PostHog asks you to confirm before it sends.


Follow every run
The Invocations tab lists every run: its status, the person and event, when it started, and any error. Filter by status: Running, Succeeded, Failed, or Canceled. Open a run to see each step that it took, and its logs, such as why a step was skipped.




A batch automation groups its runs by batch run, and shows the next scheduled runs.
To see each email a run sent, with what the person did around it, see what each person did.
Stop runs
On the Invocations tab:
- Cancel on a running run stops it before its next step.
- Cancel in-flight runs stops every unfinished run of the automation, including runs that wait in a delay.
- Stop on a batch run stops more of the audience from entering, and cancels the runs that it started.
A run stops before its next step, so a step that is running finishes first. Steps that already ran, such as sent emails, are not undone.
Rerun runs
A canceled or finished run keeps its logs. To run it again, click Rerun. To rerun many at once, select them and click Rerun selected, or click Re-run… to pick runs by date. A rerun uses the run's original data and the automation's current settings.
Something else wrong?
For problems such as nobody entering, an email that didn't send, or an automation that won't turn on, see troubleshooting.





