test_notification_rule
Send a test notification — Render a rule against the webhook's captured example (or a real delivery) and send it to every channel of the rule right now.
Renders a rule's message from the webhook's captured example payload — or from a real delivery log when log_id is passed — prefixes it with “[Test]” and sends it to every channel on the rule. Returns the per-channel outcome and the rendered subject, title, body and one-liner. Registered as the WordPress Ability flowsystems-webhook-actions/test-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": "test_notification_rule", "input": { "id": …, "log_id": …, "confirmed": true } }
/ Scope & confirmation
Minimum API-token scope for external (MCP/REST) callers: full. Always pauses for confirmation — a real message goes out to email, Slack, SMS or a pager — and runs only with confirmed: true.
/ Input fields
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| id | param | integer | yes | |
| log_id | param | integer | — | Render from this delivery log instead of the captured example. |
| confirmed | param | boolean | — | Must be true to send. |
/ Examples
Plan step as Build with AI proposes it
{ "id": "step_5", "ability": "test_notification_rule", "summary": "Send a test alert to #ops-alerts", "input": { "id": "{{step_4.id}}" } }
/ Related