Skip to main content
Scheduled Maintenance: Trailhead, myTrailhead, and Trailblazer Community will be offline January 17, 16:00–20:00 UTC. Thanks for bearing with us as we update your experience!

Meet Variables, Paths, and Loops

Learning Objectives 

After completing this unit, you’ll be able to:

  • Recall the unique characteristics of a variable.
  • Describe the benefits of a scheduled path.
  • Explain how a Flow Builder loop works.
  • Define the purpose of debug.

But Wait—There’s More!

Yes, there are even more Flow Builder concepts to cover and they are a bit more advanced. Enjoy the following videos that make complex flow concepts, such as variables and loops, easier to understand. And remember, the quiz at the end of this unit asks questions based on the content of the videos. Be sure to watch the videos so you get the information you need to answer the questions. 

What Is a Variable?

You may remember variables from algebra. Variables in Flow Builder are very similar but hopefully less boring (no offense to your algebra teacher). Watch the video below and see how variables are like a lunchbox that can hold either a taco or a slice of pizza. 

Types of Variables

Another video about lunchboxes variables? Yes! There is always more to learn about variables in automation: variable types, restrictions on how variables can be collected together, and so much more. Watch the video below and build a collection of variable knowledge. 

Scheduled Paths

Some people drink coffee 10 minutes after they wake up every morning. Flow Builder can do the same. Well, not drink coffee but follow a schedule based on time. Watch the video below and see how a scheduled path can give your org a caffeinated boost. 

Flow Loops

Remember back when you worked in an actual office five days a week and someone would get stuck having to clean out the fridge? This video shows how dealing with a collection of questionable containers is just like dealing with a collection of records in a loop. 

Debug

Learn about one of the most valuable built-in Flow Builder features: debug. Debug helps you identify, isolate, and correct issues in your automations. You may even learn how to remove a symbolic sandcastle in your sandbox org.

Test What You Learned

Now that you watched the videos, test what you learned about Flow Builder by taking the quiz and earning the badge.

Resources

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback