How to use Macros in Salesforce?

on

|

views

and

comments

 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.

  1. A macro is a set of instructions that tells the system how to complete a task.
  2. 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.
  3. When a user runs a macro, the system performs each instruction.
  4. Macros help your team save time and add consistency.

Prerequisite for Macros in Salesforce

  1. 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.
  2. Add the Macros widget or utility to the app.
  3. 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.
  4. 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 –

  1. https://help.salesforce.com/articleView?id=sf.macros_def.htm&type=5
  2. https://trailhead.salesforce.com/en/content/learn/modules/service-cloud-agent-productivity/create-a-macro-and-quick-text
  3. https://help.salesforce.com/articleView?id=sf.macros_create_lightning.htm&type=5
  4. https://help.salesforce.com/articleView?id=sf.macros_getting_started.htm&type=5

Thanks for reading 🙂 #HappyLearning #SharingIsCaring #AwesomeAdmin #ServiceCloud

Amit Singh
Amit Singhhttps://www.pantherschools.com/
Amit Singh aka @sfdcpanther/pantherschools, a Salesforce Technical Architect, Consultant with over 8+ years of experience in Salesforce technology. 21x Certified. Blogger, Speaker, and Instructor. DevSecOps Champion
Share this

Leave a review

Excellent

SUBSCRIBE-US

Book a 1:1 Call

Must-read

How to Utilize Salesforce CLI sf (v2)

The Salesforce CLI is not just a tool; it’s the cornerstone of development on the Salesforce Platform. It’s your go-to for building, testing, deploying, and more. As one of the most important development tools in our ecosystem

Save the day of a Developer with Apex Log Analyzer

Table of Contents What is Apex Log Analyzer? Apex Log Analyzer, a tool designed with Salesforce developers in mind, is here to simplify and accelerate your...

Salesforce PodCast

Introduction Hey Everyone, Welcome to my podcast, the first-ever podcast in India for Salesforce professionals. Achievement We are happy to announce that we have been selected as Top...

Recent articles

More like this

2 COMMENTS

    • 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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

5/5

Stuck in coding limbo?

Our courses unlock your tech potential