Top Banner
Three Trigger-Ready Flows You Can Build Today Patrick Sheil Consultant Appirio @patrickasheil Grant Pearce Director, Sales Technology & Enablement Choice Hotels International
23

Three Trigger-Ready Flows You Can Build Today

Jul 08, 2015

Download

Technology

Patrick Sheil

A presentation by Patrick Sheil (Consultant, Appirio) & Grant Pearce (Director of Sales Technology, Choice Hotels) at Dreamforce 2014 outlining three Salesforce Flow Triggers that can be easily repurposed to be useful for any business.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Three Trigger-Ready Flows You Can Build Today

Three Trigger-Ready Flows You Can Build TodayPatrick Sheil

Consultant

Appirio

@patrickasheil

Grant Pearce

Director, Sales Technology & Enablement

Choice Hotels International

Page 2: Three Trigger-Ready Flows You Can Build Today

Place

Customer or

Partner logo in

white area of

slide, centered

Patrick SheilConsultant

@patrickasheil

Page 3: Three Trigger-Ready Flows You Can Build Today

Place

Customer or

Partner logo in

white area of

slide, centered

Grant PearceDirector, Sales Technology & Enablement

Page 4: Three Trigger-Ready Flows You Can Build Today

Session Agenda

• Description of Pilot Program

• Business Use Cases at Choice

• Live Demos of Solutions

• Look at Flow & Workflow Rules

• Build One in Real-Time

• Q&A

Page 5: Three Trigger-Ready Flows You Can Build Today

Vision for Success in Salesforce Implementation

• Intuitive User Interface

• Automation of repetitive tasks to increase efficiency

• Configuration with limited code

• Easily supported by admins, not developers

Page 6: Three Trigger-Ready Flows You Can Build Today

Pilot Program: “Launch Flows from Workflow Rules”

• Use cases called for a good amount of functionality that would require

triggers for new record creation, cross-object updates, etc.

• Wanted to allow administrators and the business control to make minor

modifications as requirements evolve over time.

• Participation in the program is upon request. Speak to your

salesforce.com Account Executive and request to be added to the pilot.

Page 7: Three Trigger-Ready Flows You Can Build Today

Launch Flows from Workflow Rules (Pilot)Program Description

• Visual Workflow

• Workflow Actions

• Similarities/Differences from Apex Triggers

• Benefits

Page 8: Three Trigger-Ready Flows You Can Build Today

Use to

introduce a

demo, video,

Q&A, etc. Flow #1: Chatter Auto-Follow

Page 9: Three Trigger-Ready Flows You Can Build Today

1. Subscribe Opportunity Team Members to OpportunityBusiness Use Case

• Allow users to easily collaborate on global opportunities

• Drive adoption of Chatter

• Reduce email notifications

• Keep correspondence public & in the feed

Page 10: Three Trigger-Ready Flows You Can Build Today

Use to

introduce a

demo, video,

Q&A, etc. Live Demo: Flow #1Dreamforce 2014

Page 11: Three Trigger-Ready Flows You Can Build Today

Workflow Rule & Flow Trigger Action

Page 12: Three Trigger-Ready Flows You Can Build Today

Visual Workflow Logic

Page 13: Three Trigger-Ready Flows You Can Build Today

Use to

introduce a

demo, video,

Q&A, etc. Flow #2: Batch-Create Child Records

Page 14: Three Trigger-Ready Flows You Can Build Today

2. Create Response Records for Nightly Room RequirementsBusiness Use Case

• Each opportunity has a set of overall nightly room requirements

• RFPs may be sent to multiple hotels on one opportunity

• Need to track the number of rooms each individual hotel offers and their rates

• Can view an individual hotel’s responses for each date and room type

Page 15: Three Trigger-Ready Flows You Can Build Today

Use to

introduce a

demo, video,

Q&A, etc. Live Demo: Flow #2Dreamforce 2014

Page 16: Three Trigger-Ready Flows You Can Build Today

Workflow Rule & Flow Trigger Action

Page 17: Three Trigger-Ready Flows You Can Build Today

Visual Workflow Logic

Page 18: Three Trigger-Ready Flows You Can Build Today

Use to

introduce a

demo, video,

Q&A, etc. Flow #3: Update All Child Records

Page 19: Three Trigger-Ready Flows You Can Build Today

3. Update All Child Records When Parent ChangesBusiness Use Case

• After a hotel offers a number of rooms for a particular night, a proposal is sent to the

client

• Client evaluates the hotel’s proposal and decides whether to accept or decline

• When the proposal is accepted, the rooms are booked and totals should roll up to

the parent opportunity

Page 20: Three Trigger-Ready Flows You Can Build Today

Use to

introduce a

demo, video,

Q&A, etc. Live Demo: Flow #3Build Flow, Workflow Rule, and Trigger

Page 21: Three Trigger-Ready Flows You Can Build Today

Lessons LearnedTips, Tricks, etc.

• Workflow rules with Flow Actions are less forgiving

• Solve for all possible outcomes (expected, alternate, unexpected)

• Add fault connectors wherever possible

• Deployment is tricky

– Activation is manual

– Version number conflicts

– Sequence of deployment steps (Flow, Activation, Workflow Action)

• Test coverage, while not required, helps

Page 22: Three Trigger-Ready Flows You Can Build Today

Use to

introduce a

demo, video,

Q&A, etc.

Q&A

Page 23: Three Trigger-Ready Flows You Can Build Today