Site icon Popular In India

Salesforce Lightning Flow

Salesforce Lightning Flow

Automate processes for every app, experience, and portal with declarative tools. Expand flow-building options by developing custom Apex actions, Lightning web components, and Apex-defined data types, and by integrating with MuleSoft and other web services.

Introduction of Salesforce Flows

Salesforce Flows uses

Salesforce Flow Elements?

Interaction

Logic

Data

Salesforce Flows Resources

Path to access Salesforce Flows

Click on New Button
Salesfoce Flow Builder

Type of Salesforce Flow

List of Salesforce Flow types

  1. Screen Flow
  2. Record Triggered Flow
  3. Schedule Triggered Flow
  4. Autolaunched Flow
  5. Platform Event Triggered Flow
  6. Record-Triggered Orchestration

Screen Flow

Screen flows are the flows where the user see a User Interface where they can enter some inputs or select of the records. Salesforce Screen Flows can be launched from button, displayed as component, Lightning Web Component, Experience Cloud Sites and many more.

For Example: To create a Contact record using Salesforce Screen Flows where the user can enter the values in the screen flow form and click on submit button then contact record is created.

It can be launched through

Salesforce Screen Flows in Auto-Layout Version

Record Triggered Flow

A Record Triggered Flows allow us to automatically perform actions in the behind the scenes, no user interaction, Record triggered Flows launches once a record are updated, created, deleted.

Salesforce Record Triggered Flows

This Flow Launches when Records is?

  1. Created
  2. Upadated or
  3. Deleted

Schedule Triggered Flow

Schedule Triggered Flow

Salesforce provides a feature called Schedule-Triggered Flow which is part of the Autolaunched Flow family. It allows you to run a flow on a schedule. You can create a scheduled path to run a record-triggered flow at a specified time.

A Scheduled Triggered Flow is a type of automation that is executed based on a predefined schedule or time interval. It allows you to automate repetitive tasks, processes, or workflows without requiring manual intervention each time. The flow is triggered at specific times or intervals, and once triggered, it performs a series of predefined actions or operations.

Here are some key aspects and benefits of Schedule Triggered Flows:

Overall, Schedule Triggered Flows provide a reliable and efficient way to automate recurring tasks, streamline processes, and improve productivity by reducing manual effort and ensuring consistent execution.

Autolaunched Flow

Autolaunched Flow

An Autolaunched Flow is a powerful automation tool that allows users to design and execute a sequence of predefined actions or operations. It can be triggered manually by a user or automatically by an external event or system. Autolaunched Flows are typically built using low-code or no-code platforms, providing a visual interface for designing and configuring the flow’s logic.

Auto-launched does not require any user interaction; it can be auto-launched when a record is changed while DML. This type of flow does not support screens.

Types Of Auto Launched Flow

There are different types of Autolaunched Flows that can be used in Salesforce based on the specific requirements and use cases. Here are some common types:

  1. Record-triggered Flow: This type of Autolaunched Flow is triggered when a record is created, updated, or deleted in Salesforce. It allows you to perform actions based on changes to specific fields or conditions associated with the record.
  2. Platform Event-triggered Flow: Platform events are custom events that can be published and subscribed to in Salesforce. An Autolaunched Flow can be triggered when a specific platform event occurs, enabling you to automate actions based on real-time events or external system integrations.
  3. Scheduled Flow: A Scheduled Flow is triggered based on a predefined schedule or time interval. It allows you to automate repetitive tasks that need to be executed at specific times or intervals, such as daily, weekly, or monthly processes.
  4. Invocable Flow: An Invocable Flow is designed to be triggered manually or invoked by an external process or code. It provides a reusable flow that can be called from other flows, processes, or Apex code, allowing for modular and scalable automation.
  5. Platform Event-based Flow: This type of Autolaunched Flow is triggered by the occurrence of a specific platform event. It enables you to respond to events published within Salesforce or from external systems, allowing for seamless integration and event-driven automation.
  6. Email-to-Flow: With Email-to-Flow, an Autolaunched Flow is triggered when an email is received in Salesforce. You can define specific criteria or keywords in the email subject or body to initiate the flow and automate actions based on the content of the email.
  7. Flow Callout: Flow Callouts allow Autolaunched Flows to make outbound API calls to external systems. This enables you to integrate with external services, retrieve data, or perform actions in other systems as part of your flow’s execution.
  8. Screen Flow: A Screen Flow includes user interaction elements such as screens, forms, and input fields. It allows users to input data or make selections that influence the flow’s behavior. Screen Flows are typically used to guide users through a specific process or automate complex user interactions.

These are just a few examples of the types of Autolaunched Flows available in Salesforce. The choice of the flow type depends on the specific requirements, triggers, and desired automation outcomes for your business processes.

When To Use Auto Launched Flow In Salesforce?

Autolaunched Flows in Salesforce can be used in various scenarios where automation is required to streamline and optimize business processes. Here are some common situations where Autolaunched Flows are beneficial:

Platform Event Triggered Flow

Platform Event Triggered Flow

A Platform Event-triggered Flow is a type of Autolaunched Flow in Salesforce that is triggered by the occurrence of a specific platform event. Platform events are custom events that can be published and subscribed to within the Salesforce platform. They serve as a communication mechanism to notify and trigger actions in real-time based on specific events or conditions.

By leveraging Platform Event-triggered Flows, you can build event-driven automation that responds to changes or updates as they happen, reducing manual effort and improving efficiency. These flows allow for flexibility, scalability, and integration, making them valuable tools for streamlining business processes and enabling real-time data-driven decision-making.

Type of Platform Event Triggered Flow

In Salesforce, there is one primary type of Autolaunched Flow that is triggered by a Platform Event. However, there are different ways to configure the behavior and actions of a Platform Event-triggered Flow. Here are some variations or configurations associated with this type:

Exit mobile version