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

get_trigger_schema

Get captured payload + mapping for a trigger — Return the last captured example payload, field mapping and conditions for a webhook+trigger so the agent can map against the real payload shape.

$

Return the last captured example payload, field mapping and conditions for a webhook+trigger so the agent can map against the real payload shape. Registered as the WordPress Ability flowsystems-webhook-actions/get_trigger_schema, so external AI tools (Claude Code, Cursor) can call it over MCP or REST with a scoped API token.

/ Plan step shape

{ "ability": "get_trigger_schema", "input": { "webhook_id":, "trigger":} }

/ Scope & confirmation

Minimum API-token scope for external (MCP/REST) callers: read. Read-only — the agent runs it freely while planning and verifying.

/ Input fields

NameInTypeReqDescription
webhook_idparamintegeryes
triggerparamstringyes

/ Examples

Plan step as the AI Builder proposes it

{
  "id": "step_1",
  "ability": "get_trigger_schema",
  "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