---
schema_version: "1"
id: 4880c4475aaf24c12a87a420194302ec869b102a9c54ef48078f9fd8889e91cc
title: Automate Your Tasks with Macros
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/essentials_macros.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.essentials_macros.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2ccbdbe6dae43e2d720f76a367bc8ed4f1b3998d369d23f0db7ffe279bbbcfd1
description: A macro automates a common process so your team can help customers with fewer clicks.
products:
  - Cross Cloud
release: "264"
---
# Automate Your Tasks with Macros

A macro automates a common process so your team can help customers with fewer clicks.

## Why Do We Use Them?

Macros speed up the process of getting your customers the support they need by automating repeated tasks for your team. Instead of jumping around to find the right tools, you can solve a customer issue with a single click.

The Macro Builder is where you set the logic behind the magic. The left side of the page displays a canvas with a sample record for the object you selected, like a case (1). The right side of the page lets you specify the instructions and details for the macro (2).

![The macro builder with the canvas record and instructions panel highlighted.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-essentials-264-0-0-production-enus/e0001bec-929a-481e-9d65-d13539e5cfe8/essentials/images/macros_create_lex_builder.png)

Set the instructions and logic that you need to get everything done in one click. You can use macros to send canned responses, escalate cases that meet certain conditions, attach a commonly-reference Knowledge article, change a case's status, and more.

![An example of a macro containing instructions for case emails.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-essentials-264-0-0-production-enus/e0001bec-929a-481e-9d65-d13539e5cfe8/essentials/images/essentials_macro_builder_email.png)

![An example of macro instructions containing logic.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-essentials-264-0-0-production-enus/e0001bec-929a-481e-9d65-d13539e5cfe8/essentials/images/macros_create_lex_builder_example_logic.png)

## Why Are They Important?

By saving you and your customers time on getting support, you can focus on optimizing your service for the future.

#### See Also

- [Set Up and Use Macros](https://help.salesforce.com/articleView?id=macros_def.htm&language=en_US)
- [Add Logic to Macros](https://help.salesforce.com/articleView?id=macros_create_lightning_add_logic.htm&language=en_US)