Skip to main content

Metadata XML

The Metadata XML tab displays the raw Salesforce Metadata API XML for the current flow version.

Overview​

This is the same XML that Salesforce produces when you retrieve a flow via the Metadata API or SFDX. It is the authoritative source of truth for a flow's complete definition, including all elements, connectors, variables, and configuration properties.

Uses​

  • Deployment — copy the XML to include in a metadata deployment package (flows/ directory)
  • Debugging — inspect the exact XML that Salesforce stores, which can reveal properties not surfaced in Flow Builder
  • Version control — compare the XML of two versions to understand exactly what changed at the metadata level
  • Integration — use the XML as input to external tools or scripts that process Salesforce metadata

Tips​

  • Use the copy button in the toolbar to copy the full XML to the clipboard.
  • The XML is read-only in Brobench — to make changes, open the flow in Flow Builder via the external link button on the flow header.
  • For a more navigable view of the same data, see the Metadata JSON tab.