Skip to content

christophercollins/clarify_to_zendesk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Clarify To Zendesk

The purpose of this script is to convert the contents of a Clarify document to markdown format, and then upload that to Zendesk as a KB article via the Zendesk API.

The script creates all uploaded KB articles as drafts. You will need to manually set to publish.

This script also uses the requests and markdown python libraries so you will need to install those as well.

Prepare the script

There are a few global variables you will need to edit in the script:

Prepare your Clarify document

  • Create a new HTML template in Clarify and set the HTML template to be Markdown

  • Create a new folder to put your export in

  • Export the document

  • You should now have a markdown file and an images directory in the location you made previously

Run the script

The script accepts two arguments:

--mdfile MDFILE  Supply markdown input file.
--title TITLE    The title of the article as you want it to appear in
               Zendesk

Example run: python ClarifyToZendesk.py --mdfile /tmp/outlook/reset-all-alerts-in-outlook-for-mac-2016.md --title "Reset All Alerts in Outlook for Mac 2016"

At the end you should get a url of the final kb article that you can open in a webbrowser and check the results.

About

Python script for convert Clarify Markdown exports to Zendesk KB articles via the Zendesk API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages