SlideShare a Scribd company logo
GETTING TO FLOW YOU
A First Date with Flow Builder
Michelle Hansen
Senior Salesforce Administrator, NISC
-13x Certified
-Co-Leader, Cedar Rapids, IA User Group
-Trailhead Mentor
-Lightning Champion
-Trailhead 2x Ranger
-Presenter: Dreamforce ’18 & ‘19, TDX ’19, NED 2018 & 2019, MWD
2019, Florida Dreamin’ 2019, Automation Hour & more
Social Media
Twitter: @mehansen82
Trailhead: https://trailblazer.me/id/michellehansen
LinkedIn: https://www.linkedin.com/in/michelleelizabethhansen/
GETTING TO FLOW YOU – VITAL STATISTICS
• Works with Lightning and Classic* *some components require Lightning runtime
• Favorite Color: Salesforce Blue
• Includes many different types: Screen, autolaunched, record/scheduled triggered, etc.
• Favorite First Date: Whiteboarding business & automation processes
• Can retrieve, display, create, update and delete records
• Favorite Mascot: Codey
• Can send emails, notifications, and access quick & local actions
• Life Goal: To be your one and only Automation Tool
• Can access other flows (not all types have this capability)
• Fun Fact: Processes are really Flows under the hood!
GETTING TO FLOW YOU – VOCABULARY
• Flow/Lightning Flow – An automation tool in Salesforce
• Flow Builder – The User Interface in Salesforce used to build a flow
• Flow Interview – A single instance of a flow being run
• Element – An item from the toolbox that is placed on the canvas which does
some sort of action
• Resource – An item from the toolbox that holds data and is used by one or
more elements on the canvas
• Iteration – One “trip” through a loop within a flow
• Outcome – A branched path based on criteria within a Decision Element
• Fault – An error within a flow
GETTING AROUND FLOW BUILDER – FLOW TYPES
GETTING AROUND FLOW BUILDER – BUILDER UI
• Screen – A screen where the user interacts with your flow by
viewing, adding, or editing information.
• Input fields – Text, number, date, checkbox, radio button, picklist, etc
• Display text
• Other components
• Action – Access a quick or standard action in your org
• Send an email
• Log a call
• Custom Actions
• Subflow – Call another flow from within this flow
• Autolaunched from Autolaunched Flow
• Screen or Autolaunched from Screen Flow
GETTING AROUND FLOW BUILDER – TOOLBAR ELEMENTS
This is simply manipulating data within your flow—Consider this a
sandbox within your org – you can’t hurt the org using these
• Assignment – How you set the value of a variable
• Set a record field value to the value of a field from a flow screen
• Set the record count in a collection vs. looping & incrementing a counter
• Decision – Ability to branch your flow down different paths based on
criteria
• Can have multiple outcomes for a decision & multiple decisions in a flow
• Good for doing a null check on records before you proceed
• Decisions are OKAY in loops
• Loop – Used to go through a group of records (a collection variable)
• Loop through all Contact records for an account and update the
address
• NEVER put a Data (pink) element inside of a loop!
GETTING AROUND FLOW BUILDER – TOOLBAR ELEMENTS
GETTING AROUND FLOW BUILDER – TOOLBAR ELEMENTS
Data Elements interact with your Salesforce Database – THIS IS REAL
• Create – Creates a new record or group of records in the database
• Update – Updates a record or group of existing records in the
database
• Get – Retrieves a record or group of records from the database for
use within your flow
• Delete – Deletes a record or group of records from the database
• Variable – a container to hold information that can change
• Constant – a container to hold information that doesn’t change
• Formula – a way to manipulate information
• Text Template – stores text information that can be manipulated in
the flow
GETTING AROUND FLOW BUILDER – RESOURCES
GETTING AROUND FLOW BUILDER – RESOURCES
• Choice – a defined option for a user to select on a screen
• Record Choice Set – a set of records that a user can pick from on a
screen
• Picklist Choice Set – uses an existing picklist field’s values for the user
to pick from on a screen
• Stage –sets stages within your flow, similar to Oppty stage
GETTING TO FLOW YOU – NAMING CONVENTIONS
• Decide on naming conventions for your resources (API names)
• camelCase is the standard for naming variables/resources in code
• lowercase first letter, Capitalize first letter of every new word
• Include a type of resource abbreviation for easy reference
• Examples:
• Variable: var_AccountName
• Formula: fml_totalCostPerMonth
• Choice: c_Yes / c_product_Training
• Collection Variable: cvar_Accts_in_Iowa
• Picklist Choice Set: pcs_Account_TypeField
GETTING AROUND FLOW BUILDER – RESERVED VARIABLES
recordId
• This variable is reserved by Salesforce for a specific purpose
• This passes the Id of the record from which the flow was launched into the flow
to give the flow interview context
• sYNtaX MATTerS – lowercase ‘r’ and uppercase ‘I’ are required
$Record
• This is a global variable that is used to hold each record that a scheduled flow
will interact with
• Scheduled flows will ALWAYS run a separate ‘interview’ of a flow for each
record that meets the entry criteria. This is the only time where bulkification on
record updates is not needed*
GETTING TO FLOW YOU – LOOPS 3
Records
1st Record Edit the Record Save Record
2nd Record Edit the Record Save Record
3rd Record Edit the Record Save Record
Iteration 0
Iteration 1
Iteration 2
GETTING TO FLOW YOU – BULKIFY
YOUR FLOW
Update
2nd Record Set
1st Record Edit the Record
Iteration 0
3
Records
2nd Record Set
1st Record Edit the Record
Iteration 1
2nd Record Set
1st Record Edit the Record
Iteration 2
TIME TO GET HANDS ON!
*Note: These scenarios are designed to showcase concepts. They are NOT best practices
and often not legitimate real-world scenarios that should be solved exactly as shown
TIME TO GET HANDS ON! FLOW SCENARIO #1
• User adoption has been problematic. The primary complaint is that it’s
too many steps to create an Account and Contact.
• We’ll create a screen flow that allows us to capture basic Account
and Contact data on a single screen.
TIME TO GET HANDS ON! FLOW SCENARIO #2
• Our Sales Managers routinely use the same Opportunity name across
different companies, causing confusion when searching for them
later.
• We want to use a Before Save flow to automatically append the
Account Number to the Opportunity name entered by the user
TIME TO GET HANDS ON! FLOW SCENARIO #3
• When the address for an Account is updated, every
Contact’s address should be updated to match
• This should happen automatically when the Account record
is saved
RESOURCES
• Trailhead – Get Started with Flows
• https://admin.salesforce.com/blog/2019/getting-started-with-the-new-flow-builder
• AppExchange – Flow Templates & Screen components
• UnofficialSF.com Blogs, Components, Local actions – www.unofficialsf.com
• Automation Hour - www.automationhour.com
• Jen Lee’s blog - www.jenwlee.com
• Rakesh Gupta’s blog - www.automationchampion.com
• David Litton’s blog - www.salesforcesidekick.com
• The Wizard News podcast/blog (Brian Kwong) - https://thewizardnews.com/
• Metillium Consulting blog (Luke Freeland) - https://metillium.com/blog/
• https://captechconsulting.com/blogs/9-tips-for-using-salesforces-lightning-flow-the-
right-way
• Terry’s Tidbits Let’s Get Flowing Series:
https://www.youtube.com/playlist?list=PLPXY38WvYAn6LX6Bl91ey_eLwY-_OYhPO
QUIZ TIME!
• What is the name of the site where you can download extra screen
components and actions for flow?
• If I need to combine two text strings together, what resource would I use?
• Under what Setup menu heading is Flows located?
• What is one thing Flows can do that Processes cannot do?
Feel Free to Contact Me!
Michelle.Hansen@salesforceMVPs.com
Twitter: @mehansen82
Trailhead: https://trailblazer.me/id/michellehansen
LinkedIn: https://www.linkedin.com/in/michelleelizabethhansen/

