Using Macros - Online Help | Zoho Desk

Creating and Using Macros

Organizations handle a large volume of tickets daily. When multiple teams and departments are involved, having a structured process ensures efficiency and consistency.
Organizations rely on automation options such as assignment rules to route tickets to the appropriate teams automatically, blueprints to define the stages from ticket creation to closure, and workflows to trigger backend actions like alerts and notifications when certain criteria are met.

Understanding macros

Macros are a predefined set of actions that can be performed on a ticket in one click. Users can use macros as a shortcut to perform actions such as sending alerts and more at once, saving time and improving efficiency.

Macros combine automation with human judgment, allowing users to act based on real-time context instead of fixed conditions. This bridges the gap between full automation and manual actions.

Key capabilities of macros:
  1. Perform multiple updates instantly - Execute actions such as emails, field updates, and tasks in one click.
  2. Triggered manually based on real-time judgment - Users decide when to apply macros based on the ticket context.
  3. Apply to multiple tickets at once - Save effort by running macros on several tickets simultaneously.
  4. Reduce repetitive manual work during live support - Eliminate the need to repeat the same steps across tickets.

Benefits of using macros

  1. Saving time - Multiple manual steps involved in a ticket get completed in a few seconds.
  2. Improving user productivity - Users can focus on troubleshooting and fixing the issue instead of performing actions manually.
  3. Reducing manual errors - For new users, too many steps can be overwhelming, and they may miss certain steps. Macros perform all actions without requiring verification.
  4. Scaling operations - As ticket volume increases, macros help maintain efficiency without increasing the workforce.
Info Permission Required

Business scenarios

Account hacked - Security issue
A customer reports possible account hacking, and a ticket is created in the Support team's department.
The user who receives the ticket must perform the following actions after verifying the ticket:
  1. Change priority to Critical
  2. Assign ticket to Security Team
  3. Set ticket status to Open
To handle this query better, a macro called Security - Account Compromise can be created with the above actions that must be manually triggered.

Banking – Suspicious Transaction Freeze
A VIP customer reports an unauthorized transaction of 100k USD and wants to block their account.
The user who receives the ticket must perform the following actions after verifying the ticket:
  1. Assign ticket to the fraud investigation team
  2. Change priority to Critical
  3. Notify risk system team
  4. Send secure customer notification
To handle this query faster, a macro called Fraudulent activity detected can be created with the above actions that must be manually triggered.

E-commerce - Order Cancellation Request
A customer requests cancellation of an order within the cancellation window.
The user who receives the ticket must perform the following actions after verifying the ticket:
  1. Change ticket status to In Progress
  2. Send cancellation acknowledgement email to customer
  3. Create a task for the warehouse team to hold shipment
  4. Update the order status in the custom field
A macro called Order Cancellation - Standard can be created with the above actions for quick handling.

Key elements of macros

Macro rules are built using a combination of configurable actions such as alerts, field updates, and tasks that allow users to perform multiple actions on a ticket based on their requirements.
  1. Alerts - Notify users, teams, record owner, contact and more with a standard email template.
  2. Tasks - Create follow-up activities as tasks and assign to users or teams with priority and due date.
  3. Field Updates - Select fields such as status, priority, type, or custom fields and provide the values that must be updated.
  4. Custom Functions - Execute advanced logic or integrations using scripts to perform complex actions beyond standard configurations.
  5. Move Department - Move a ticket from the current department to a different department based on ticket requirements.
Notes
Note:
  1. Macros are department specific.
  2. A maximum of 10 emails, 10 tasks, and 10 field updates can be configured in each macro.
  3. A macro rule can be applied to a maximum of 50 tickets.
  4. Conditions cannot be defined in macro rules.
  5. Each macro rule can have only one move department action and is applicable only for the Tickets module.

Creating a macro

  1. Navigate to Setup > Automation > Macros.
  2. Click Create Rule.
  3. In the basic information section, enter the rule name and description.
  4. Check or uncheck Active to make the macro rule active or inactive.
  5. Click Next.
  6. Select the availability as All agents or Specific agents.
  7. On selecting specific agents, select agents, teams, roles, or roles and subordinates.

  8. Click Next.
  9. Select the actions to be performed in the macro:
    1. Alerts - On creating a new alert, enter the name of the alert, select an email template, and select the users, teams, or record owners to be notified.
    2. Field updates - On creating a new field update, enter the assignment value name, description, select the fields and the values that must be updated.
    3. Move department - Select this option to move tickets to a different department. Select a department and its layout to move the ticket.
    4. Tasks - On creating a new task, provide the subject, description, status, and priority of the task. Check or uncheck if you want the request owner to be the task owner. If not, select a user or team to assign the ticket to. Select a due date to trigger this rule.
    5. Custom function - On creating a new custom function, enter the name, description, and the method name. Write a script to execute the rule.
  10. Once all the actions are configured, click Save.

