Export Macro and Covert the Markdown to HTML | Community
Skip to main content

Export Macro and Covert the Markdown to HTML

  • February 7, 2024
  • 3 replies
  • 0 views

Tamojit

Is there a way we can export all macros from Zendesk and also convert the markdown to HTML if the macro involves a public comment?

3 replies

Brett13
  • Community Manager
  • February 7, 2024

Hey @tamojit

Exporting macros from Zendesk isn't a built-in feature, but you can do it by using the Zendesk API. Once you have the macros exported in a JSON or similar format, you can then write a script or use a tool to convert any markdown in the macros to HTML.

You can se the Macros endpoint /api/v2/macros.json to list all the macros in your Zendesk account.

I hope this points you in the right direction!

 


Nora11
  • February 20, 2024

Using the export from JSON to CSV isn't working for me, when I go to sort the macros by brand, the macros get all mixed up and it is very hard to re-sort. Not to mention the articles aren't linked. It shouldn't be this hard to export macros. I am better off copying and pasting from the macros page rather than converting to JSON then to CSV.


  • August 29, 2024

People have been asking for a built-in feature to download macros since 2017 and Zendesk hasn't done anything about it. Sad!