WP Webhooks / Docs / update_notification_rule
AI Ability since v3.3.0

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

NameInTypeReqDescription
idparamintegeryes
eventparamstring
channel_idsparaminteger[]
filtersparamobject
templateparamobject
throttle_secondsparaminteger
digestparamstring`hourly` | `daily`.
is_enabledparamboolean

/ 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

Ready

Your next automation is
one sentence away.

$ wp plugin install flowsystems-webhook-actions --activate