More Related Content

What's hot

Why Flow with Salesforce Flow
Why Flow with Salesforce FlowWhy Flow with Salesforce Flow
Why Flow with Salesforce Flow
Ajeet Singh
 
Scribe online 02 event based integration
Scribe online 02   event based integrationScribe online 02   event based integration
Scribe online 02 event based integration
Scribe Software Corp.
 
How to Connect to Any REST API (Without Writing Any Code)
How to Connect to Any REST API (Without Writing Any Code)How to Connect to Any REST API (Without Writing Any Code)
How to Connect to Any REST API (Without Writing Any Code)
Safe Software
 
Altus Alliance 2016 - Altus Dynamics Announcing NAV 2016
Altus Alliance 2016 - Altus Dynamics Announcing NAV 2016Altus Alliance 2016 - Altus Dynamics Announcing NAV 2016
Altus Alliance 2016 - Altus Dynamics Announcing NAV 2016
Sparkrock
 
Ecs19 - Hans Brender - Is OneDrive Really Enterprise Ready
Ecs19 - Hans Brender -  Is OneDrive Really Enterprise ReadyEcs19 - Hans Brender -  Is OneDrive Really Enterprise Ready
Ecs19 - Hans Brender - Is OneDrive Really Enterprise Ready
European Collaboration Summit
 
