Salesforce is a powerful customer relationship management (CRM) platform that offers various types of flows to automate business processes. Understanding these flows can help you streamline operations and enhance productivity. In Salesforce, there are five primary types of flows: Screen Flow, Schedule-Triggered Flow, Auto-Launched Flow, Record-Triggered Flow, and Platform Event-Triggered Flow. Let’s explore each type in detail.
What Are the 5 Types of Flow in Salesforce?
Salesforce flows are tools that allow users to automate complex business processes without writing code. Here are the five types of flows in Salesforce:
-
Screen Flow: This type of flow is user-interactive and allows you to create guided visual experiences. Users can input data through forms and navigate through screens.
-
Schedule-Triggered Flow: This flow runs automatically at specified intervals. It’s ideal for automating regular tasks, such as sending weekly reports or updating records.
-
Auto-Launched Flow: These flows are triggered automatically by Apex, Process Builder, or another flow. They don’t require user interaction and are perfect for backend automation.
-
Record-Triggered Flow: This flow is triggered by changes in Salesforce records. It can be set to run before or after a record is created, updated, or deleted.
-
Platform Event-Triggered Flow: This flow responds to platform events. It’s useful for real-time updates and integrating with external systems.
How Do Screen Flows Work in Salesforce?
Screen Flows allow users to interact with the flow through a series of screens. They are perfect for creating guided processes, such as onboarding new employees or collecting customer feedback. Screen Flows can include:
- Input fields for collecting data
- Navigation buttons for moving between screens
- Display elements to show information or instructions
For example, a Screen Flow could guide a sales representative through the steps of qualifying a lead, ensuring all necessary information is collected accurately.
What Is a Schedule-Triggered Flow?
Schedule-Triggered Flows are designed to run at specific times. They are ideal for automating repetitive tasks that need to occur at regular intervals. You can use these flows to:
- Send out monthly newsletters
- Update records every night
- Generate regular reports
By setting a Schedule-Triggered Flow, you ensure that tasks are completed consistently without manual intervention, saving time and reducing errors.
How Do Auto-Launched Flows Operate?
Auto-Launched Flows run automatically without user interaction. They are typically invoked by:
- Apex code for complex logic
- Process Builder to enhance automation
- Other flows for seamless process integration
These flows are ideal for backend processes, such as updating related records when a change occurs or sending notifications based on specific conditions.
What Is a Record-Triggered Flow?
Record-Triggered Flows are activated by changes to Salesforce records. They can be set to run before or after a record is:
- Created
- Updated
- Deleted
These flows are useful for automating processes that depend on data changes. For instance, when a new opportunity is created, a Record-Triggered Flow can automatically assign a sales representative and send a welcome email to the prospect.
How Do Platform Event-Triggered Flows Work?
Platform Event-Triggered Flows respond to platform events, which are messages that communicate changes in Salesforce or external systems. These flows are ideal for:
- Real-time data integration
- Synchronizing systems
- Responding to external triggers
For example, when an external system sends a message that an order has been shipped, a Platform Event-Triggered Flow can update the order status in Salesforce and notify the customer.
People Also Ask
What Is the Difference Between Screen Flow and Auto-Launched Flow?
Screen Flows require user interaction and guide users through a series of screens, while Auto-Launched Flows run automatically without user input, typically triggered by Apex, Process Builder, or other flows.
Can Schedule-Triggered Flows Run More Frequently Than Daily?
No, Schedule-Triggered Flows in Salesforce are limited to running on a daily basis or less frequently. For more frequent automation, consider using a combination of Record-Triggered Flows and other tools.
How Do You Debug a Record-Triggered Flow?
To debug a Record-Triggered Flow, use Salesforce’s Flow Debugger. This tool allows you to test flows in a safe environment, view the flow’s path, and identify any issues that need fixing.
Are Platform Event-Triggered Flows Suitable for Real-Time Applications?
Yes, Platform Event-Triggered Flows are specifically designed for real-time applications. They respond to platform events instantly, making them suitable for applications that require immediate data processing and action.
How Can I Learn More About Salesforce Flows?
To learn more about Salesforce Flows, consider exploring Salesforce Trailhead, which offers interactive courses and modules on various Salesforce topics, including flow automation.
Conclusion
Understanding the different types of flows in Salesforce can significantly enhance your ability to automate business processes effectively. Whether you’re guiding users with Screen Flows or integrating real-time updates with Platform Event-Triggered Flows, Salesforce offers versatile tools to meet diverse business needs. Explore these flows further to streamline operations and drive efficiency in your organization.





