Avatar photo

About Heather Rinke

CRM and Marketing Automation Strategist. Heather Rinke is 6x Salesforce certified and PMP, with 8+ years experience as a Salesforce and Pardot Admin. She has a a background in digital marketing and design, marketing/sales operations and process automation, and loves to use technology and strategy to help organizations exceed their goals. When not working, you can find her with her nose in a book, on a yoga mat, or anywhere outdoors.

Automation Facelift: Migrate Workflow Rules and Process Builder to Salesforce Flow

With Salesforce moving to Flow as its go to low-code automation tool, and Workflow Rules and Process Builder planned for retirement, it’s a good idea to migrate your existing automations to Flow. Here are best practices to get started on this process BEFORE you begin migrating.

Reviewing Your Current Automation Stack

Depending on how old your org is, it may have a lot of legacy configurations from old or obsolete business processes that don’t mean anything for your organization today. Do you really need to bring all of that technical debt along in your migration process? Or would you rather have an opportunity for a fresh start with your automations?

Before jumping in and migrating all of your current automations, this is a good opportunity to develop a migration strategy so that the changes being made now will meet the current and future needs of your organization. 

Develop a Salesforce Flow Migration Strategy

STEP 1: Audit your current workflow rules and process builders

First, inventory your list of workflow rules and process builders and perform an analysis. Here is a template you can use for your audit (click File > Make a copy).

When looking at your current automation, consider the following questions:

  • Which automations are active?
  • What automations are still relevant?
  • How many automations are there per object?
  • How complex is each automation?
  • Can any automations be combined?
  • Which automations make updates to the same record that triggered it?

STEP 2: Decide Which Automations to Migrate

After completing the audit, you will have a better idea of the automations in your org, which are still relevant and need to be migrated, and which can be decommissioned. 

This is also a great time to decide on which you will consolidate. Candidates for consolidation are:

  • Automations on the same object with the same trigger criteria. For example if you have 3 workflow rules that trigger from a Lead Status change, these may be a good candidate for combining into a single flow.
  • Automations that include field updates on the triggering record.
  • Automations that have similar components that could be combined into a subflow that’s called from each flow.

STEP 3: Prioritize Your Migration Plan

As you assess the automations in your org, you will become aware of those that are critical vs nice to have, and which can be combined into a single well performing flow. Use this understanding to prioritize the workflow rules and process builders you want to tackle first.

STEP 4: Get Familiar with Salesforce Flow

If you’re not familiar with Flow, and the types of flows available, this should be your next step before jumping in, to help make informed decisions about your flow strategy.

There are many resources available to help you get started.

You can check out my recent blog post for more information and links to a few great resources. Or this one from Mike Morris that outlines a process to manage Salesforce campaign activation with Flow.

STEP 5: Decide on a Flow Strategy

Ok so you know what workflow rules and processes need to be migrated and which to tackle first. So how are you going to actually migrate them? 

Salesforce Migrate to Flow Tool
  • Salesforce provides a Migrate to Flow Tool to help with the process of migrating current Workflow Rules and Process Builder to flow.
    • Support for migrating Workflow Rules is generally available as of Summer ’22.
    • Support for migrating Process Builder is coming and estimated early 2023.
  • The tool is very easy to use and does pretty much all of the lift in the migration process, creating the flow with start criteria and each action, and even makes it easy for you to deactivate the old and active the new.
  • One consideration is that the current version of the tool will migrate each workflow rule into its own flow. So if you have 20 workflow rules and use the tool to migrate you will end up with 20 flows. Will this work for your org?
Third-Party Migration Tools
  • The UnofficialSF site has a tool called ConvertToFlow v2 that can be used to convert Workflow Rules and Process Builder. I personally have not used it but it has been recommended in the community.
Building Flows Manually

