AI Ability since v2.0.0
create_chain_link
Add a chain link — Add a source→target edge to a chain.
$
Add a source→target edge to a chain. Rejected if it would create a cycle across any chain. Registered as the WordPress Ability flowsystems-webhook-actions/create_chain_link, so external AI tools (Claude Code, Cursor) can call it over MCP or REST with a scoped API token.
/ Plan step shape
{ "ability": "create_chain_link", "input": { "chain_id": …, "source_webhook_id": …, "target_webhook_id": … } }
/ 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 |
|---|---|---|---|---|
| chain_id | param | integer | yes | |
| source_webhook_id | param | integer | yes | |
| target_webhook_id | param | integer | yes |
/ Examples
Plan step as the AI Builder proposes it
{ "id": "step_1", "ability": "create_chain_link", "summary": "…", "input": { "chain_id": 1, "source_webhook_id": 12, "target_webhook_id": 15 } }
/ Related
Ready Your next automation is
Your next automation is
one sentence away.
$ wp plugin install flowsystems-webhook-actions --activate