---
title: cascades_create_workflow
description: Create a new cascade (decision workflow) from a JSON definition, owned by the API key's account.
canonical_url: "https://cascades.crscreditapi.com/docs/mcp/tools/cascades_create_workflow"
doc_version: "1.0.0"
last_updated: "2026-10-09T14:37:54Z"
source: docs/mcp/tools.json
---

# `cascades_create_workflow`

Create a new cascade (decision workflow) from a JSON definition, owned by the API key's account. Use this to turn a described policy into a runnable cascade: compose the node graph in `definition` and POST it. The cascade is active by default, so you can immediately run it with cascades_trigger_workflow using the returned id — pass active:false to create a draft instead. Sandbox accounts always receive a draft, which still runs in test mode.

- **Access:** write
- **Scopes:** `workflows:write`
- **REST operation:** `POST /api/v1/workflows` — [createWorkflow](https://cascades.crscreditapi.com/docs/api/workflows/create-workflow.md)

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `name` | `string` | yes |  |
| `definition` | `any` | no | The node graph. Omit or pass `[]` to create an empty draft you fill in later. |
| `use_case` | `string` | no | Optional use case label. |
| `trigger_type` | `string` | no | API-created cascades default to `manual` so they can be triggered through this API. Unknown values fall back to `manual`. One of: `manual`, `event`, `scheduled`. |
| `active` | `boolean` | no | Whether the cascade is immediately triggerable in live mode.
Omitted or `null` means `true`; pass `false` for a draft. Accounts
without production access always receive a draft regardless of
this value, and the response carries a `note` explaining why.
 |
| `environment` | `string` | no | Target environment: "prod" (default) or "dev". One of: `dev`, `prod`. |

## Example call

```json
{
  "name": "cascades_create_workflow",
  "arguments": {
    "name": "Credit-only prescreen",
    "active": false,
    "definition": [
      {
        "id": "credit",
        "type": "BillingProduct",
        "billing_product_code": "TUC1001"
      }
    ]
  }
}
```

## Example result

```json
{
  "data": {
    "id": 158,
    "object": "workflow",
    "name": "Credit-only prescreen",
    "active": false
  }
}
```

## Sitemap

See the full [sitemap](https://cascades.crscreditapi.com/sitemap.md) for all pages.
