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
| Name | In | Type | Req | Description |
|---|---|---|---|---|
| webhook_id | param | integer | yes | |
| trigger | param | string | yes |
/ 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