# Policy Webhooks

The workflow engine can notify external systems when policies are published or updated.
Configure the target URLs using the `settings` table:

- `policy_publish_webhook`
- `policy_update_webhook`

Leave the value empty to disable a webhook. When set, `WorkflowEngine` POSTs JSON
with the following fields:

```json
{
  "event": "policy.published",
  "policy_id": 5,
  "title": "Safety Policy",
  "version": 1,
  "tenant_id": 1
}
```

The `event` value is either `policy.published` or `policy.updated`. The payload
includes the policy title and current version so downstream services can take
action such as syncing documents or sending notifications.
