Recent searches


No recent searches

How can I pull a list of all my macros from Zendesk?



image avatar

Ricardo Pinto

Zendesk Digital Resources Team

Edited Jul 26, 2023


-5

11

11 comments

hey there! I made a tool to convert your zendesk .json file to CSV while excluding unwanted columns. It's currently in development and should be up soon. Sign up for the waitlist to get notified!

www.zendeskmacrosconverter.com

-3


hi, can I import the macros in bulk?

1


The article on exporting macros is no longer available. 

0


image avatar

Brett Bowser

Zendesk Community Manager

Hey Mandy and Riley,
 
Check out this User Tip on exporting macros to a spreadsheet: How to export Zendesk macros into a spreadsheet
 
I hope this helps!

1


Hey! we have over 300 macros in different languages ​​which we periodically update. Is there an easy way to import / export macros with all content and not create all the macros manually?

0


Brett Bowser also link above doesn't exist anymore 

0


Hello Riley,

>> To export your macros, you can perform the following steps to get them via API:

1. you need to be logged in as Admin or Agent of your ZD account.

2. open this link XYZ.zendesk.com/api/v2/macros.json?per_page=99 (but change XYZ to your Zendesk account name)
2a. If you have more than 100 macros, you should export one more JSON file cause it's up to 100 macros per export. The second file is on this URL https://XYZ.zendesk.com/api/v2/macros.json?per_page=99&page=2  (replace XYZ with your ZD name)

3. When JSON file is loaded, save it on your computer (CTRL+S or CMD+S)

4. Open site: https://json-csv.com/

5. Upload your JSON file

6. Wait for a little

7. Click on the Download button.
 
You will be able to export all of your macros and have them as CSV.
 
>> To import Macros to Zendesk,  they can be re-imported via the API using a POST to the Create Macro endpoint.
 
There is also an app available at our marketplace: Macro CSV Importer
 
>> Related to the link that you are not able to open, an error occurred last week resulting in the deletion of many community posts. Restoration efforts are underway, but posts could be missing for several days. For more information, please read this announcement.
 
I hope this helps.

1


You can also use the per_page parameter to list out all of your macros if you have more than 100:

https://SUBDOMAIN.zendesk.com/api/v2/macros.json?per_page=1000

2


Drilling into this feature a little further - I'm able to pull the list of all my personal macros, but is there a way I can pull query for a specific user? I want to see all the personal macros of a single agent, and then be able to duplicate/copy them to another agent.

0


image avatar

James G

Zendesk Customer Care

Hello Luke,
 
You can access the personal macros created by your agents by navigating to your macros list in the Admin Center and applying the filter for "Available for Individual agents". This will display a list of personal macros created by your agents. However, please note that filtering for a specific user is not currently an option. 
 
Additionally, you have the ability to clone those personal macros and make them accessible to either only to you, all agents, or to agents within a specific ticket group. Duplicating a personal macro from a single agent to another specific agent is not possible at the moment. 
 
For more information, please refer to the following links:
 
Filtering the list of macros
Can I view the personal macros of other users on my Zendesk account?

0


Hi - we have multiple brands within our Zendesk account. Is there a way to do this for just one of our brands? When I currently pull the list it pulls from both brands. 

0


Please sign in to leave a comment.