Introducing Office Web Apps as a Tool for Developing Content Rich Applications
Introducing Office Web Apps as a Tool for Developing Content Rich ApplicationsIntroducing Office Web Apps as a Tool for Developing Content Rich Applications
Introducing Office Web Apps as a Tool for Developing Content Rich Applications
Ryan McIntyre
 
360suite datasheet for SAP BusinessObjects
360suite datasheet for SAP BusinessObjects360suite datasheet for SAP BusinessObjects
360suite datasheet for SAP BusinessObjects
Sebastien Goiffon
 
Power Automate/ Flow patterns tips and tricks after 3 years with Doctor Flow
Power Automate/ Flow patterns tips and tricks after 3 years with Doctor FlowPower Automate/ Flow patterns tips and tricks after 3 years with Doctor Flow
Power Automate/ Flow patterns tips and tricks after 3 years with Doctor Flow
serge luca
 
Winter 22 features
Winter 22 featuresWinter 22 features
Winter 22 features
KadharBashaJ
 
Scribe insight 03 elevating performance
Scribe insight 03   elevating performanceScribe insight 03   elevating performance
Scribe insight 03 elevating performance
Scribe Software Corp.
 
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
NCCOMMS
 
Salesforce awesome app buildout
Salesforce awesome app buildoutSalesforce awesome app buildout
Salesforce awesome app buildout
Sanjida Yasmin
 
Monitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saasMonitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saas
BizTalk360
 
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Ahmad Najjar and Serge Luca - Power Platform TutorialECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
European Collaboration Summit
 
General 01 welcome and scribe business update
General 01   welcome and scribe business updateGeneral 01   welcome and scribe business update
General 01 welcome and scribe business update
Scribe Software Corp.
 
IBM Domino Hybrid cloud configuration
IBM Domino Hybrid cloud configurationIBM Domino Hybrid cloud configuration
IBM Domino Hybrid cloud configuration
Kris De Bisschop
 
Creating No Code Web Apps with FME Server
Creating No Code Web Apps with FME ServerCreating No Code Web Apps with FME Server
Creating No Code Web Apps with FME Server
Safe Software
 
Solving SharePoint: Introducing Adhere for Alfresco
Solving SharePoint: Introducing Adhere for AlfrescoSolving SharePoint: Introducing Adhere for Alfresco
Solving SharePoint: Introducing Adhere for Alfresco
Zia Consulting
 

What's hot (20)

Why Flow with Salesforce Flow
Why Flow with Salesforce FlowWhy Flow with Salesforce Flow
Why Flow with Salesforce Flow
 
Scribe online 02 event based integration
Scribe online 02   event based integrationScribe online 02   event based integration
Scribe online 02 event based integration
 
How to Connect to Any REST API (Without Writing Any Code)
How to Connect to Any REST API (Without Writing Any Code)How to Connect to Any REST API (Without Writing Any Code)
How to Connect to Any REST API (Without Writing Any Code)
 
Altus Alliance 2016 - Altus Dynamics Announcing NAV 2016
Altus Alliance 2016 - Altus Dynamics Announcing NAV 2016Altus Alliance 2016 - Altus Dynamics Announcing NAV 2016
Altus Alliance 2016 - Altus Dynamics Announcing NAV 2016
 
