create-flow
Create a new cloud flow by providing a Logic Apps workflow JSON definition. Optionally specify connection references to existing connectors.
Instructions
Create a new cloud flow. definition is a Logic Apps workflow JSON (triggers + actions). connectionReferences must bind to EXISTING connector connections (the API will not mint OAuth connections for you -- see list-connections). Connector-less flows (recurrence + HTTP) need no references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Initial state (default Started) | |
| displayName | Yes | Display name for the new flow | |
| environment | No | Environment id (defaults to POWER_AUTOMATE_ENV) | |
| definitionJson | Yes | Workflow definition as a JSON string (schema/triggers/actions) | |
| connectionReferencesJson | No | connectionReferences as a JSON string (omit for connector-less flows) |