# Resume automation

`automations_resume`

Starts a paused automation again. The people who were held go on from where they stopped.

Needs the scope: `automations:write`

## Arguments

- `id` (string, required): The id of the item. Up to 64 characters.

## Returns

The answer comes back under `structuredContent`, with the same JSON as text in `content`. A call the API refuses comes back with `isError` set, and the code and the message under `structuredContent.error`. [MCP](https://opensend.sh/docs/mcp) shows how to connect a client.

- `object` ("automation"): Always `automation`.
- `id` (string): The id of the automation.
- `name` (string): The name of the automation.
- `description` (string): A sentence about what it is for. Empty when none was given.
- `status` (string): `draft` until it is published, `active` while people can enter, `paused` when it is held. One of: `draft`, `active`, `paused`.
- `pausedReason` (string | null): Why it is paused: `manual` when a person paused it, what stopped working (`sender`, `template`, `audience` or `webhook`), or `limit` when the plan has no emails left this month. `null` while it is not paused. One of: `manual`, `sender`, `template`, `audience`, `webhook`, `limit`.
- `pausedDetail` (string): More about why it is paused. Empty when a person paused it.
- `trigger` (object): What starts a run, in the copy you edit.
- `trigger.kind` (string): What starts a run: `event` (an event you send, or a built-in one), `schedule` (a time that repeats, for everyone in an audience), `date` (a date on each contact) or `manual` (only when you enrol someone). One of: `event`, `schedule`, `date`, `manual`.
- `trigger.event` (string, optional): For `event`: the name of the event, such as `order.paid`. The built-in names are `contact.created`, `contact.updated`, `contact.subscribed`, `contact.unsubscribed`, `email.delivered`, `email.opened`, `email.clicked`, `email.bounced`, `email.complained` and `email.received`.
- `trigger.audienceId` (string, optional): The audience the automation is for. Needed for `schedule` and `date`. For `event` it limits the automation to contacts of that audience. Up to 64 characters.
- `trigger.match` (string, optional): `all` when every condition has to hold, `any` when one is enough. Without it, all. One of: `all`, `any`.
- `trigger.conditions` (object[], optional): For `event`: tests the event and the person have to pass to start a run. Up to 10 items.
- `trigger.conditions[].kind` (string): What is tested: `data` (a value in what started the run), `waited` (a value in an event a wait step received), `contact` (a field or a property of the contact), `email` (what happened to an email this run sent), `event` (whether the person sent an event), `audience` (whether they are in an audience), `subscribed` (whether the contact is subscribed) or `group` (several tests as one). One of: `data`, `waited`, `contact`, `email`, `event`, `audience`, `subscribed`, `group`.
- `trigger.conditions[].field` (string, optional): For `data`, `waited` and `contact`: the name of the value, such as `plan` or `order.total`. A contact has `email`, `first_name`, `last_name`, `status` and its properties. Up to 120 characters.
- `trigger.conditions[].operator` (string, optional): For `data`, `waited` and `contact`: how the value is compared. `exists` and `is_empty` take no `value`. One of: `equals`, `not_equals`, `greater_than`, `greater_or_equal`, `less_than`, `less_or_equal`, `contains`, `not_contains`, `starts_with`, `ends_with`, `exists`, `is_empty`.
- `trigger.conditions[].value` (string | number | boolean, optional): What the value is compared with. Text can hold `{{name}}` slots, filled from what started the run. Up to 500 characters.
- `trigger.conditions[].step` (string, optional): For `email`: the id of the step that sent it.
- `trigger.conditions[].status` (string, optional): For `email`: what has to have happened to it: `delivered`, `opened`, `clicked`, `bounced` or `complained`. One of: `delivered`, `opened`, `clicked`, `bounced`, `complained`.
- `trigger.conditions[].event` (string, optional): For `event` and `waited`: the name of the event.
- `trigger.conditions[].withinDays` (integer, optional): For `event`: how many days back to look. Without it, since the run started. From 1 to 365.
- `trigger.conditions[].audienceId` (string, optional): For `audience`: the id of the audience. Up to 64 characters.
- `trigger.conditions[].not` (boolean, optional): `true` turns the test around.
- `trigger.conditions[].match` (string, optional): For `group`: `all` when every test inside has to hold, `any` when one is enough. One of: `all`, `any`.
- `trigger.conditions[].conditions` (object[], optional): For `group`: the tests inside it. Up to 10 items.
- `trigger.conditions[].conditions[].kind` (string): What is tested: `data` (a value in what started the run), `waited` (a value in an event a wait step received), `contact` (a field or a property of the contact), `email` (what happened to an email this run sent), `event` (whether the person sent an event), `audience` (whether they are in an audience), `subscribed` (whether the contact is subscribed) or `group` (several tests as one). One of: `data`, `waited`, `contact`, `email`, `event`, `audience`, `subscribed`, `group`.
- `trigger.conditions[].conditions[].field` (string, optional): For `data`, `waited` and `contact`: the name of the value, such as `plan` or `order.total`. A contact has `email`, `first_name`, `last_name`, `status` and its properties. Up to 120 characters.
- `trigger.conditions[].conditions[].operator` (string, optional): For `data`, `waited` and `contact`: how the value is compared. `exists` and `is_empty` take no `value`. One of: `equals`, `not_equals`, `greater_than`, `greater_or_equal`, `less_than`, `less_or_equal`, `contains`, `not_contains`, `starts_with`, `ends_with`, `exists`, `is_empty`.
- `trigger.conditions[].conditions[].value` (string | number | boolean, optional): What the value is compared with. Text can hold `{{name}}` slots, filled from what started the run. Up to 500 characters.
- `trigger.conditions[].conditions[].step` (string, optional): For `email`: the id of the step that sent it.
- `trigger.conditions[].conditions[].status` (string, optional): For `email`: what has to have happened to it: `delivered`, `opened`, `clicked`, `bounced` or `complained`. One of: `delivered`, `opened`, `clicked`, `bounced`, `complained`.
- `trigger.conditions[].conditions[].event` (string, optional): For `event` and `waited`: the name of the event.
- `trigger.conditions[].conditions[].withinDays` (integer, optional): For `event`: how many days back to look. Without it, since the run started. From 1 to 365.
- `trigger.conditions[].conditions[].audienceId` (string, optional): For `audience`: the id of the audience. Up to 64 characters.
- `trigger.conditions[].conditions[].not` (boolean, optional): `true` turns the test around.
- `trigger.every` (string, optional): For `schedule`: how often it repeats: `day`, `week` or `month`. One of: `day`, `week`, `month`.
- `trigger.time` (string, optional): For `schedule` and `date`: the time of day it starts, as `HH:MM` in the time zone of the automation.
- `trigger.days` (string[], optional): For a weekly `schedule`: the days it runs on, such as `["mon", "thu"]`. Up to 7 items. One of: `sun`, `mon`, `tue`, `wed`, `thu`, `fri`, `sat`.
- `trigger.dayOfMonth` (integer, optional): For a monthly `schedule`: the day of the month, from 1 to 28.
- `trigger.property` (string, optional): For `date`: the contact property that holds the date, such as `trial_ends_at`.
- `trigger.offsetDays` (integer, optional): For `date`: how many days after the date to start. A negative number starts before it. From -365 to 365.
- `trigger.yearly` (boolean, optional): For `date`: `true` to start every year on that day, as for a birthday.
- `settings` (object): The rules of the automation, in the copy you edit.
- `settings.timezone` (string): The time zone its times are read in, such as `Europe/London`. Up to 120 characters.
- `settings.reentry` (string): Whether a person can go through it again: `once` (never), `after_exit` (when they are not in it any more) or `always` (every time, even while they are in it). One of: `once`, `after_exit`, `always`.
- `settings.reentryAfterDays` (integer): With `after_exit`: how many days have to pass after a run ends. 0 for none. From 0 to 365.
- `settings.window` (object | null): The sending hours. An email that is due outside them waits until they open. `null` sends at any time.
- `settings.window.days` (string[]): The days emails may go out on, such as `["mon", "fri"]`. Up to 7 items. One of: `sun`, `mon`, `tue`, `wed`, `thu`, `fri`, `sat`.
- `settings.window.from` (string): When the sending hours open, as `HH:MM`.
- `settings.window.to` (string): When they close, as `HH:MM`.
- `settings.exitOn` (string[]): Events that take a person out of the automation when they arrive. Up to 10 items.
- `settings.respectUnsubscribes` (boolean): `true` for marketing: an unsubscribed contact does not enter, a run ends when its contact unsubscribes, and emails to contacts carry the unsubscribe link. `false` for mail that always has to arrive, such as receipts.
- `stepCount` (integer): How many steps the copy you edit has.
- `version` (integer): The number of the published version. 0 when it was never published.
- `publishedAt` (string | null): When it was last published, or `null`.
- `changed` (boolean): `true` when the copy you edit differs from the published one.
- `stats` (object): What its runs have done so far.
- `stats.entered` (integer): How many runs have started.
- `stats.active` (integer): How many runs are going on now.
- `stats.completed` (integer): How many runs reached the end of their path.
- `stats.exited` (integer): How many runs left early.
- `stats.failed` (integer): How many runs ended on a step that failed.
- `stats.canceled` (integer): How many runs were cancelled.
- `stats.sent` (integer): How many emails its runs sent.
- `stats.lastRunAt` (string | null): When a run last started, or `null`.
- `createdAt` (string): When the automation was made.
- `updatedAt` (string): When it was last changed.
- `steps` (object[]): The steps of the copy you edit. The first one is where a run starts.
- `steps[].id` (string): An id for the step, unique in the flow: letters, digits and underscores, starting with a letter.
- `steps[].kind` (string): What the step does: `send_email`, `delay`, `wait_until`, `wait_for_event`, `condition`, `branch`, `split`, `update_contact`, `delete_contact`, `add_to_audience`, `remove_from_audience`, `webhook`, `send_event` or `exit`. One of: `send_email`, `delay`, `wait_until`, `wait_for_event`, `condition`, `branch`, `split`, `update_contact`, `delete_contact`, `add_to_audience`, `remove_from_audience`, `webhook`, `send_event`, `exit`.
- `steps[].name` (string, optional): A name of your own for the step. Up to 120 characters.
- `steps[].next` (string | null, optional): The id of the step that follows, or `null` to end the run here. Without it the step after this one in the list follows.
- `steps[].yes` (string | null, optional): For `condition`, `split` and `wait_for_event`: the step that follows when the condition holds, the person lands in the first share, or the event arrives. `null` ends the run.
- `steps[].no` (string | null, optional): For `condition`, `split` and `wait_for_event`: the step that follows otherwise. For `branch`: the step that follows when no path holds. `null` ends the run.
- `steps[].from` (string, optional): For `send_email`: the sender, on a verified domain, such as `Acme <hello@mail.example.com>`. With a template that has a sender it can be left out. Up to 500 characters.
- `steps[].to` (string, optional): For `send_email`: another recipient than the person of the run, such as a team address. Up to 500 characters.
- `steps[].replyTo` (string, optional): For `send_email`: the address replies go to. Without it, the one of the template when it has one, then the default of the workspace. Up to 500 characters.
- `steps[].subject` (string, optional): For `send_email`: the subject line. `{{name}}` slots are filled in. Up to 500 characters.
- `steps[].html` (string, optional): For `send_email`: the message as HTML. `{{name}}` slots are filled in. Up to 200,000 characters.
- `steps[].text` (string, optional): For `send_email`: the message as plain text. With a template it replaces the plain text of the template. Up to 200,000 characters.
- `steps[].template` (string, optional): For `send_email`: the id or the alias of a published template, in place of `subject`, `html` and `text`. Up to 500 characters.
- `steps[].variables` (Record<string, string>, optional): For `send_email`: values for `{{name}}` slots, by name. A value can hold slots of its own. A slot with no value takes the default of the template.
- `steps[].amount` (integer, optional): For `delay`: how long to wait. For `wait_for_event`: how long to wait for the event before the `no` path is taken. For `wait_until` with a `date`: how long before or after the date to go on. From 1 to 525,600.
- `steps[].unit` (string, optional): The unit of `amount`: `minutes`, `hours`, `days` or `weeks`. One of: `minutes`, `hours`, `days`, `weeks`.
- `steps[].time` (string, optional): For `wait_until`: the time of day to go on at, as `HH:MM` in the time zone of the automation. With a `date` that has no time, the time on that day.
- `steps[].date` (string, optional): For `wait_until`: a date to wait for, in place of a time of day. An ISO 8601 date or time such as `2026-12-24` or `2026-12-24T18:00:00Z`, a Unix time, or a slot that holds one, such as `{{starts_at}}`. A date that has passed lets the run go on at once. Up to 500 characters.
- `steps[].before` (boolean, optional): For `wait_until` with a `date` and an `amount`: `true` to go on that long before the date, such as a day before. Without it, that long after.
- `steps[].days` (string[], optional): For `wait_until`: the days of the week it may go on, such as `["mon", "tue"]`. Without it, any day. Up to 7 items. One of: `sun`, `mon`, `tue`, `wed`, `thu`, `fri`, `sat`.
- `steps[].event` (string, optional): For `wait_for_event`: the name of the event to wait for. For `send_event`: the name of the event to send, one of your own.
- `steps[].match` (string, optional): `all` when every condition has to hold, `any` when one is enough. Without it, all. One of: `all`, `any`.
- `steps[].conditions` (object[], optional): For `condition`: the tests. For `wait_for_event`: tests the event has to pass, where `data` reads the event that arrives. Up to 10 items.
- `steps[].conditions[].kind` (string): What is tested: `data` (a value in what started the run), `waited` (a value in an event a wait step received), `contact` (a field or a property of the contact), `email` (what happened to an email this run sent), `event` (whether the person sent an event), `audience` (whether they are in an audience), `subscribed` (whether the contact is subscribed) or `group` (several tests as one). One of: `data`, `waited`, `contact`, `email`, `event`, `audience`, `subscribed`, `group`.
- `steps[].conditions[].field` (string, optional): For `data`, `waited` and `contact`: the name of the value, such as `plan` or `order.total`. A contact has `email`, `first_name`, `last_name`, `status` and its properties. Up to 120 characters.
- `steps[].conditions[].operator` (string, optional): For `data`, `waited` and `contact`: how the value is compared. `exists` and `is_empty` take no `value`. One of: `equals`, `not_equals`, `greater_than`, `greater_or_equal`, `less_than`, `less_or_equal`, `contains`, `not_contains`, `starts_with`, `ends_with`, `exists`, `is_empty`.
- `steps[].conditions[].value` (string | number | boolean, optional): What the value is compared with. Text can hold `{{name}}` slots, filled from what started the run. Up to 500 characters.
- `steps[].conditions[].step` (string, optional): For `email`: the id of the step that sent it.
- `steps[].conditions[].status` (string, optional): For `email`: what has to have happened to it: `delivered`, `opened`, `clicked`, `bounced` or `complained`. One of: `delivered`, `opened`, `clicked`, `bounced`, `complained`.
- `steps[].conditions[].event` (string, optional): For `event` and `waited`: the name of the event.
- `steps[].conditions[].withinDays` (integer, optional): For `event`: how many days back to look. Without it, since the run started. From 1 to 365.
- `steps[].conditions[].audienceId` (string, optional): For `audience`: the id of the audience. Up to 64 characters.
- `steps[].conditions[].not` (boolean, optional): `true` turns the test around.
- `steps[].conditions[].match` (string, optional): For `group`: `all` when every test inside has to hold, `any` when one is enough. One of: `all`, `any`.
- `steps[].conditions[].conditions` (object[], optional): For `group`: the tests inside it. Up to 10 items.
- `steps[].conditions[].conditions[].kind` (string): What is tested: `data` (a value in what started the run), `waited` (a value in an event a wait step received), `contact` (a field or a property of the contact), `email` (what happened to an email this run sent), `event` (whether the person sent an event), `audience` (whether they are in an audience), `subscribed` (whether the contact is subscribed) or `group` (several tests as one). One of: `data`, `waited`, `contact`, `email`, `event`, `audience`, `subscribed`, `group`.
- `steps[].conditions[].conditions[].field` (string, optional): For `data`, `waited` and `contact`: the name of the value, such as `plan` or `order.total`. A contact has `email`, `first_name`, `last_name`, `status` and its properties. Up to 120 characters.
- `steps[].conditions[].conditions[].operator` (string, optional): For `data`, `waited` and `contact`: how the value is compared. `exists` and `is_empty` take no `value`. One of: `equals`, `not_equals`, `greater_than`, `greater_or_equal`, `less_than`, `less_or_equal`, `contains`, `not_contains`, `starts_with`, `ends_with`, `exists`, `is_empty`.
- `steps[].conditions[].conditions[].value` (string | number | boolean, optional): What the value is compared with. Text can hold `{{name}}` slots, filled from what started the run. Up to 500 characters.
- `steps[].conditions[].conditions[].step` (string, optional): For `email`: the id of the step that sent it.
- `steps[].conditions[].conditions[].status` (string, optional): For `email`: what has to have happened to it: `delivered`, `opened`, `clicked`, `bounced` or `complained`. One of: `delivered`, `opened`, `clicked`, `bounced`, `complained`.
- `steps[].conditions[].conditions[].event` (string, optional): For `event` and `waited`: the name of the event.
- `steps[].conditions[].conditions[].withinDays` (integer, optional): For `event`: how many days back to look. Without it, since the run started. From 1 to 365.
- `steps[].conditions[].conditions[].audienceId` (string, optional): For `audience`: the id of the audience. Up to 64 characters.
- `steps[].conditions[].conditions[].not` (boolean, optional): `true` turns the test around.
- `steps[].branches` (object[], optional): For `branch`: two to eight paths, tested in order. A run takes the first one whose conditions hold, and the `no` path when none does. Up to 8 items.
- `steps[].branches[].name` (string): What the path is called. It shows on the canvas and in the run. Up to 120 characters.
- `steps[].branches[].match` (string, optional): `all` when every condition has to hold, `any` when one is enough. Without it, all. One of: `all`, `any`.
- `steps[].branches[].conditions` (object[], optional): The tests a run has to pass to take this path, as on a `condition` step. Up to 10 items.
- `steps[].branches[].conditions[].kind` (string): What is tested: `data` (a value in what started the run), `waited` (a value in an event a wait step received), `contact` (a field or a property of the contact), `email` (what happened to an email this run sent), `event` (whether the person sent an event), `audience` (whether they are in an audience), `subscribed` (whether the contact is subscribed) or `group` (several tests as one). One of: `data`, `waited`, `contact`, `email`, `event`, `audience`, `subscribed`, `group`.
- `steps[].branches[].conditions[].field` (string, optional): For `data`, `waited` and `contact`: the name of the value, such as `plan` or `order.total`. A contact has `email`, `first_name`, `last_name`, `status` and its properties. Up to 120 characters.
- `steps[].branches[].conditions[].operator` (string, optional): For `data`, `waited` and `contact`: how the value is compared. `exists` and `is_empty` take no `value`. One of: `equals`, `not_equals`, `greater_than`, `greater_or_equal`, `less_than`, `less_or_equal`, `contains`, `not_contains`, `starts_with`, `ends_with`, `exists`, `is_empty`.
- `steps[].branches[].conditions[].value` (string | number | boolean, optional): What the value is compared with. Text can hold `{{name}}` slots, filled from what started the run. Up to 500 characters.
- `steps[].branches[].conditions[].step` (string, optional): For `email`: the id of the step that sent it.
- `steps[].branches[].conditions[].status` (string, optional): For `email`: what has to have happened to it: `delivered`, `opened`, `clicked`, `bounced` or `complained`. One of: `delivered`, `opened`, `clicked`, `bounced`, `complained`.
- `steps[].branches[].conditions[].event` (string, optional): For `event` and `waited`: the name of the event.
- `steps[].branches[].conditions[].withinDays` (integer, optional): For `event`: how many days back to look. Without it, since the run started. From 1 to 365.
- `steps[].branches[].conditions[].audienceId` (string, optional): For `audience`: the id of the audience. Up to 64 characters.
- `steps[].branches[].conditions[].not` (boolean, optional): `true` turns the test around.
- `steps[].branches[].conditions[].match` (string, optional): For `group`: `all` when every test inside has to hold, `any` when one is enough. One of: `all`, `any`.
- `steps[].branches[].conditions[].conditions` (object[], optional): For `group`: the tests inside it. Up to 10 items.
- `steps[].branches[].conditions[].conditions[].kind` (string): What is tested: `data` (a value in what started the run), `waited` (a value in an event a wait step received), `contact` (a field or a property of the contact), `email` (what happened to an email this run sent), `event` (whether the person sent an event), `audience` (whether they are in an audience), `subscribed` (whether the contact is subscribed) or `group` (several tests as one). One of: `data`, `waited`, `contact`, `email`, `event`, `audience`, `subscribed`, `group`.
- `steps[].branches[].conditions[].conditions[].field` (string, optional): For `data`, `waited` and `contact`: the name of the value, such as `plan` or `order.total`. A contact has `email`, `first_name`, `last_name`, `status` and its properties. Up to 120 characters.
- `steps[].branches[].conditions[].conditions[].operator` (string, optional): For `data`, `waited` and `contact`: how the value is compared. `exists` and `is_empty` take no `value`. One of: `equals`, `not_equals`, `greater_than`, `greater_or_equal`, `less_than`, `less_or_equal`, `contains`, `not_contains`, `starts_with`, `ends_with`, `exists`, `is_empty`.
- `steps[].branches[].conditions[].conditions[].value` (string | number | boolean, optional): What the value is compared with. Text can hold `{{name}}` slots, filled from what started the run. Up to 500 characters.
- `steps[].branches[].conditions[].conditions[].step` (string, optional): For `email`: the id of the step that sent it.
- `steps[].branches[].conditions[].conditions[].status` (string, optional): For `email`: what has to have happened to it: `delivered`, `opened`, `clicked`, `bounced` or `complained`. One of: `delivered`, `opened`, `clicked`, `bounced`, `complained`.
- `steps[].branches[].conditions[].conditions[].event` (string, optional): For `event` and `waited`: the name of the event.
- `steps[].branches[].conditions[].conditions[].withinDays` (integer, optional): For `event`: how many days back to look. Without it, since the run started. From 1 to 365.
- `steps[].branches[].conditions[].conditions[].audienceId` (string, optional): For `audience`: the id of the audience. Up to 64 characters.
- `steps[].branches[].conditions[].conditions[].not` (boolean, optional): `true` turns the test around.
- `steps[].branches[].to` (string | null, optional): The id of the step that follows when this path is taken. `null` ends the run.
- `steps[].percent` (integer, optional): For `split`: the share of people, in percent, who take the `yes` path. From 1 to 99.
- `steps[].firstName` (string, optional): For `update_contact`: a new first name. Up to 120 characters.
- `steps[].lastName` (string, optional): For `update_contact`: a new last name. Up to 120 characters.
- `steps[].properties` (Record<string, string | number | boolean | null>, optional): For `update_contact`: properties to set, by name. `null` removes one. Text can hold `{{name}}` slots.
- `steps[].subscription` (string, optional): For `update_contact`: `subscribed` or `unsubscribed`. One of: `subscribed`, `unsubscribed`.
- `steps[].audienceId` (string, optional): For `add_to_audience` and `remove_from_audience`: the id of the audience. Up to 64 characters.
- `steps[].webhookId` (string, optional): For `webhook`: the id of the webhook that gets an `automation.step` event. Up to 64 characters.
- `steps[].data` (Record<string, string | number | boolean>, optional): For `send_event`: values that go with the event, by name. Text can hold `{{name}}` slots.
- `problems` (object[]): What is missing or wrong in the copy you edit.
- `problems[].code` (string): What kind of problem it is: `missing`, `invalid`, `unknown_step`, `unreachable`, `loop` or `empty`. One of: `missing`, `invalid`, `unknown_step`, `unreachable`, `loop`, `empty`.
- `problems[].step` (string | null): The id of the step it is about, or `null` for the trigger and the settings.
- `problems[].field` (string): The field it is about, such as `subject` or `trigger.event`.
- `problems[].message` (string): The problem in words.
- `problems[].blocking` (boolean): `true` when it has to be fixed before the automation can be published.
- `stepStats` (object[]): What happened at each step, by step id.
- `stepStats[].id` (string): The id of the step.
- `stepStats[].entered` (integer): How many runs got to this step.
- `stepStats[].here` (integer): How many runs are waiting at this step now.
- `stepStats[].done` (integer): How many runs went past it.
- `stepStats[].failed` (integer): How many runs failed on it.
- `stepStats[].skipped` (integer): How many runs skipped it.
- `stepStats[].sent` (integer): How many emails it sent.
- `stepStats[].delivered` (integer): How many of those were delivered.
- `stepStats[].opened` (integer): How many were opened.
- `stepStats[].clicked` (integer): How many had a link clicked.
- `stepStats[].bounced` (integer): How many bounced.
- `stepStats[].complained` (integer): How many were marked as spam.
- `stepStats[].yes` (integer): How many runs took its `yes` path.
- `stepStats[].no` (integer): How many runs took its `no` path.

## Example

MCP:

```json
{
  "name": "automations_resume",
  "arguments": {
    "id": "auto_winback"
  }
}
```

Answer, under structuredContent:

```json
{
  "object": "automation",
  "id": "auto_winback",
  "name": "Win back quiet customers",
  "description": "Offers a discount and waits a week for an order.",
  "status": "active",
  "pausedReason": null,
  "pausedDetail": "",
  "trigger": {
    "kind": "event",
    "event": "customer.quiet"
  },
  "settings": {
    "timezone": "UTC",
    "reentry": "after_exit",
    "reentryAfterDays": 0,
    "window": null,
    "exitOn": [],
    "respectUnsubscribes": true
  },
  "stepCount": 3,
  "version": 1,
  "publishedAt": "2026-10-18T09:30:00.000Z",
  "changed": false,
  "stats": {
    "entered": 1140,
    "active": 0,
    "completed": 1088,
    "exited": 52,
    "failed": 0,
    "canceled": 0,
    "sent": 1904,
    "lastRunAt": "2026-11-24T09:30:00.000Z"
  },
  "createdAt": "2026-10-18T09:30:00.000Z",
  "updatedAt": "2026-11-27T09:30:00.000Z",
  "steps": [
    {
      "id": "offer",
      "kind": "send_email",
      "name": "We miss you",
      "next": "wait_order",
      "from": "Acme <hello@mail.example.com>",
      "subject": "A little something to come back to",
      "html": "<p>Here is 20% off your next order.</p>"
    },
    {
      "id": "wait_order",
      "kind": "wait_for_event",
      "name": "Ordered within a week?",
      "yes": null,
      "no": "last_call",
      "amount": 7,
      "unit": "days",
      "event": "order.paid"
    },
    {
      "id": "last_call",
      "kind": "send_email",
      "name": "Last call",
      "next": null,
      "from": "Acme <hello@mail.example.com>",
      "subject": "Your offer ends tonight",
      "html": "<p>The 20% is gone at midnight.</p>"
    }
  ],
  "problems": [],
  "stepStats": [
    {
      "id": "offer",
      "entered": 1140,
      "here": 0,
      "done": 1140,
      "failed": 0,
      "skipped": 0,
      "sent": 1140,
      "delivered": 1122,
      "opened": 498,
      "clicked": 201,
      "bounced": 0,
      "complained": 0,
      "yes": 0,
      "no": 0
    },
    {
      "id": "wait_order",
      "entered": 1140,
      "here": 0,
      "done": 1140,
      "failed": 0,
      "skipped": 0,
      "sent": 0,
      "delivered": 0,
      "opened": 0,
      "clicked": 0,
      "bounced": 0,
      "complained": 0,
      "yes": 376,
      "no": 764
    },
    {
      "id": "last_call",
      "entered": 764,
      "here": 0,
      "done": 764,
      "failed": 0,
      "skipped": 0,
      "sent": 764,
      "delivered": 750,
      "opened": 221,
      "clicked": 64,
      "bounced": 0,
      "complained": 0,
      "yes": 0,
      "no": 0
    }
  ]
}
```