Managing Macros

The macro rules created are displayed under Automation > Macros.

The created rules can be edited, deleted, or deactivated at any point.
The new alerts, tasks, field updates, and custom functions created while creating a rule are displayed under Automation > Macros and can be edited at any point. New alerts, tasks, field updates, and custom functions can be created from there directly and selected as existing alerts while creating a new rule.

The alerts, tasks, field updates, and custom functions can be edited or deleted at any point. If any action is associated with a macro rule, it must be dissociated before deleting it.


Info
Points to Remember
  1. Inactive department - If a department is marked as inactive, on adding the move department action, a prompt is displayed indicating that the selected department is inactive and to select another department.
  2. Inactive or deleted layout - If a layout is deleted or marked inactive after the move department action is created, a prompt is displayed while editing the macro that the selected layout is inactive. Since the layout field is not mandatory, saving the action without the layout will move the ticket to the department's default layout.
  3. The move department action is executed last after all the actions are triggered.

        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                    All-in-one knowledge management and training platform for your employees and customers.

                                              Create. Review. Publish.

                                              Write, edit, collaborate on, and publish documents to different content management platforms.

                                              Get Started Now




                                                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                    Manage your brands on social media


                                                                      • Desk Community Learning Series


                                                                      • Digest


                                                                      • Functions


                                                                      • Meetups


                                                                      • Kbase


                                                                      • Resources


                                                                      • Glossary


                                                                      • Desk Marketplace


                                                                      • MVP Corner


                                                                      • Word of the Day


                                                                      • Ask the Experts


                                                                        Zoho Sheet Resources

                                                                         

                                                                            Zoho Forms Resources


                                                                              Secure your business
                                                                              communication with Zoho Mail


                                                                              Mail on the move with
                                                                              Zoho Mail mobile application

                                                                                Stay on top of your schedule
                                                                                at all times


                                                                                Carry your calendar with you
                                                                                Anytime, anywhere




                                                                                      Zoho Sign Resources

                                                                                        Sign, Paperless!

                                                                                        Sign and send business documents on the go!

                                                                                        Get Started Now




                                                                                                Zoho TeamInbox Resources





                                                                                                          Zoho DataPrep Demo

                                                                                                          Get a personalized demo or POC

                                                                                                          REGISTER NOW


                                                                                                            Design. Discuss. Deliver.

                                                                                                            Create visually engaging stories with Zoho Show.

                                                                                                            Get Started Now








                                                                                                                                • Related Articles

                                                                                                                                • Applying Macros in Tickets

                                                                                                                                  Macros are a set of actions that can be applied to support tickets. The actions include sending emails, creating tasks, and updating a field in the tickets. The created macros can be applied to the tickets as per the request received. Once applied, ...
                                                                                                                                • Creating and Using Snippets in Ticket Responses

                                                                                                                                  Support agents are always working hard to resolve customer inquiries that often require their immediate attention or acknowledgement. While every agent has their own style of responding, they have to follow some organizational standards to maintain ...
                                                                                                                                • Cross Company Collaboration using Multi-Department Setup

                                                                                                                                  Scenario: ABC Tech is a software development company and XYZ Limited is their resell and distribution partner who brings the software products to the end customers. Problem: XYZ handles the first level of support. They require ABC Tech's expertise to ...
                                                                                                                                • Accessing Activities Module in iOS

                                                                                                                                  The Activities module helps users track tasks, events, and calls, with each parameter having its own vital information like priority level, status, and due date. The tasks, events, and calls can either be stand-alone records or associated with ...
                                                                                                                                • Using Predefined Reports in Zoho Desk

                                                                                                                                  Businesses always rely on accurate data and insights to manage their support operations effectively. However, creating reports every time to fetch desired data can be time consuming. This is where the predefined reports for tickets, articles, ...
                                                                                                                                  Wherever you are is as good as
                                                                                                                                  your workplace

                                                                                                                                    Resources

                                                                                                                                    Videos

                                                                                                                                    Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                    eBooks

                                                                                                                                    Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                    Webinars

                                                                                                                                    Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                    CRM Tips

                                                                                                                                    Make the most of Zoho CRM with these useful tips.



                                                                                                                                      Zoho Show Resources