create_flow
Creates a validated draft flow from a definition, checking structure, node config, channels, and references; nothing runs until you publish and activate it.
Instructions
Create a flow. Creates a DRAFT from a definition (see GET /flows/nodes for the catalogue). The definition is validated first: structure, per-node config, the plan's node cap, channel compatibility with the trigger source, keyword collisions with active flows, and references to custom fields, comment triggers and other flows (422 invalid_definition with errors[] and warnings[]). Nothing runs until you publish and activate. The visual builder lays the nodes out the first time the flow is opened.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| tag_id | No | Tag applied to people who enter the flow. Pro plans and above; ignored otherwise. | |
| channels | No | Must be channels the trigger source can fire on. | |
| definition | Yes | A flow as a graph. Read GET /flows/nodes for every node type, port and config field. |