---
title: "create_chain — AI Ability"
description: "Create a webhook chain — Create a named chain that wires 2xx completions of one webhook to downstream webhooks."
url: "https://wpwebhooks.org/docs/ability-create-chain/"
---

[WP Webhooks](/) / [Docs](/docs/) / create\_chain

AI Ability since v2.0.0

# create\_chain

Create a webhook chain — Create a named chain that wires 2xx completions of one webhook to downstream webhooks.

Create a named chain that wires 2xx completions of one webhook to downstream webhooks. Registered as the WordPress Ability `flowsystems-webhook-actions/create_chain`, 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", "input": { "name": …, "description": … } }
```

/ 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 |  |
| description | param | string | — |  |

/ Examples

Plan step as the AI Builder proposes it

```
{
  "id": "step_1",
  "ability": "create_chain",
  "summary": "…",
  "input": {
    "name": "Order pipeline"
  }
}
```

/ Related

[create\_chain\_link](/docs/ability-create-chain-link/)[Webhook Chains](/docs/webhook-chains/)[REST API reference](/webhook-wordpress-plugin-api/)

/Ready

## Your next automation is  
one sentence away.

[Install Plugin→](https://wordpress.org/plugins/flowsystems-webhook-actions/) [See the Plugin →](/wordpress-webhook-plugin/)

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

## Structured data

```json
{"@context":"https://schema.org","@type":"TechArticle","name":"create_chain — AI Ability — Webhook Actions Docs","description":"Create a webhook chain — Create a named chain that wires 2xx completions of one webhook to downstream webhooks.","url":"https://wpwebhooks.org/docs/ability-create-chain/","isPartOf":{"@type":"WebSite","name":"WP Webhooks","url":"https://wpwebhooks.org"},"about":{"@type":"SoftwareApplication","name":"Webhook Actions","applicationCategory":"WordPress Plugin"}}
```
