A flow represents an automated system designed to streamline business operations by gathering data and executing actions within your Salesforce organization or an external platform. Flows facilitate user interaction by presenting screens that lead them through the defined business procedure. These flows are not restricted to any specific entity but rather operate based on records. They can search for, generate, modify, and remove records across various entities. Building flows is made possible through Flow Builder, an intuitive, point-and-click interface. Orchestration, on the other hand, refers to a system that constructs complex business processes by orchestrating a sequence of flows. Unlike flows, orchestrations prioritize the user experience, enabling the management of diverse processes involving multiple users and organizational segments within a unified framework. The feature of Flow Orchestration in Salesforce facilitates the monitoring of these orchestrated processes.
salesforce

Some Common Use cases:

  • Advanced Approval Processes: Orchestrate a multi-stage approval process involving different teams and decision criteria
  • Task Lists for Groups: Assign tasks to multiple users in sequence or parallel. Add the Work Guide component to record pages so users know exactly what to do
  • Order Fulfillment: Automate the order fulfillment process, including tasks like inventory checks, shipping updates, and customer communication
  • Employee Onboarding: Consider employee onboarding that requires a new employee to go through a multi-level, multi-user, multi-system approval process to get equipment and access to digital company resources
  • Service Delivery Orchestration: Multiple teams need to action various steps throughout a client delivery process in a specific order

Difference between Flow and Orchestration flow

Feature Flow Orchestration
Purpose Automates processes via data actions Constructs complex business workflows
Record Centric Yes No
Object Dependency Not tied to a specific object Can involve multiple objects, users
Interface Guides users through screens Monitors operations, enhances efficiency
Tool Uses Flow Builder (Point-and-click) Employs Flow Orchestration

Building Blocks of Flow Orchestration in Salesforce 

1.Stages:

A stage groups related steps, organizing them into a logical phase. Stages are executed sequentially, and only one stage in an orchestration can be in progress at a time. You configure the conditions that must be met for the stage to be considered complete.

2. Steps:

Steps are grouped in stages and can be run sequentially or concurrently. There are three types of steps:

  • Interactive steps: Assign the completion of an active screen flow to a person, group, or queue and require user intervention.
  • Background steps: Run an active auto-launched flow synchronously or asynchronously and have no user interaction.
  • MuleSoft steps: Run an action imported from a MuleSoft operation and have no user interaction.
Salesforce

3. Flow Orchestration Work Items:

When an interactive step in an orchestration runs, it creates a work item and assigns it to a user, group, or queue. The orchestration run then sends an email with a link to the specified record page to all assigned users. They complete the work in the Orchestrator Work Guide component on the specified record page.

4. Decision:

Evaluate a set of conditions, and then route users through the orchestration based on the outcomes of those conditions. This element performs the equivalent of an if-then statement.

 

Salesforce

In this blog, we will explore a practical use case for Salesforce’s powerful Orchestration Flow feature. We will create a multi-step, multi-stage scenario that automates the process of opening a new bank account for a customer and guiding them through their first transaction.

Steps to Follow

1. Create a Screen Flow: The first step is to create a Screen Flow. This flow will guide the customer through the process of creating a transaction. We will later incorporate this flow into our Orchestration Flow.

Untitled 5 953886608b2. Create an Autolaunched Flow: Next, we will create an Autolaunched Flow to send an email to the customer. This flow requires the customer’s email ID and a template for the email. For this example, we will create a simple template with the message: “Congratulations! Your new account has been created and your first transaction has been added.”

Salesforce

3. Create the Orchestration Flow

Now, we will create the Orchestration Flow. We need to define the trigger criteria for this flow. In this case, we will set the flow to run whenever a new bank account is created.

4. Add Steps to the Orchestration Flow

The next step is to add steps to our Orchestration Flow. Each step corresponds to a stage in our process.

Untitled 7 95390e2ce35. Add Interactive Stage

The first stage we will add is an Interactive Stage. This stage will use the Screen Flow we created in Step 1 to interact with the user. Make sure this flow is active before you proceed. In these steps, I am selecting the user who will perform the action, as well as the record on which the action will be performed.

Salesforce6. Add Automated Stage

The second stage we will add is an Automated Stage. This stage will use the Autolaunched Flow we created in Step 2 to send an email to the customer.

Salesforce7. Activate the Flow and Add to the Record Page

Once all stages are added, we can activate the flow and add the Orchestration Work Guide to the record page.

Salesforce

Test the Flow

Finally, we can run a test to ensure that the flow is working as expected.

Here is a demo video that walks you through the entire process.

Conclusion

Salesforce’s Orchestration Flow is a powerful tool that allows us to create complex, multi-step, multi-stage scenarios. In this blog, we covered a simple scenario to demonstrate its capabilities. However, the possibilities are endless. You can create more complex scenarios based on your specific business needs,

Do not hesitate to reach out to us if you need help orchestrating Flow and for more blogs, Stay connected!

Related Articles
Please Make Blog Banner How to Create an Agentforce Enabled Scratch Org in Salesforce 100 1

Setting up an Agentforce-enabled scratch org is the most important step for developers who want to experiment with AI features such as Prompt Builder and Einstein GPT. Whether you’re developing the next generation CRM software or experimenting with how generative AI may improve user experience, a scratch org equipped with Agentforce is your playground. Follow […]

Read More
Step-by-Step Guide to Enhance Your LWC Development Workflow with the Logger API

Are you looking to streamline your LWC development workflow but confused about how to do it? Then you are in the right place. The Salesforce Logger API is a powerful tool that helps you monitor, debug, and improve code quality in real time.  This step-by-step guide walks you through how to set it up and […]

Read More
Enhancing Your Salesforce Experience with a Custom Activity Component

In today’s fast-paced business landscape, productivity hinges on streamlined workflows and intuitive interfaces. While Salesforce offers robust activity tracking capabilities, sometimes the standard components fall short of specific organizational needs.  That’s where a Custom Activity Component comes in—designed to tailor your activity management experience, boost user efficiency, and provide deeper insights into customer interactions. In […]

Read More
Step-by-Step Guide to Integrating Salesforce Doc-Gen with eSigning Tools

In today’s fast-paced digital landscape, streamlining document workflows is no longer a luxury—it’s a necessity.  Integrating a document generation app, like Docs Made Easy, with an eSigning tool, helps businesses automate the entire document lifecycle—from creation to signature—saving time, reducing errors, and boosting productivity. In this guide, we’ll walk you through the key steps, tools, […]

Read More
How to Build a Real Time Chat Application Using LWC and Models API

The Models API plays a significant role in providing access to and facilitating interaction with large language models (LLMs) from various Salesforce partners such as Anthropic, Google, and OpenAI. It enables applications to leverage these models for various tasks, including text generation and other AI-powered capabilities. As a user, you can configure any Salesforce-enabled model […]

Read More
How to Integrate Salesforce Data Cloud with Amazon Redshift

Companies can finally connect Amazon Redshift to Salesforce Data Cloud without using the ordinary username & password authentication systems ever since its collaboration with AWS has happened. Business owners no longer have to be concerned about managing static credentials or breaching data security. By leveraging Salesforce IDP, companies can easily access their data lakehouse in […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818