# automation.action.applied

An automation changed something, such as an ad set paused or a budget raised.

### Payload notes

`previous` and `target` carry the value before and the value set. Each action sends one event; dedupe on `id`, which stays the same if the event is sent again.




**Payload for `automation.action.applied`:**

- **id** (required) `string`: Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
- **profiles**: `WebhookProfiles` - See schema definition
- **test** `boolean`: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
- **event** (required) `string`: No description - one of: automation.action.applied, automation.action.failed, automation.action.unknown
- **automation** (required): `WebhookAutomationRef` - See schema definition
- **accountId** (required) `string`: The connected account the automation acts on.
- **checkId** (required) `string`: The check that recorded the action.
- **action** (required) `object`: 
  - **id** (required) `string`: No description
  - **subjectId** (required) `string`: The platform's id of the object changed: an ad, ad set or campaign for ad rules.
  - **type** (required) `string`: `pause`, `activate`, `adjust_budget` or `notify` for ad rules. New values may be added.
  - **status** (required) `string`: No description - one of: applied, skipped, failed, unknown
  - **reason** (required) `string,null`: No description
  - **previous** (required) `object,null`: The value before the change, such as `{ "dailyBudget": 40 }`.
  - **target** (required) `object,null`: The value the change sets, such as `{ "dailyBudget": 48 }` or `{ "status": "paused" }`.
  - **actedAt** (required) `string` (date-time): No description
- **timestamp** (required) `string` (date-time): No description