Ecs19 - Hans Brender - Is OneDrive Really Enterprise Ready
Ecs19 - Hans Brender -  Is OneDrive Really Enterprise ReadyEcs19 - Hans Brender -  Is OneDrive Really Enterprise Ready
Ecs19 - Hans Brender - Is OneDrive Really Enterprise Ready
 
Introducing Office Web Apps as a Tool for Developing Content Rich Applications
Introducing Office Web Apps as a Tool for Developing Content Rich ApplicationsIntroducing Office Web Apps as a Tool for Developing Content Rich Applications
Introducing Office Web Apps as a Tool for Developing Content Rich Applications
 
360suite datasheet for SAP BusinessObjects
360suite datasheet for SAP BusinessObjects360suite datasheet for SAP BusinessObjects
360suite datasheet for SAP BusinessObjects
 
Power Automate/ Flow patterns tips and tricks after 3 years with Doctor Flow
Power Automate/ Flow patterns tips and tricks after 3 years with Doctor FlowPower Automate/ Flow patterns tips and tricks after 3 years with Doctor Flow
Power Automate/ Flow patterns tips and tricks after 3 years with Doctor Flow
 
Winter 22 features
Winter 22 featuresWinter 22 features
Winter 22 features
 
Scribe insight 03 elevating performance
Scribe insight 03   elevating performanceScribe insight 03   elevating performance
Scribe insight 03 elevating performance
 
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
O365Con18 - PowerApps build custom forms for SharePoint with Azure Maps - Bra...
 
Scale net apps in aws
Scale net apps in awsScale net apps in aws
Scale net apps in aws
 
Salesforce awesome app buildout
Salesforce awesome app buildoutSalesforce awesome app buildout
Salesforce awesome app buildout
 
Monitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saasMonitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saas
 
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Ahmad Najjar and Serge Luca - Power Platform TutorialECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
 
General 01 welcome and scribe business update
General 01   welcome and scribe business updateGeneral 01   welcome and scribe business update
General 01 welcome and scribe business update
 
Standard control in asp.net
Standard control in asp.netStandard control in asp.net
Standard control in asp.net
 
IBM Domino Hybrid cloud configuration
IBM Domino Hybrid cloud configurationIBM Domino Hybrid cloud configuration
IBM Domino Hybrid cloud configuration
 
Creating No Code Web Apps with FME Server
Creating No Code Web Apps with FME ServerCreating No Code Web Apps with FME Server
Creating No Code Web Apps with FME Server
 
Solving SharePoint: Introducing Adhere for Alfresco
Solving SharePoint: Introducing Adhere for AlfrescoSolving SharePoint: Introducing Adhere for Alfresco
Solving SharePoint: Introducing Adhere for Alfresco
 

Similar to Getting to Flow You: A First Date with Flow Builder

Getting to Flow You-Arkansas UG Nov 2022.pptx
Getting to Flow You-Arkansas UG Nov 2022.pptxGetting to Flow You-Arkansas UG Nov 2022.pptx
Getting to Flow You-Arkansas UG Nov 2022.pptx
BrandonSmith281964
 
Salesforce Winter 23 Release Webinar Slide Deck
Salesforce Winter 23 Release Webinar Slide DeckSalesforce Winter 23 Release Webinar Slide Deck
Salesforce Winter 23 Release Webinar Slide Deck
brightgenss
 
SplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunk
 
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
Richard Robinson
 
Salesforce Presentation
Salesforce PresentationSalesforce Presentation
Salesforce Presentation
Chetna Purohit
 
Server and application monitoring webinars [Applications Manager] - Part 4
Server and application monitoring webinars [Applications Manager] - Part 4Server and application monitoring webinars [Applications Manager] - Part 4
Server and application monitoring webinars [Applications Manager] - Part 4
ManageEngine, Zoho Corporation
 
Large Data Volume Salesforce experiences
Large Data Volume Salesforce experiencesLarge Data Volume Salesforce experiences
Large Data Volume Salesforce experiences
Cidar Mendizabal
 
Building high performance and scalable share point applications
Building high performance and scalable share point applicationsBuilding high performance and scalable share point applications
Building high performance and scalable share point applications
Talbott Crowell
 
Salesforce admin training 1
Salesforce admin training 1Salesforce admin training 1
Salesforce admin training 1
HungPham381
 
