Script to import Salesforce Solutions to Zendesk Forums

I was given a task to migrate Salesforce Solutions to Zendesk Forums. I realised the only way that you can export Solutions from Salesforce, is to generate a report and export the results as .xls or .csv format.

I selected only Content Title and Solution Description and exported to a csv file. I chose .csv format as I had a feeling it could be comparatively easier to code to import.

Create a forum in Zendesk where you want the Salesforce solutions to be dumped and find it’s forum id via the URL.

Replace it in the script that I wrote and run it to to read this csv file and import into Zendesk.

You may find the script here :

To extend the functionality, visit developer API docs for the list of possible JSON requests available in Zendesk.


Leave a Reply

Your email address will not be published. Required fields are marked *