Create a Macro and Quick Text
After completing this unit, you’ll be able to:
- Create macros.
- Create quick text.
Create an Irreversible Macro
Maria arrives at work bright and early, eager to try out her new tools. Before she can even log in, Sita stops by her desk. More cases about broken solar panels arrived today. Yikes! Sita wants to know when the tools will roll out to agents. Maria has good news—she plans to have the tools ready by tomorrow, or maybe even today.
Maria logs in and launches her Service Console app. She knows macros perform actions on records, so she opens one of the cases for a broken panel. She decides to create a macro that sends an email to customers who haven’t submitted photos of the broken panels. Photos are required to authorize a replacement, so she wants to make requesting them easy. Here’s how she does it.
- From the Service Console app, open a case. Then click Macros in the
utility bar to launch it. Click Create Macro to get started.
- Give the macro a name and description, then select the object the macro applies to. The
Apply To value defaults to the object you were viewing before.
Here’s Maria’s macro.
- Click Save.
The macro record view is displayed. This page shows you all the details of your macro.
- Click Edit Instructions to start telling the macro what to do.
- If prompted, click Open in the pop-up window to launch the Macro
Now it’s time to add instructions for the macro. The Macro Builder displays the record page that you started from. Since this isn’t the “real” record, we call this area the canvas (1). The instruction panel keeps track of all your updates (2).
- In the instruction panel, click Add Instruction.For now, all you have to do is click the canvas and perform whatever actions you want the macro to run, kind of like making a video recording of all your actions. Click the actions and fields just like you would for a regular record. To help you out, the supported regions and actions that you can update are highlighted on hover. Then use the instruction panel to enter your updates. You can insert quick text, use email templates, add email attachments, and more.
- In the canvas, click Email.
- In the instruction panel, click Insert Email Template.
- Select an email template.
Maria has already set up an email template to handle the initial email response requesting photos.
To follow along, you can use the Support: Case Created (Web Inquiries) template. To find the template, you might need to first change the template directory. Select Classic Email Templates in the Templates field.
- To send the email, click Send in the canvas.
The instruction panel is updated to include an irreversible action. Remember those from earlier? They’re actions that can’t be undone. Once the macro sends the email, it can’t be undone.
Here’s what Maria’s instructions look like.
- Click Save.
- To return to the Service Console app, close the browser tab for the Macro Builder.
Where’s the Macros List View?
- From the Service Console app, open a case. Then click the navigation menu.
- Click Edit.
- Click Add More Items, and select Macros to add it to the menu.
- Click Save.
Maria’s excited to try out her macros on the new cases that have come in. She’s curious to see just how many clicks she saves her agents.
Create Quick Text
To save more clicks, Maria dives into setting up quick text. She wants to create a few samples to show her agents just how powerful they can be. She decides to make one with an apology that can be sent to customers about the broken panel. Here’s how she does it.
- From the Service Console app, select Quick Text in the navigation item menu.
- Click New Quick Text in the Quick Text list view.
- Give your quick text a name. Maria enters Solar Panel Apology.
- Enter your quick text message. The message can include line breaks, lists, special characters, merge fields, and up to 4,000 characters.
- Select a category. Maria selects Closings.
- Select the channels in which you want the message to be available. Maria selects
Email.Depending on which features are enabled in your org, these channels might be available.
- Email—Works with the email action
- Chat—Works with Chat in the Service Console
- Phone—Works with the Log a Call action
- Portal—Works in a community or a customer portal
- Internal—Works with internal fields, like on the Change Status action
Here’s Maria’s quick text.
- Click Preview to take a peek at what the quick text looks like with resolved merge fields.
- To view sample resolved merge fields, select a recipient and a related record. Use the
dropdown to change the object to cases.
Here’s Maria’s quick text in preview.
- Close the preview, then click Save.
Maria creates a few more quick text messages, including one with a personalized signature.
Understand How Sharing Works
By default, sharing settings for macros and quick text are set to private. That means agents can’t see the macro or quick text that Maria created until it’s shared with them. To share macros and quick text, you have a few options.
|User Interface||Sharing Model|
Let users organize and share quick text and macros in folders. To share an item, users add items to a folder, and then share that folder. To use this model, you enable folders for quick text and macros in Setup.
For detailed steps on enabling folders, see the previous unit.
Share individual items
Let users share quick text and macros individually. To share an item, users click the Share button on the quick text or macro record details. To use this model, you don’t have to enable anything because it’s the default behavior in Salesforce Classic.
Let users see all quick text and macros in your org. To use this model, you update the org-wide sharing settings for the quick text and macros objects to public in Setup. We don’t recommend this model for most orgs.
Maria enabled folders for quick text and macros in the previous unit, so she’ll share her quick text and macros using folders after she’s tried them out herself.