automation introduction to workflow
TRANSCRIPT
![Page 1: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/1.jpg)
Introduction to Workflow Automation
Principal Success Manager@kemi_le
Kemi Le
![Page 2: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/2.jpg)
![Page 3: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/3.jpg)
Today’s Field Trip
Q&AExplain It
Show It
![Page 4: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/4.jpg)
Building Automation in SalesforceWhy automation? What tool to use? Break it down for me.
![Page 5: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/5.jpg)
Business Processes Are Being Disrupted EverywhereCompanies must reimagine their existing processes
Digital Learning
Online Groceries
Remote Hiring
Tele Medicine
![Page 6: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/6.jpg)
Every Process Involves Complex Business LogicThere are many decisions and actions behind every step of the process
Damagedor Stolen?
STOLEN
DAMAGED
DisputeTransactions
ConfirmAddress
Action
Action
Decision
Decision
![Page 7: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/7.jpg)
Often leading to delaysImplementing New Processes Is Hard
Taking ActionNavigate all the pages to take action
Fetching DataNeed to manually query different systems
Training Employees need to learn complex business logic
![Page 8: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/8.jpg)
Automation is Awesome!
● Things you do over and over● Things you’re likely to mess up● Things you’re likely to forget● Things that require no skill
Scale! Scale! Scale!
![Page 9: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/9.jpg)
Like What?
● Over and Over – If I get a lead’s voicemail, schedule a follow up task for the next day● Forget – 30 days before a renewal, notify customer and sales rep● Mess up – When a customer signs-up, create the contract/invoice● No Skill – Send a “welcome email” using the approved template to new leads● Collect input – employee onboarding form that assigns equipment, apply for credit
card
Some ideas to get the gears turnin’
![Page 10: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/10.jpg)
Set up data rules for your users
Can contain formula or expression
Returns TRUE or FALSE
Shows error message if TRUE
Error can show at field or top of page
Ensure data qualityValidation Rules
![Page 11: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/11.jpg)
Each Object can have several
“Entry Criteria”
Lock Records
Route to Correct Approvers
Automatic Approve/Deny
Email Response ( “Approved”)
Enterprise Edition
You’re not the boss of me! Oh, you are? Can I please have your permission? Approvals
![Page 12: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/12.jpg)
Point and Click
Limited Options
“Original Process Builder”
Enterprise Edition +
*Just Use Process Builder
WorkflowOld School Automation
![Page 13: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/13.jpg)
Process Builder
Create / Edit Records
Create Child Records
Update Parent Records
Immediate / Time Delayed
Admin Accessible
Best combination of Power and Ease of Use
![Page 14: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/14.jpg)
Demo - Workflow and Process Builder
![Page 15: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/15.jpg)
Flow Builder
Wizards / Screen Driven
If / Else / Loops
Query other recordsCreate / Update Records
Embed Anywhere
Before Save/Before Delete
Great for “Agent Experience”
Professional Edition - 5
Enterprise Edition + - Unlimited
They’re incredibly powerful. Learning curve.
![Page 16: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/16.jpg)
Flow Builder or Process Builder or...
Flow is near feature parity to Process Builder and are much more powerful.
Good News! Flow is easier to build and the future of Salesforce Automation!
Flow Simplification
It’s easier than ever to build flow with simple automatic
field discovery and automatic output handling.
Triggered Automation
Flow now supports trigger automation similar to Process
Builder. You can even build scheduled Flows without coding scheduled Apex.
Screen Flows
Guide your users through a complicated workflow with screen flows to collect input
and automate follow-up steps such as updating records.
![Page 17: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/17.jpg)
Flow Feature Parity
● Faster Than Ever: Field updates to your record are up to 10x faster in Flow using Before Save
● Schedule to Save: Offload automation to run on a daily or weekly schedule, instead of firing on each change
● Target with Precision: You choose exactly which records and which kinds of changes will fire a record-triggered flow
Coming Soon to Flow...
● Scheduled/Time-Delayed Record-Triggers● Prior Value
![Page 18: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/18.jpg)
Embed Guided Workflows EverywhereEnhance user experience and business agility
Automate from anywhereEmbed flows to every device to deliver seamless user experience
Customer self-serviceCreate seamless customer experiences while freeing up employees to work on higher value processes
Guide employee workflowsStreamline employee workflows with trusted processes to improve productivity
Customer Communities or Any Website Employee Apps
Salesforce Mobile
![Page 19: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/19.jpg)
Platform Events
Publish and subscribe to events within Salesforce
and external sources
Subscribe to event messages
Automate Across Connected SystemsOrchestrate connected workflows without limitation
External Objects
Map to data located outside your
Salesforce org using OData adapters
Fetch external data
External Services
Connect to an external endpoint using Open API
services
Integrate external functions
Custom integration functionality
Apex or MuleSoft
Connect any system through Apex and/or MuleSoft reusable
APIs
![Page 20: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/20.jpg)
Build Enterprise-Scale AutomationManage automated processes from testing to monitoring
Process Analytics
Process Visual Debugger
BuildingModel manual business process
TestingDebug and troubleshoot
MonitoringAnalyze usage and performance
![Page 21: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/21.jpg)
Automation ComponentsFlow actions and UI building blocks
And learn from industry best practices
Get a Jump Start with Pre-Built Automation
Flow TemplatesConfigurable end-to-end processes
Flow ActionsStandalone automation functionality
NEW
AppExchange Solutions
Open Source Solutions
![Page 22: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/22.jpg)
Empower Everyone to Innovate FastBuild once and customize everywhere
NO-CODE BUILDERS
PRO-CODE ACTIONS
LOB IT
No Code
Admins IT Dev
Build Together
LOW-CODE INTEGRATIONS
Declarative
Programmatic
![Page 23: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/23.jpg)
Steps to Build Your Automation
1. Define Trigger - how is the automated process kicked off 2. Model Business Logic - map out records to be updated, values to be
assigned, decisions to be made3. (Optional) Integrate - connect to external data sources for
cross-system workflows4. Action - what will it do?
![Page 24: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/24.jpg)
Simple Demo
![Page 25: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/25.jpg)
1. Head to https://www.platformdemos.com/s/
2. Launch Flow Builder Demo in a scratch org
Platform DemoVideo, Talk Track, Scratch Org, And More
![Page 26: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/26.jpg)
Process Builder Example: Lead Follow Up
Trigger – Lead
Criteria – Custom Field (Call Me Back Date) is not empty, and it’s changed.
Action – Create Task with “Call me back date” related to Lead
![Page 27: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/27.jpg)
Process Builder - Lead Follow Up
1. Trigger – Lead
![Page 28: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/28.jpg)
Process Builder - Lead Follow Up
2. Criteria – Custom Field (Call Me Back Date) is not empty
![Page 29: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/29.jpg)
Process Builder - Lead Follow Up
3. Action – Create Task with “Call me back date” related to Lead
![Page 30: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/30.jpg)
Flow Builder - Quick Create Account
1. Trigger – 2. Criteria – Custom Field (Call Me Back Date) is not empty
![Page 31: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/31.jpg)
Flow Builder - Update Shipping AddressMain steps in the demo
Change Shipping Address
What happens to active orders?
Get Account Record
Retrieve current record using Get
Record
Create Screen to Collect Input
Use a screen to collect new shipping
address
Update Shipping Address
Loop through active orders to update
shipping
![Page 32: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/32.jpg)
Best Practices
Start with a simple use case
Plan your flow before you start building
Build your flows in a sandbox or developer edition org
Never hard-code Salesforce IDs
Wait until the end of the flow to make changes to the database
Provide an error handler
Save early and often
![Page 33: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/33.jpg)
What to do after this webinar
Trailhead: Choose The Right Automation Tool
Trailhead: Build Flows with Flow Builder
Trailhead: Build a Simple Flow
Community Resources: UnofficialSF
Trailblazer Community: Salesforce Automation
Appexchange: Flow Solutions
Trailhead Sample Gallery
Architect Decision Guides
Developer Guide - Order of Execution
![Page 34: Automation Introduction to Workflow](https://reader030.vdocument.in/reader030/viewer/2022041208/6250d3282ad3075c074b2e14/html5/thumbnails/34.jpg)
Success Best Practices