12
Using Process Builder to Call Flow Taking Declarative Automation to the Next Level Paul Fischer Salesforce Consultant @PaulFischerSaaS pbfischer.com

Chicago World Tour - Paul Fischer

Embed Size (px)

Citation preview

Page 1: Chicago World Tour - Paul Fischer

Using Process Builder to Call FlowTaking Declarative Automation to the Next Level

Paul FischerSalesforce [email protected]

Page 2: Chicago World Tour - Paul Fischer

What is Lightning Process Builder?

“Process Builder is a workflow tool that helps you easily automate your business processes by providing a powerful and user-friendly graphical representation of your process as you build it.”

Think Workflow Rules on Steroids

Page 3: Chicago World Tour - Paul Fischer

What is Flow?

“Visual Workflow lets you build applications, called flows, to help users within your organization perform tasks easily and efficiently.”

Also referred to as Visual Flow (not Workflow Rules)

Page 4: Chicago World Tour - Paul Fischer

What can Process Builder and Flow do?

- Create a record - Update any related record—not just

the record or its parent - Use a quick action to create a record,

update a record, or log a call - Launch a flow—you can’t schedule

this action with workflow - Send an email - Post to Chatter - Submit for approval

- Multi-step user interface to collect information from user

- Built on Elements which can query, create, update and delete multiple records

- A Flow is a series of Elements connected together

- Conditional branching & looping- Launched from web tab, custom button, Visualforce page, or process builder- Transactions are automatically bulkified

Process Builder Flow

Page 5: Chicago World Tour - Paul Fischer

Who Cares?

Process Builder is better than Flow in some areas and vice versa.

Both offer functionality the other doesn’t have that when leveraged together can be used to build solutions to drive customer success.

Transitioning the conversation from features to solutions

Page 6: Chicago World Tour - Paul Fischer

“Having Products automatically added to the Opportunity enables us to spend more time with the customer.”Nick Sherbune, Founder, Club Champion Golf

Overview Club Champion offers custom fitted golf clubs to improve your golf game. There is a

charge per appointment, and they wanted the charge to automatically be added to the customer’s bill when an Opportunity was created to minimize user error (ie. shrinkage) and enable the fitter to spend more time building relationships with the customer. There are different types of appointments and different charges depending on type.

Drag picture to placeholder or click icon to add

Page 7: Chicago World Tour - Paul Fischer

Flow SetupThe nitty-gritty

- 2 Fast Lookup Elements - 1 Decision Element - 1 Record Create

Element

Page 8: Chicago World Tour - Paul Fischer

Process Builder SetupThe nitty-gritty

- Choose when to start process (on Opportunity record creation)

- Set Criteria (to only run when lookup field is populated)

- Add Flow to Immediate Actions section where we set our variables

Page 9: Chicago World Tour - Paul Fischer

Process Builder Setup Continued…Plugging Process Builder into Flow

- We feed the Opportunity ID to a variable in the Flow that stores the Opportunity ID

- We feed the Product ID from a lookup field on the Opportunity to a variable in the Flow that stores the Product ID

Page 10: Chicago World Tour - Paul Fischer

Live Demo

Page 11: Chicago World Tour - Paul Fischer

thank y u

Page 12: Chicago World Tour - Paul Fischer

Upcoming Chicago Community Events Presented by Salesforce Community Leaders

Midwest Dreamin’July 21st & 22nd at Navy Pier

Call for Presenters is OPEN! Closes 4/1/16Sponsorship Opportunities Available, spaces are

limited! To learn more go to: MidwestDreamin.com or

@Midwest_Dreamin

Trailhead on the RoadMay 7 – 9 am to 2 pm

Illinois Technology Association 20 N. Upper Wacker Dr. #1200

Registration Opens SOON! Free to attend, space is limited