How do I migrate workflow rules to flows

How do I migrate workflow rules to flows

Since Salesforce has officially retired Workflow Rules, migrating them to Flow Builder is a critical task for maintaining your org. Salesforce provides a built-in tool called the Migrate to Flow tool to make this process easier, though complex logic may still require manual rebuilding.

Step 1: Access the Migration Tool

How do I migrate workflow rules to flows | Salesforce | Step 1
  • Navigate to Setup.
  • In the Quick Find box, type Migrate to Flow.
  • Select Migrate to Flow from the results.

Step 2: Select the Workflow Rule

The tool will display a list of all active and inactive Workflow Rules in your system.

How do I migrate workflow rules to flows | Salesforce | Step 2
  • Find the Workflow Rule you want to migrate.
  • Check the box next to the rule name.
  • Click the Migrate to Flow button in the top-right corner.

Step 3: Review and Map Criteria

  • Select the Criteria you want to migrate (usually there is only one).
  • Click Migrate to Flow.
  • Salesforce will generate a new Record-Triggered Flow that mimics the logic of your old rule.
  • Click Test in Flow Builder to open the new flow and verify the elements.

Step 4: Test and Deactivate the Old Rule

Crucial Step: You must not have both the Workflow Rule and the Flow active at the same time, or the action (like sending an email) will happen twice.

  • In Flow Builder, click Activate on your new flow.
  • Go back to Setup > Workflow Rules.
  • Find the old rule and click Deactivate.
  • Test a record to ensure the Flow triggers correctly.

Step 5: Manual Migration (When the tool fails)

The migration tool cannot handle everything. You will need to manually rebuild the flow if your Workflow Rule contains:

  • Complex Formulas: Some advanced logic doesn’t translate perfectly.
  • Outbound Messages: While supported now, older versions required manual setup.
  • Multiple Actions: If a rule has a mix of immediate and time-dependent actions, review the “Scheduled Paths” in Flow carefully.

Step 6: Technical Comparison for your Guide

When explaining this to your team, use this table to show how Workflow elements translate to Flow elements:

Step 7: Why Move to Flow?

  • Performance: Flows are more efficient and execute faster than Workflow Rules.
  • Execution Order: You have more control over which automation runs first.
  • Debugging: Flow Builder has a “Debug” button that lets you test logic without actually changing data.
  • Capabilities: Flows can do much more, such as deleting records or updating unrelated records, which Workflows could never do.
Last Updated 2nd February 2026.

Was this article helpful?

We publish our Knowledge Base to help individuals and businesses resolve common issues across websites, advertising platforms, Salesforce and other digital systems.

We regularly review and update our guides, but the platforms, software and services covered can change without notice. As a result, screenshots, settings, features or recommended processes may differ from those available when an article was last reviewed.

The information provided is general guidance and should not be treated as advice specific to your systems or circumstances. UTDS Optimal Choice cannot accept responsibility for errors, data loss, service disruption or other issues resulting from changes made by following these guides.

If you are unsure about any of the steps, particularly where a change could affect live systems, data, tracking or business processes, we recommend speaking to us before making the change. Our team can review your specific setup and provide advice based on the current platform and configuration.

Time for some professional support?

Our team are ready to help. As one of the few digital agencies that is both a registered Salesforce Consulting Partner and Google Partner Agency, UTDS Optimal Choice is expertly positioned to support you across your entire digital landscape.

Related Pages