AI Ability since v3.3.0
list_notification_rules
List notification rules — Site-wide rules, or one webhook's own rules. Each rule = event + filters + channel_ids + optional template.
$
Lists notification rules: the site-wide ones (webhook_id null) or a webhook's own when webhook_id is passed. Each rule carries its event, filters, channel ids, template, quiet time and digest setting. Registered as the WordPress Ability flowsystems-webhook-actions/list-notification-rules, 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": "list_notification_rules", "input": { "webhook_id": … } }
/ Scope & confirmation
Minimum API-token scope for external (MCP/REST) callers: read.
/ Input fields
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| webhook_id | param | integer | — | Omit for site-wide rules. |
/ Examples
Plan step as Build with AI proposes it
{ "id": "step_1", "ability": "list_notification_rules", "summary": "Check what already alerts for this webhook", "input": { "webhook_id": 12 } }
/ Related
Ready Your next automation is
Your next automation is
one sentence away.
$ wp plugin install flowsystems-webhook-actions --activate