PANKAJ SINGH-061.pptx
PANKAJ SINGH-061.pptxPANKAJ SINGH-061.pptx
PANKAJ SINGH-061.pptx
061PANKAJSINGH
 
SFDC Other Platform Features
SFDC Other Platform FeaturesSFDC Other Platform Features
SFDC Other Platform Features
Sujit Kumar
 
Software development planning and essentials
Software development planning and essentialsSoftware development planning and essentials
Software development planning and essentials
Rajesh P
 
Software development planning and essentials
Software development planning and essentialsSoftware development planning and essentials
Software development planning and essentials
Rajesh P
 
#SPSOttawa introduction to the #microsoftGraph
#SPSOttawa introduction to the #microsoftGraph#SPSOttawa introduction to the #microsoftGraph
#SPSOttawa introduction to the #microsoftGraph
Vincent Biret
 
Replicating One Billion Records with Minimal API Usage
Replicating One Billion Records with Minimal API UsageReplicating One Billion Records with Minimal API Usage
Replicating One Billion Records with Minimal API Usage
Salesforce Developers
 
Salesforce Innovation: Advanced Tips for Maximizing Salesforce
Salesforce Innovation: Advanced Tips for Maximizing SalesforceSalesforce Innovation: Advanced Tips for Maximizing Salesforce
Salesforce Innovation: Advanced Tips for Maximizing Salesforce
Perficient, Inc.
 
LDV-v2.pptx
LDV-v2.pptxLDV-v2.pptx
LDV-v2.pptx
Shams Pirzada
 
SplunkLive! Presentation - Data Onboarding with Splunk
SplunkLive! Presentation - Data Onboarding with SplunkSplunkLive! Presentation - Data Onboarding with Splunk
SplunkLive! Presentation - Data Onboarding with Splunk
Splunk
 
Advanced Test Design Methods
Advanced Test Design MethodsAdvanced Test Design Methods
Advanced Test Design Methodssharon elgarat
 

Similar to Getting to Flow You: A First Date with Flow Builder (20)

Getting to Flow You-Arkansas UG Nov 2022.pptx
Getting to Flow You-Arkansas UG Nov 2022.pptxGetting to Flow You-Arkansas UG Nov 2022.pptx
Getting to Flow You-Arkansas UG Nov 2022.pptx
 
Salesforce Winter 23 Release Webinar Slide Deck
Salesforce Winter 23 Release Webinar Slide DeckSalesforce Winter 23 Release Webinar Slide Deck
Salesforce Winter 23 Release Webinar Slide Deck
 
SplunkLive! Advanced Session
SplunkLive! Advanced SessionSplunkLive! Advanced Session
SplunkLive! Advanced Session
 
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
SCRIMPS-STD: Test Automation Design Principles - and asking the right questions!
 
Salesforce Presentation
Salesforce PresentationSalesforce Presentation
Salesforce Presentation
 
Server and application monitoring webinars [Applications Manager] - Part 4
Server and application monitoring webinars [Applications Manager] - Part 4Server and application monitoring webinars [Applications Manager] - Part 4
Server and application monitoring webinars [Applications Manager] - Part 4
 
Large Data Volume Salesforce experiences
Large Data Volume Salesforce experiencesLarge Data Volume Salesforce experiences
Large Data Volume Salesforce experiences
 
Building high performance and scalable share point applications
Building high performance and scalable share point applicationsBuilding high performance and scalable share point applications
Building high performance and scalable share point applications
 
Salesforce admin training 1
Salesforce admin training 1Salesforce admin training 1
Salesforce admin training 1
 
PANKAJ SINGH-061.pptx
PANKAJ SINGH-061.pptxPANKAJ SINGH-061.pptx
PANKAJ SINGH-061.pptx
 
SFDC Other Platform Features
SFDC Other Platform FeaturesSFDC Other Platform Features
SFDC Other Platform Features
 
LDV.pptx
LDV.pptxLDV.pptx
LDV.pptx
 
Software development planning and essentials
Software development planning and essentialsSoftware development planning and essentials
Software development planning and essentials
 
Software development planning and essentials
Software development planning and essentialsSoftware development planning and essentials
Software development planning and essentials
 
