update_notification_rule
Update a notification rule — Change its event, channels, filters, template, throttle, digest or enabled state.
Changes an existing notification rule. Same fields as create_notification_rule plus id; only the fields passed are changed, and a new template goes through the same linter. Registered as the WordPress Ability flowsystems-webhook-actions/update-notification-rule, so external AI tools (Claude Code, Cursor) can call it over MCP, or over the Abilities REST route with a scoped API token.
/ Plan step shape
{ "ability": "update_notification_rule", "input": { "id": …, "is_enabled": …, "template": {…} } }
/ Scope & confirmation
Minimum API-token scope for external (MCP/REST) callers: full. Runs without a confirmation pause (the overall plan is still user-approved before execution starts).
/ Input fields
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| id | param | integer | yes | |
| event | param | string | — | |
| channel_ids | param | integer[] | — | |
| filters | param | object | — | |
| template | param | object | — | |
| throttle_seconds | param | integer | — | |
| digest | param | string | — | `hourly` | `daily`. |
| is_enabled | param | boolean | — |
/ Examples
Plan step as Build with AI proposes it
{ "id": "step_2", "ability": "update_notification_rule", "summary": "Quiet the success rule to one message an hour", "input": { "id": 7, "throttle_seconds": 3600 } }
/ Related