How to export Zendesk macros into a spreadsheet



image avatar

Vlad

The Wise One - 2022Community Moderator

已于 2017年4月20日 发布

Regarding to this post I decide to make this short tutorial.

1. you need to be logedin 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. Second file is on this url https://XYZ.zendesk.com/api/v2/macros.json?per_page=99&page=2  (replace XYZ to 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 a little
7. Click on Download button.

Ta-Da, you have your macros exported in CSV file format.

Hope this helps!


16

71

71 条评论

Thanks to OP.

I am just not clear on point 2a and 2b

 

"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. Second file is on this url https://XYZ.zendesk.com/api/v2/macros.json?per_page=99&page=2  (replace XYZ to your ZD name)

 

My understanding is that point 2 is for less than 100 macros?

We have over 200, so I used point 2a, but I did not understand the logic behind "the 2nd file?" What is a 2nd file?

I used both points, and both times it extracted over 200 macros, so I am not sure what the "more than 100 macros" has to do with anything?

Thanks to clarify.

0


Thanks for the feedback, Rebekah. Very glad to hear that! 

I just spotted this post is created precisely 3 years ago :O 
The days are long and the years are short. :)

0


Super helpful, thanks a mil! :) 

0


Worked perfectly first time. 

 

Thank you!

0


Thank you so much Graeme! Worked like a charm. 

0


Syd S

Try this:

https://XYZ.zendesk.com/api/v2/macros.json?group_id=XXXXX&page=2

Or look for the 'next page:' url near the end of your output:

 

0


We've been using the https://XYZ.zendesk.com/api/v2/macros.json?group_id=XXXXX option to download macros based on the group, but cannot figure out how to get the next page of macros for that specific group. Does anyone know how to do that?

0


Thank you so much for this.  You probably just saved me HOURS of typing!

0


Hey Mary,

There are are a couple of options for exporting Help Center content as mentioned here: Help Center data export

The most common method I've seen is through Kbackup integration that was developed in our App Marketplace: kBackup

If you have any questions regarding the integration you'll want to reach out to the developer directly.

Hope this helps!

0


WOW!  This was fast and easy!  Thank you for this post.  It was very helpful.

 

Do you have something similar for exporting a report from the Zendesk Manage articles UI based on applying a filter?

0


请先登录再写评论。

找不到所需的内容?

新建帖子