Step By Step Guide to Creating Schedule-Triggered Flow in Salesforce

Schedule Triggered Flow in Salesforce

Introduced in Salesforce Winter ’20 release, Schedule-Triggered Flow in Salesforce is one of the many types of Flows that you can use to automate your business processes. You can set this Flow to run at a specific time at:

  • Once
  • Daily or
  • Weekly

With schedule-triggered Flows, you can potentially avoid using Apex Schedule Jobs using Batch Apex. Now you have the option of meeting repetitive business requirements without using the development capabilities of the platform. For example, sending birthday greetings every morning to customers who have their birthdays on that day, or closing Cases every night that are in a specific status after a certain number of days has passed.

To get started, configure the schedule trigger in the start element of your Flow, then select the object and conditions (if any) to fetch a certain batch of records to process. When using schedule-triggered Flow, it stores all of the record’s field values in the $Record global variable which you can reference to access the record’s field values.

Lastly, you have the ability to monitor scheduled Flows from the Scheduled Jobs page in Setup and to delete them if no longer required.

For this guide, we will be showing, at first, how to close Cases that are in ‘Waiting on Customer’ status for more than 7 days, then incorporate an email notification to Case Contact when the Case is closed. After going through this guide, within the next 30 – 45 minutes, you will learn how to: 

  • Create a Schedule-Triggered Flow to Close Cases
  • Save & Activate the Flow
  • Test the Flow
  • Create a Schedule-Triggered Flow to Close Cases & Send Email
  • Save & Activate the Flow
Liked this guide? Want to download this presentation as a PDF or watch training videos? We are now offering a complete course (self-paced) on Mastering Salesforce Flows. For more details and free preview please click here.

References & Useful URLs:

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top