Close this search box.

Macros in Salesforce

A macro is a tool that automates the repetitive tasks that a user is doing in Salesforce. The user needs to add the macros to the utility to use it.
Macros are supported on objects that have a feed-based layout and quick actions.

Actions that macros can do are:

1. Sending an email (including templates and attachments)
2. Creates a task or event or logs a call.
3. You can edit the case status.


1. Appropriate Permissions on the Macros Object
2. Adding the macros to the utility
3. For bulk macros, “Run macros on multiple records” system permission is required.

Bulk macros are helpful for doing the same task with multiple records. Bulk macros are supported in List View pages. We can select multiple records from the list view and run the macro. Bulk macros are highlighted with a lightning icon on the list view page.
In this way, the same task is done across multiple records with a single click.


Specific actions that are done by macros cannot be undone. These macros are called irreversible macros. 
The irreversible actions that Macro takes are:

  1. Sending an email
  2. Creating an Event
  3. The actions that have the submit button on the instructions

Use Case:

For service users to close a case, they will send out an email and change the status to “Closed”. If done manually, it will take a specific amount of time. So, if the user is leveraging Macro on that use case, they can do that in a single click for all the instances manually every time.

Permissions required for macros:

  1. Read, edit, or create permission on the macro object. Delete if required.

2. Run Macros on Multiple Records for the bulk Macros.


To use macros in any application, add the macros to the utility items for the selected app in App Manager.

Step 1: Navigate to the setup and open the App Manager.


Step 2: Click on the edit option on the drop-down menu for which app the macros is required.

Step 3: Click on the Utility section. 

Step 4: In the search bar, type macros and select macros.

Step 5: After adding the Macros to the utility section, Click on save

Execution of above Macro [Example]:

Running Macro:

After Macro runs:

After the Macro runs, we can see that the email is sent to the case contact, the status is updated to working and edited the description field.

Macros can also be used for quick text. Quick Text is a feature that can be used to save the text that the user is often entering to reduce the time taken to enter the text manually.

Macros and Quick Text combine to create a great tool that reduces the time taken to complete the redundant task that a user is doing in Salesforce.

To watch the video on how to create macros, click here.


Salesforce Help Link


Keyboard Shortcut to Open Macro Utility: Press “m.”.

For more shortcuts, click here!

About the author: Yogeeswaran



Picture of Yogeeswaran


Salesforce Consultant

Leave a Reply

Your email address will not be published. Required fields are marked *


On Key

Related Posts

AI Revolutionizing Real Estate

AI Revolutionizing Real Estate The Royal Institute for Chartered Surveyors (RICS) recently released a groundbreaking report on the transformative power of artificial intelligence (AI) and

San Francisco Headquarters

One Bay Plaza, 1350 Old Bayshore Hwy,#520 Burlingame, CA 94010 ​

Bengaluru Office

IndiQube Edge 4th floor Bellandur, Bengaluru, Karnataka 560103

Pune Office

OYO Workspaces India Pvt. Ltd. Above Vijay Sales, 2nd floor, Pride Purple Accord, Baner road, Baner, Pune - 411045