WP Webhooks / Docs / test_dispatch
AI Ability since v2.0.0

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

NameInTypeReqDescription
webhook_idparamintegeryes
triggerparamstring
payloadparamobjectOptional 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

Ready

Your next automation is
one sentence away.

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