---
schema_version: "1"
id: 3d32aaced957d2410bc0d13c0002d20c5fd4fe827041d530b31c87e7bbfab053
title: Create a Bulk Macro
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/macros_create_bulk.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.macros_create_bulk.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 4df06f50fc51e99546336d59234038332b2ce8eee70cc9c6a250155fc2650bb4
description: This example shows you how to create a bulk macro that sends an email to the contact person for the selected customer cases.
products:
  - Service Cloud
release: "264"
---
# Create a Bulk Macro

This example shows you how to create a bulk macro that sends an email to the contact person for the selected customer cases.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.service_editions_reference.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d162992e58">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d162992e58 ">To view macros:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d162992e58 ">Read on macros</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d162992e58 ">To create and edit macros:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d162992e58 ">Create AND Edit on macros</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d162992e58 ">To create and run irreversible macros:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d162992e58 ">Manage Macros That Users Can’t Undo</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d162992e58 ">To run bulk macros:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d162992e58 ">Run Macros on Multiple Records</td>

          </tr>
        </tbody>
      </table>

For example, suppose that your company has a service outage and lots of customers have contacted customer support. Support reps can send an email to customers who have opened cases about the outage that tells them when the service outage is expected to end.

These steps show you how to create a bulk macro that sends an email to the contact person on the selected cases. To implement this example in your org, enable the Email Publisher.

1. Create a macro.
2. Add the instructions for the macro.
    1. Select a context for the macro. The context specifies the object that the macro interacts with.
        
        Selecting **Select Active Tab** tells the macro that it’s performing an action on the active case tab in the Case Feed.
    2. Click **Done**. After every instruction, click **Done** to move to the next line.
    3. Select the publisher that the macro interacts with.
        
        Selecting **Select Email Action** tells the macro to interact with the Email Publisher in Case Feed.
    4. Select the action that you want the macro to perform.
    5. Finally, select **Submit Action** to tell the macro to perform these instructions.
3. Save the macro.
    
    You’ve created a macro that creates and sends an email to the contact person for the selected cases. This macro can be run as a bulk macro because it meets all the criteria for a bulk macro. It interacts with the Email Publisher, it uses a supported instruction, and it includes a Submit Action instruction. You can run this macro as a bulk macro on multiple records at the same time. You also can run it on a single record at a time.

When you look at the macros list, an icon showing a green lightning bolt with two underlines (![Lightning bolt](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/macros/macros_icon_bulk.png)) appears next to bulk macros. Make sure that this icon appears next to your macro.