#SPSOttawa introduction to the #microsoftGraph
#SPSOttawa introduction to the #microsoftGraph#SPSOttawa introduction to the #microsoftGraph
#SPSOttawa introduction to the #microsoftGraph
 
Replicating One Billion Records with Minimal API Usage
Replicating One Billion Records with Minimal API UsageReplicating One Billion Records with Minimal API Usage
Replicating One Billion Records with Minimal API Usage
 
Salesforce Innovation: Advanced Tips for Maximizing Salesforce
Salesforce Innovation: Advanced Tips for Maximizing SalesforceSalesforce Innovation: Advanced Tips for Maximizing Salesforce
Salesforce Innovation: Advanced Tips for Maximizing Salesforce
 
LDV-v2.pptx
LDV-v2.pptxLDV-v2.pptx
LDV-v2.pptx
 
SplunkLive! Presentation - Data Onboarding with Splunk
SplunkLive! Presentation - Data Onboarding with SplunkSplunkLive! Presentation - Data Onboarding with Splunk
SplunkLive! Presentation - Data Onboarding with Splunk
 
Advanced Test Design Methods
Advanced Test Design MethodsAdvanced Test Design Methods
Advanced Test Design Methods
 

More from sonumanoj

Industry Specific Solutions for a Customized World: Manufacturing and TDX22 R...
Industry Specific Solutions for a Customized World: Manufacturing and TDX22 R...Industry Specific Solutions for a Customized World: Manufacturing and TDX22 R...
Industry Specific Solutions for a Customized World: Manufacturing and TDX22 R...
sonumanoj
 
Supercharge Flows for thousands of records with Platform Events
Supercharge Flows for thousands of records with Platform EventsSupercharge Flows for thousands of records with Platform Events
Supercharge Flows for thousands of records with Platform Events
sonumanoj
 
Getting started with Marketing Cloud
Getting started with Marketing CloudGetting started with Marketing Cloud
Getting started with Marketing Cloud
sonumanoj
 
Salesforce Agile Methodology and Tools
Salesforce Agile Methodology and ToolsSalesforce Agile Methodology and Tools
Salesforce Agile Methodology and Tools
sonumanoj
 
MH Trailblazer Group - Understanding SSO Solution for Salesforce
MH Trailblazer Group - Understanding SSO Solution for SalesforceMH Trailblazer Group - Understanding SSO Solution for Salesforce
MH Trailblazer Group - Understanding SSO Solution for Salesforce
sonumanoj
 
Dreamforce Global Gathering (Admin)
Dreamforce Global Gathering (Admin)Dreamforce Global Gathering (Admin)
Dreamforce Global Gathering (Admin)
sonumanoj
 
Implementing Vanilla Web Components
Implementing Vanilla Web ComponentsImplementing Vanilla Web Components
Implementing Vanilla Web Components
sonumanoj
 
May-MH-TrailblazerEvent
May-MH-TrailblazerEventMay-MH-TrailblazerEvent
May-MH-TrailblazerEvent
sonumanoj
 

More from sonumanoj (8)

Industry Specific Solutions for a Customized World: Manufacturing and TDX22 R...
Industry Specific Solutions for a Customized World: Manufacturing and TDX22 R...Industry Specific Solutions for a Customized World: Manufacturing and TDX22 R...
Industry Specific Solutions for a Customized World: Manufacturing and TDX22 R...
 
Supercharge Flows for thousands of records with Platform Events
Supercharge Flows for thousands of records with Platform EventsSupercharge Flows for thousands of records with Platform Events
Supercharge Flows for thousands of records with Platform Events
 
Getting started with Marketing Cloud
Getting started with Marketing CloudGetting started with Marketing Cloud
Getting started with Marketing Cloud
 
Salesforce Agile Methodology and Tools
Salesforce Agile Methodology and ToolsSalesforce Agile Methodology and Tools
Salesforce Agile Methodology and Tools
 
MH Trailblazer Group - Understanding SSO Solution for Salesforce
MH Trailblazer Group - Understanding SSO Solution for SalesforceMH Trailblazer Group - Understanding SSO Solution for Salesforce
MH Trailblazer Group - Understanding SSO Solution for Salesforce
 
