create_or_update_flow
Create a new Power Automate flow or update an existing one from a definition object. Use dry-run to preview changes before writing.
Instructions
Create a new flow or update an existing one from a definition object. dryRun is the default — pass dryRun:false to actually write. Get the definition shape from get_flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Default true — preview only. Pass false to actually write. | |
| flowId | No | Flow ID to update. Omit to CREATE a new flow. | |
| definition | Yes | The workflow definition object (properties.definition from get_flow). | |
| displayName | No | Display name. Required when creating. | |
| environmentId | Yes | Environment ID. | |
| connectionReferences | No | Connection references map (properties.connectionReferences from get_flow). |