If you have identified automations that can be combined, or are migrating process builders, you will no doubt build some flows. Before clicking that New Flow button, decide on:

  • Will this be a ‘Before Save’ vs ‘After Save’ record-triggered Flow?
    • Will the flow make an update on the same record that triggered the flow? If yes then a Before Save flow may be the best fit for better performance.
    • Will this flow be invoking an action or creating/updating related records? Then you will want to create an After Save flow.
  • Is there an existing flow with the same entry conditions? Can it be updated to include the logic you are currently migrating?
  • Is there an existing flow that has the same components involved? Can those components be converted into a subflow to be used in each of the flows?

Step 5: Build your Flow(s)!

Now that you have completed all of this awesome prep work, you are ready to roll up your sleeves and get building!

Questions about using Salesforce Flow? 

Let us know how you’re using Salesforce Flow in the comments section, or reach out to us with any questions.

We’re here to help!

Original article: Automation Facelift: Migrate Workflow Rules and Process Builder to Salesforce Flow

©2022 The Spot. All Rights Reserved.

The post Automation Facelift: Migrate Workflow Rules and Process Builder to Salesforce Flow appeared first on The Spot.

By |2022-08-06T00:16:00+00:00August 6th, 2022|Categories: Marketing Automations, Pro Tips, revive, Strategy|

An Introductory Guide to Salesforce Flow for Marketers

Marketing and sales teams have a lot on their plates. Marketing is focused on generating interest and qualifying leads, and the Sales team is focused on closing deals and securing business. 

Both teams benefit from working together to make sure they are focused on the right people at the right time, by streamlining the handoff and ensuring data quality every step of the way. To help with this, marketers have the power of Marketing Cloud/Pardot automation tools, which can tackle a lot of work. 

But when it comes to more advanced data wizardry and support for unique processes and actions like related record creation, marketers have another powerful tool that can help. 

Enter — Salesforce Flow!

Wait, what is Salesforce Flow?

Salesforce Flow is a powerful declarative automation tool that can be used to automate complex business processes without developer skills. Flows let you build customized user experiences and can save time by making sure the right actions are completed at the right time.

And, because they are declarative (relying on clicks, rather than code), Salesforce Flows are easier to manage than a developed (e.g. Apex) solution.

Flow is the future for Salesforce declarative automation 

Sound familiar? You may have heard Salesforce Flow discussed a lot in the community recently. For one thing, Salesforce has really gone all-in with enhancements to Flow that let you do way more than ever before.  

Not to mention, Salesforce has announced plans to sunset Workflow Rules and Process Builder, two of its legacy automation tools. For this reason, you should use flow for new process automation, and companies should consider migrating existing (and relevant) processes to Flow.

Sounds cool, right? Now you’re probably wondering, how do I learn more about Flow? 

We’ve got you! Here is a high-level overview on the basics around Salesforce Flow.

Marketing Uses of Flow

Now that you know a little more about flows and how they work, it’s time to explore how marketing teams can use Flow.

Below are just a few ideas, but the possibilities are endless! 

  • Managing Salesforce campaign activation
  • Creating a custom task series for Sales
  • Standardizing Campaign Member Statuses
  • Capturing lifetime prospect scores
  • Guiding a rep through a outbound calling “wizard” with branded messaging
  • Initial customer onboarding steps when an opportunity closes
  • Automating field values based on another field
  • Automating Lead Conversion (with the help of Apex)
  • Setting the Marketing Data Sharing field value to control when Leads/Contacts sync to Pardot and, if using multiple Pardot Business Units, which Business Unit they sync to

Flow Building Basics

This section covers what you need to know when building a flow.

We recommend you build and test your flow in a Sandbox environment. After testing and validation, deploy to production.

Flow Types

First, there are four core flow types that are most commonly used:

Screen Flows

When to use Screen Flows:

  • When you need a wizard-like screen interface that users can interact with to view/add/update information, create records, etc.
  • Good for customizing user experience and guide them through process steps

How Screen Flows are launched:

  • Common uses include launching from an action button or displayed on a Lightning record page.

Use Cases:

  • Walkthrough of creating a lead or opportunity
  • Quick start of setting up accounts
  • Agent phone script guidance
  • A “card” displayed on a record page displaying related record information in rich text, or showing an image when a lead is hot. (see screenshot)

Record-Triggered Flows