Dreamforce Global Gathering (Admin)
Dreamforce Global Gathering (Admin)Dreamforce Global Gathering (Admin)
Dreamforce Global Gathering (Admin)
 
Implementing Vanilla Web Components
Implementing Vanilla Web ComponentsImplementing Vanilla Web Components
Implementing Vanilla Web Components
 
May-MH-TrailblazerEvent
May-MH-TrailblazerEventMay-MH-TrailblazerEvent
May-MH-TrailblazerEvent
 

Recently uploaded

Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 

Recently uploaded (20)

Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 

Getting to Flow You: A First Date with Flow Builder

  • 1. GETTING TO FLOW YOU A First Date with Flow Builder
  • 2. Michelle Hansen Senior Salesforce Administrator, NISC -13x Certified -Co-Leader, Cedar Rapids, IA User Group -Trailhead Mentor -Lightning Champion -Trailhead 2x Ranger -Presenter: Dreamforce ’18 & ‘19, TDX ’19, NED 2018 & 2019, MWD 2019, Florida Dreamin’ 2019, Automation Hour & more Social Media Twitter: @mehansen82 Trailhead: https://trailblazer.me/id/michellehansen LinkedIn: https://www.linkedin.com/in/michelleelizabethhansen/
  • 3. GETTING TO FLOW YOU – VITAL STATISTICS • Works with Lightning and Classic* *some components require Lightning runtime • Favorite Color: Salesforce Blue • Includes many different types: Screen, autolaunched, record/scheduled triggered, etc. • Favorite First Date: Whiteboarding business & automation processes • Can retrieve, display, create, update and delete records • Favorite Mascot: Codey • Can send emails, notifications, and access quick & local actions • Life Goal: To be your one and only Automation Tool • Can access other flows (not all types have this capability) • Fun Fact: Processes are really Flows under the hood!
  • 4. GETTING TO FLOW YOU – VOCABULARY • Flow/Lightning Flow – An automation tool in Salesforce • Flow Builder – The User Interface in Salesforce used to build a flow • Flow Interview – A single instance of a flow being run • Element – An item from the toolbox that is placed on the canvas which does some sort of action • Resource – An item from the toolbox that holds data and is used by one or more elements on the canvas • Iteration – One “trip” through a loop within a flow • Outcome – A branched path based on criteria within a Decision Element • Fault – An error within a flow
  • 5. GETTING AROUND FLOW BUILDER – FLOW TYPES
  • 6. GETTING AROUND FLOW BUILDER – BUILDER UI
  • 7. • Screen – A screen where the user interacts with your flow by viewing, adding, or editing information. • Input fields – Text, number, date, checkbox, radio button, picklist, etc • Display text • Other components • Action – Access a quick or standard action in your org • Send an email • Log a call • Custom Actions • Subflow – Call another flow from within this flow • Autolaunched from Autolaunched Flow • Screen or Autolaunched from Screen Flow GETTING AROUND FLOW BUILDER – TOOLBAR ELEMENTS
  • 8. This is simply manipulating data within your flow—Consider this a sandbox within your org – you can’t hurt the org using these • Assignment – How you set the value of a variable • Set a record field value to the value of a field from a flow screen • Set the record count in a collection vs. looping & incrementing a counter • Decision – Ability to branch your flow down different paths based on criteria • Can have multiple outcomes for a decision & multiple decisions in a flow • Good for doing a null check on records before you proceed • Decisions are OKAY in loops • Loop – Used to go through a group of records (a collection variable) • Loop through all Contact records for an account and update the address • NEVER put a Data (pink) element inside of a loop! GETTING AROUND FLOW BUILDER – TOOLBAR ELEMENTS
  • 9. GETTING AROUND FLOW BUILDER – TOOLBAR ELEMENTS Data Elements interact with your Salesforce Database – THIS IS REAL • Create – Creates a new record or group of records in the database • Update – Updates a record or group of existing records in the database • Get – Retrieves a record or group of records from the database for use within your flow • Delete – Deletes a record or group of records from the database
  • 10. • Variable – a container to hold information that can change • Constant – a container to hold information that doesn’t change • Formula – a way to manipulate information • Text Template – stores text information that can be manipulated in the flow GETTING AROUND FLOW BUILDER – RESOURCES
  • 11. GETTING AROUND FLOW BUILDER – RESOURCES • Choice – a defined option for a user to select on a screen • Record Choice Set – a set of records that a user can pick from on a screen • Picklist Choice Set – uses an existing picklist field’s values for the user to pick from on a screen • Stage –sets stages within your flow, similar to Oppty stage
  • 12. GETTING TO FLOW YOU – NAMING CONVENTIONS • Decide on naming conventions for your resources (API names) • camelCase is the standard for naming variables/resources in code • lowercase first letter, Capitalize first letter of every new word • Include a type of resource abbreviation for easy reference • Examples: • Variable: var_AccountName • Formula: fml_totalCostPerMonth • Choice: c_Yes / c_product_Training • Collection Variable: cvar_Accts_in_Iowa • Picklist Choice Set: pcs_Account_TypeField
  • 13. GETTING AROUND FLOW BUILDER – RESERVED VARIABLES recordId • This variable is reserved by Salesforce for a specific purpose • This passes the Id of the record from which the flow was launched into the flow to give the flow interview context • sYNtaX MATTerS – lowercase ‘r’ and uppercase ‘I’ are required $Record • This is a global variable that is used to hold each record that a scheduled flow will interact with • Scheduled flows will ALWAYS run a separate ‘interview’ of a flow for each record that meets the entry criteria. This is the only time where bulkification on record updates is not needed*
  • 14. GETTING TO FLOW YOU – LOOPS 3 Records 1st Record Edit the Record Save Record 2nd Record Edit the Record Save Record 3rd Record Edit the Record Save Record Iteration 0 Iteration 1 Iteration 2
  • 15. GETTING TO FLOW YOU – BULKIFY YOUR FLOW Update 2nd Record Set 1st Record Edit the Record Iteration 0 3 Records 2nd Record Set 1st Record Edit the Record Iteration 1 2nd Record Set 1st Record Edit the Record Iteration 2
  • 16. TIME TO GET HANDS ON! *Note: These scenarios are designed to showcase concepts. They are NOT best practices and often not legitimate real-world scenarios that should be solved exactly as shown
  • 17. TIME TO GET HANDS ON! FLOW SCENARIO #1 • User adoption has been problematic. The primary complaint is that it’s too many steps to create an Account and Contact. • We’ll create a screen flow that allows us to capture basic Account and Contact data on a single screen.
  • 18. TIME TO GET HANDS ON! FLOW SCENARIO #2 • Our Sales Managers routinely use the same Opportunity name across different companies, causing confusion when searching for them later. • We want to use a Before Save flow to automatically append the Account Number to the Opportunity name entered by the user
  • 19. TIME TO GET HANDS ON! FLOW SCENARIO #3 • When the address for an Account is updated, every Contact’s address should be updated to match • This should happen automatically when the Account record is saved
  • 20. RESOURCES • Trailhead – Get Started with Flows • https://admin.salesforce.com/blog/2019/getting-started-with-the-new-flow-builder • AppExchange – Flow Templates & Screen components • UnofficialSF.com Blogs, Components, Local actions – www.unofficialsf.com • Automation Hour - www.automationhour.com • Jen Lee’s blog - www.jenwlee.com • Rakesh Gupta’s blog - www.automationchampion.com • David Litton’s blog - www.salesforcesidekick.com • The Wizard News podcast/blog (Brian Kwong) - https://thewizardnews.com/ • Metillium Consulting blog (Luke Freeland) - https://metillium.com/blog/ • https://captechconsulting.com/blogs/9-tips-for-using-salesforces-lightning-flow-the- right-way • Terry’s Tidbits Let’s Get Flowing Series: https://www.youtube.com/playlist?list=PLPXY38WvYAn6LX6Bl91ey_eLwY-_OYhPO
  • 21. QUIZ TIME! • What is the name of the site where you can download extra screen components and actions for flow? • If I need to combine two text strings together, what resource would I use? • Under what Setup menu heading is Flows located? • What is one thing Flows can do that Processes cannot do?
  • 22. Feel Free to Contact Me! Michelle.Hansen@salesforceMVPs.com Twitter: @mehansen82 Trailhead: https://trailblazer.me/id/michellehansen LinkedIn: https://www.linkedin.com/in/michelleelizabethhansen/