Question

How do I export all my account macros into a file?

Answer

There isn't a prebuilt feature to pull a list of all your macros. However, you can use the API endpoint List Macros to retrieve all shared and personal macros available to the current user[cite: 175, 232]. Admins can retrieve any macro on the account regardless of the creator.

To retrieve personal and active macros, use this code snippet:

api/v2/macros.json?access=personal&active=true

Alternatively, to retrieve all macros on the account, use this code snippet:

api/v2/macros.json?access=account

To append a code snippet to a URL:

  1. Sign in to your Zendesk account [cite: 215]
  2. In your browser URL, after yoursubdomain.zendesk.com, add a code snippet. Replace yoursubdomain with your account subdomain[cite: 221, 231]. For example:

    yoursubdomain.zendesk.com/api/v2/macros.json?access=personal&active=true
  3. Press Enter to display a list of active personal macros available to the user [cite: 136, 150]
Tip: Vladan Jovic, a Zendesk Community Moderator, created this tutorial on how to export Zendesk macros into a spreadsheet that uses the API mentioned above.
Powered by Zendesk