Skip to main content
Every time an event triggers an Automation, Resend creates a run. Each run is for one contact, the one identified in the event. A run needs that contact to keep going. If the contact is deleted while the run is in progress, the run ends as skipped. A run tracks the execution of each step in the workflow, including its status and timing, along with any errors.

How it works

Each run has one of the following statuses: In the API, failed and skipped runs include a status_reason, so you can see why a run ended without retrieving it: It’s unknown when the step has no code. Runs with any other status don’t include the field.

Cancelled runs

A cancelled run was stopped on purpose, not by an error. Nothing needs fixing. A run is cancelled when:
  • Someone cancels it in the dashboard or with the Cancel Automation Run API.
  • Someone stops the Automation with Stop now in the dashboard or with the Stop Automation API. This also cancels its quota_exceeded runs. Stop new runs lets runs in progress finish instead.
  • The Automation is disabled or deleted while the run is in progress. The run stops when it reaches its next step, so a run waiting in a Delay shows as running until the delay ends.
Steps that already finished stay finished, and emails the run already sent aren’t recalled. The remaining steps show as skipped.

Skipped runs

A skipped run ended on its own because it could no longer continue. It isn’t an error, and nothing needs fixing.
  • The step where the run ended shows the reason, and the steps after it are skipped.
  • Steps that already finished stay finished, and emails the run already sent aren’t recalled.
  • A skipped run has already ended, so it can’t be cancelled.
A run is skipped for one of these reasons: When the contact is deleted:
  • The run keeps going until it reaches a step that needs the contact, such as Send Email, Update Contact, or Add to Segment. It ends there.
  • Delay and Wait for event steps don’t need the contact, so a run waiting in one shows as running until that step ends.
  • If none of the remaining steps need the contact, the run completes as usual.

Skipped steps

Each step in a run also has its own status, separate from the run’s status. A step can be skipped while the run keeps going. A step is skipped when the contact unsubscribed, isn’t subscribed to the step’s Topic, or followed a different branch path. When a contact unsubscribes, any remaining Send Email steps in the Automation are skipped. A Send Email step with a Topic is also skipped when the contact isn’t subscribed to that Topic. Other step types, such as Delay, Condition, or Update Contact, still run as usual.

Listing runs

Navigate to the Automations page and select an Automation to view its runs.Automation RunsEach run shows:
  • Status — Whether the run is running, completed, failed, cancelled, quota_exceeded, or skipped.
  • Started — When the run began.
  • Duration — When the run finished (if applicable).
View the List Automation Runs API reference for more details.

Filtering runs by status

You can filter runs by status to find specific executions.Automation Runs Filter

Viewing a single run

Click on a run to view its details, and select the step you want to debug.Automation Run View
View the Retrieve Automation Run API reference for more details.

Debugging failed runs

Go to the Runs tab and click on a run to view the details.Automation Run Failed
When a run fails, use the step-level details to identify the issue:
  1. List failed runs: Filter runs by status=failed to find problematic executions. Each one has a status_reason with the error code of the step that failed.
  2. Retrieve the run: Get the full run details including the steps array.
  3. Find the failed step: Look for the step with a failed status.
  4. Check the error: The error field on the failed step contains details about what went wrong.
Common failure scenarios:
  • Condition error: A referenced field may not exist in the event payload. See Condition for how conditions are evaluated.
  • Wait for event timeout: The expected event was not received within the timeout window.
  • Send email failed: The template may not be published, or the sender address may not be verified.

Cancelling a run

Cancel a single run to skip its remaining steps, for example when the same event triggered a duplicate run. Emails the run already sent are not affected, and the Automation stays enabled. Only a running or quota_exceeded run can be cancelled, and the dashboard cancels running runs only. A run that’s completed, failed, or skipped can’t be cancelled.
In the runs list, click the Run actions button on a running run and select Cancel run. Type CANCEL to confirm.
View the Cancel Automation Run API reference for more details.

Stopping an Automation

Click on the Stop button to stop an Automation.Automation Run Stop
View the Stop Automation API reference for more details.

Viewing Metrics

In the dashboard, you can view overall metrics for any Automation. In the Observability panel for any Automation, select Metrics. Automation Runs Metrics The API does not support fetching metrics for an Automation.