test_dispatch
Test-dispatch a webhook — Send a synchronous test delivery for a webhook using a provided or captured payload, and return the HTTP result so the agent can verify the integration end to end.
Send a synchronous test delivery for a webhook using a provided or captured payload, and return the HTTP result so the agent can verify the integration end to end. Registered as the WordPress Ability flowsystems-webhook-actions/test_dispatch, so external AI tools (Claude Code, Cursor) can call it over MCP or REST with a scoped API token.
/ Plan step shape
{ "ability": "test_dispatch", "input": { "webhook_id": …, "trigger": …, "payload": … } }
/ 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 |
|---|---|---|---|---|
| webhook_id | param | integer | yes | |
| trigger | param | string | — | |
| payload | param | object | — | Optional custom payload; falls back to the captured example. |
/ Examples
Plan step as the AI Builder proposes it
{ "id": "step_1", "ability": "test_dispatch", "summary": "…", "input": { "webhook_id": 12, "trigger": "wpcf7_mail_sent" } }
/ Related