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

NOTE: Certain sections of the guide will appear as locked in the free preview. You can download the unlocked version of the guide in PDF format by subscribing to our “All Access” Pass through the link below.

Not an “All Access” Pass Member Yet?

Get Download Access to this & 150+ More Step-by-Step Guides with “All Access” Pass. A simple and single plan to access our entire library of courses, guides, workshops & masterclasses on Salesforce.

Introducing Mastering Salesforce Flows Training Course

Liked this post? We are now offering a complete self-paced, video-based training course on Mastering Salesforce Flows. The course comes with downloadable step-by-step PDF guides, unlimited access, free upgrades, community discussion area, free preview and more. For more details, please click here.

Need Help with Flows?

Need advice on Flows? I also offer advisory & consulting services on Salesforce Flows. So, whether you want to create new Flows or migrate existing automations (Workflow Rules, Process Builder, Triggers) to Flows, I can help you analyze, design, plan & review. To initiate a discussion, please submit the contact form here stating your requirement or schedule a discussion at this URL.

References & Useful URLs

Leave a Comment

Your email address will not be published. Required fields are marked *

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

Scroll to Top
Introducing All Access Pass