WP Webhooks / Docs / create_chain_link
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

NameInTypeReqDescription
chain_idparamintegeryes
source_webhook_idparamintegeryes
target_webhook_idparamintegeryes

/ 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
one sentence away.

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