Help With Bulk Importing Macros
Hello,
I am needing assistance with bulk importing macros using the API. I have read all the relevant documentation, but I am still struggling with how I can go about bulk importing macros. I have no development experience, so it doesn't come as a surprise to me that I am struggling with this.
I am using Windows 10, and I would very much appreciate a step-by-step guide on how to do this. My goal is to take all of our current macros and reupload them as deactivated copies so that I can overhaul them while deactivating, while also leaving our current macros in place and activated until I am finished with the overhaul.
Thank you.
-
I also need help on this
-
Hey Riley,
Check out this user tip by one of our Community Moderators :)
How to export Zendesk macros into a spreadsheet
I hope this helps!
-
Brett Bowser Thanks for the doc - that is for exporting. What about importing?
-
Hey Sydney,
If you're looking to import macros, you'll need to use the API as mentioned here: POST to the Create Macro endpoint
I hope this points you in the right direction!
-
Brett Bowser Hi!
Сan you please attach the correct link to the article. Thank you!
-
Hey Alex,
The post I attached was mistakingly removed and we're working on restoring the content as we speak :)
In the meantime, I was able to find some instructions from that post that I've attached below:
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!
Please sign in to leave a comment.
6 Comments