AI Ability since v2.0.0
create_webhook
Create a webhook — Create a new webhook (always created DISABLED until the user enables it).
$
Create a new webhook (always created DISABLED until the user enables it). Provide name, endpoint_url, http_method and triggers. Registered as the WordPress Ability flowsystems-webhook-actions/create_webhook, so external AI tools (Claude Code, Cursor) can call it over MCP or REST with a scoped API token.
/ Plan step shape
{ "ability": "create_webhook", "input": { "name": …, "endpoint_url": …, "http_method": …, "triggers": …, "auth_credential_id": …, "custom_headers": …, "url_params": … } }
/ 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 |
|---|---|---|---|---|
| name | param | string | yes | |
| endpoint_url | param | string | yes | |
| http_method | param | string | — | GET | POST | PUT | PATCH | DELETE |
| triggers | param | array | — | |
| auth_credential_id | param | integer | — | |
| custom_headers | param | object | — | |
| url_params | param | object | — |
/ Examples
Plan step as the AI Builder proposes it
{ "id": "step_1", "ability": "create_webhook", "summary": "…", "input": { "name": "CF7 → n8n", "endpoint_url": "https://n8n.example.com/webhook/abc123", "http_method": "POST", "triggers": [ "wpcf7_mail_sent" ] } }
/ Related
Ready Your next automation is
Your next automation is
one sentence away.
$ wp plugin install flowsystems-webhook-actions --activate