Deploy Flow from Raw XML
sf_create_flow_from_xmlDeploy complex Salesforce Flows directly from raw XML using the Metadata API. Paste complete Flow XML to deploy and optionally activate, bypassing parameter-based builder limitations.
Instructions
Deploys a Salesforce Flow directly from raw XML using the Metadata API zip deploy. Use this for complex flows that are too advanced for sf_create_flow's parameter-based builder — paste the full Flow XML and it deploys it directly. Optionally activates the flow after deployment. The flowXml must be a complete Flow metadata XML document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowXml | Yes | Complete Flow XML content (the full metadata file, starting with <?xml version...> or <Flow xmlns...>) | |
| activate | No | Activate the flow after deployment (default: true). Set to false to deploy as inactive draft. | |
| flowApiName | Yes | API name of the flow to deploy, e.g. 'My_Flow' |