Introduction to Flow in Salesforce

Replacing Process Builder With a Flow in Lightning Experience

Nickson Joram
8 min readMay 20, 2022

Salesforce Flow offers users to automate business requirements by creating Flows, which collect, update, edit, and create Salesforce data, and make those flows available to the appropriate users or systems.

The declarative interface for creating individual flows is called Flow Builder. Without using a programming language, Flow Builder can be used to create code-like logic.

Flows can run logic, connect with the Salesforce database, invoke Apex classes, and walk users through data collection and update pages.

Flow is made up of three blocks

  1. Elements that show up on the canvas.
  2. Connectors define the flow’s path during execution. They instruct the flow as to which element should be executed next.
  3. Resources, such as field values or formulas, are containers that represent a particular value.

When to use Flows?

In most cases, determining the type of automation to utilize for a certain process begins with determining where the data for the process comes from and where it needs to go. Consider whether a flow, workflow field update, or process is the best way to accomplish your goals.