When to use Record-Triggered Flows:

  • An autolaunched flow that runs in the background when a record is created, updated, or deleted.
  • It’s this type of flow that replaces the functionality of Workflow Rules and Process Builder.

How they are launched:

  • Launched Independently, when a record is created, updated, or deleted and meets entry conditions

Use Cases:

Schedule-Triggered Flows

When to use Schedule-Triggered Flows:

  • Background process that runs at a specified time and frequency (daily, weekly, or one-time)

How they are launched:

  • Launched Independently, based on set time and entry conditions

Use Cases:

  • Create or update records in batches
  • Delete obsolete data periodically
  • Send email alert to Marketing if Lead is hasn’t been actioned by Sales

Autolaunched Flows

When to use Autolaunched Flows:

  • An automated process that is triggered by another process, like another flow, process builder, Apex or API.
  • Good for situations when you have a repeatable set of tasks that may be called by more than one process (called a subflow).

How they are launched:

  • From another process

Examples:

  • Error handling subflows, like having a more user-friendly message that appears if you experience an error.
  • A utility flow that handles task creation for different record triggered events

This handy chart can help to determine which type of flow to use:

which type of salesforce flow to use

Building Salesforce Flows

Ok, so now we know the types of flows we can build. Now let’s take a closer look at what goes into building them.

Flow Builder

Flow Builder is the place where you build and test your flows. There are three key areas in the builder:

  • The Toolbox is where you create and manage all of the elements and resources that go into your flow. More on that shortly.
  • The Canvas is where you build your flow by adding elements using the (+) tool. 
  • The Button Bar at the top lets you view flow information, and test/debug, save and activate your flow. 

Flow Building Blocks

The main building blocks for building Salesforce flows are:

  • (1) Start – This is where you decide how and when the flow is going to start! Options are dependent on the type of flow — most relevant for Record Triggered or Scheduled flow types — but this can be very important to making sure the flow starts when it should.
  • (2) Elements – These are what you add to the Canvas to build out your flow. While the full list can be found here, several common elements include:
    • Get Records
    • Create or Update Records
    • Decisions
    • Actions
    • Loops
  • (3) Connectors – These define the path a flow will take, and which element to execute next.
  • (4) Resources – These are the pieces that store information that are used by Elements throughout the flow. Examples of these are variables that store field values, formulas or choice sets. 

Tips on Building and Updating Salesforce Flows

  • Copying/Pasting Elements – You can duplicate elements which can be a time saver if you need a similar element somewhere else in the flow. Simply click on the element and select Copy Element, then click the (+) in the place where you want to paste the copy, and click Paste Copied Elements. 
  • Extending Flows – Using the components available on the AppExchange and UnofficialSF.
  • Save often – While building a flow it’s a good idea to Save your flow often so you don’t lose any work. You can perform a quick save on Flows that haven’t been activated instead of having to save as another version.
  • Be sure to activate when ready! – Once you’re ready to run the flow live, remember to activate it.
  • Opening existing Flows – Clicking on the flow name on the Flows page will open the Active flow. If you have saved a new version of the flow but haven’t activated it, you need to go into View Details (click the arrow to the right of the flow in the list view) to view and open the newer inactive version.

There are many more best practices to building flows that are highly recommended.

I’ve built a Flow! What’s next?

Once you’ve built your flow it’s important to debug and test your flow to make sure it’s running the way it’s expected to. 

When you have tested and are happy with the results, then you can deploy to production. If you’re using a changeset to deploy, make sure you activate the flow in your production environment!

Where to learn more about Flow

This article is just the tip of the iceberg of flow related content. There are A TON of great resources out there. 

Here are a few to get you started:

Let us know how you’re using Flow in the comments section, or reach out to us with any questions.

Original article: An Introductory Guide to Salesforce Flow for Marketers

©2022 The Spot. All Rights Reserved.

The post An Introductory Guide to Salesforce Flow for Marketers appeared first on The Spot.

By |2022-06-24T20:55:00+00:00June 24th, 2022|Categories: Getting Started, revive, Setup & Admin|