A macro is a set of instructions that tells the system how to complete a task. When a user runs a macro, the system performs each instruction. Macros help your team save time and add consistency.
You can create macros to perform multiple actions. For example, a macro can enter the subject line of an email and update the case status. A single macro can perform multiple actions on different parts of the case feed at the same time.
- A macro is a set of instructions that tells the system how to complete a task.
- Users can run macros to complete repetitive tasks—selecting an email template, sending an email to a customer, updating the case status—all in a single click.
- When a user runs a macro, the system performs each instruction.
- Macros help your team save time and add consistency.
Prerequisite for Macros in Salesforce
- Make sure that the record page you want to use macros with includes a publisher, like the Chatter component, and the actions you want to use, like Email or Log a Call.
- Add the Macros widget or utility to the app.
- In Salesforce Classic, add the Macros widget to the app from the Apps page in Setup. Look for the Choose Custom Console Components section and add the widget there.
- In Lightning Experience, add the Macros utility to the app from the App Manager in Setup.
Irreversible Macros
Some macros perform actions that can’t be undone, such as sending outbound emails to customers or updating a case status. A macro that contains a Submit Action instruction is irreversible.
To help you identify irreversible macros, look for these icons.
Step1 – Enabling Macros in Salesforce
Setup -> Feature Settings -> Service -> Macro Settings & Enable the Macros
Step2 – Edit the Macro Page Layout
Setup -> Object Manager -> Page Layouts -> Macro Layout
Setp3 – Create Folders for Macros
Click on App Launcher -> Macros -> New Folder
Step4 – Create Macros
Resources –
- https://help.salesforce.com/articleView?id=sf.macros_def.htm&type=5
- https://trailhead.salesforce.com/en/content/learn/modules/service-cloud-agent-productivity/create-a-macro-and-quick-text
- https://help.salesforce.com/articleView?id=sf.macros_create_lightning.htm&type=5
- https://help.salesforce.com/articleView?id=sf.macros_getting_started.htm&type=5
Thanks for reading 🙂 #HappyLearning #SharingIsCaring #AwesomeAdmin #ServiceCloud
Is there anything that Screen flow can’t complete we need Macro’s help?
Macros and Screenflows are two different things. Screenflow requires user intervention for each and every screen where as Macros are pre-defined actions that can be run automatically with one click only. And the Capability of macros is a lot. All you need to do is read about macros if you are interested.