Implement the Flow Using the Utility Bar
Look at you go! You've built a flow that reps can use to gather feedback about Preferred Repair. The only thing left is to make sure that the reps can access it.
You’ll implement this flow using the utility bar in a Lightning app. With the utility bar, you can make flows available on every page in an app.
Activate the flow, so that non-admin users can run the flow.
On the button bar, click Close.
The Cloud Flow Designer closes, and the flow detail page opens.
- For the version you saved, click Activate.
- On the button bar, click Close.
Open the Sales Lightning app.
- In Setup, enter App in Quick Find, then select App Manager.
- For the app whose Developer Name is LightningSales, click and select Edit.
Add the flow to the Sales Lightning app’s utility bar.
- Under App Settings, click Utility Bar.
- Click Add, and select Flow.
- In the utility item properties, change the label to Survey Customers.
- In the component properties, for Flow select Survey customers.
- Save your changes, then click Back.
You should test all customizations before rolling them out to users, and flows are no different. Testing lets you fine-tune the flow’s behavior, identify and fix bugs, and otherwise make sure your users have a pleasant experience. And of course, you benefit, because you’re much less likely to spend time later responding to panicked emails.
Here, you’ll pretend you’re a support rep and create a test survey record. Then, you’ll verify that the record was created successfully. Let’s get testing!
Create a Fictional Survey Record
Walk through the flow just like a support rep would. In so doing, you’ll create a test survey record for a fake customer: Madison Rigsby.
- Click .
- Under All Apps, click Sales.
In the utility bar, click Survey Customers.
- Because you want to test that a record is created, for Customer Response select Yes.
Respond to the survey as follows.
Question Response Before we begin, can you confirm your name? Madison Rigsby Of the following options, how would you rate your interactions with the Preferred Repair team? Excellent Of the following options, how satisfied are you with the Preferred Repair service? Satisfied Do you have any other comments you’d like to share with us? Not at this time
- Click Next.
- Click Finish.
Verify the Survey Record
Make sure that the flow successfully created the survey record. Also, because Salesforce doesn’t display custom objects by default, you’ll configure a tab to display surveys.
Navigate to the survey record for Madison Rigsby.
- Click .
- Under All Items, click Customer Satisfaction Surveys.
- Click Madison Rigsby.
Verify that your responses appear in the survey record.
Congratulations! You’ve just built, implemented, and tested a flow.
Take It Further
If you haven’t worked with flows before, you’ll soon find that existing flows make great starting points for new ones—particularly as your organization grows and changes. Take the customer satisfaction survey you created, for example.
- To quickly address cases where customers reported dissatisfaction with the service, configure the flow to email a support manager on the Preferred Repair team.
- To give the flow more power, associate the survey records it generates with contacts in the Salesforce database.
For practice with other use cases, check out the other flow projects in Trailhead.