This project is a tool for exporting data from Zendesk, including tickets, comments, users, views, triggers, macros, automations, settings, and support addresses.
You can use it for backup, migration, or analysis. Data is exported to JSON files, but most of the files you have to read line by line to extract JSON data.
Before running the project, ensure you have the following prerequisites installed:
- Node.js
- npm (Node Package Manager)
-
Clone the repository:
git clone https://github.com/TheGP/Zendesk-Exporter.git
-
Navigate to the project directory:
cd zendesk-exporter
-
Install dependencies:
npm install
To export data from Zendesk, follow these steps:
-
Set up your Zendesk API credentials by creating a
.env
file in the root directory of the project and adding your Zendesk email and token:ZENDESK_API=https://yourdomain.zendesk.com/api/v2/ [email protected] ZENDESK_TOKEN=your-zendesk-token
-
Run the export script:
npm start
This will start the export process, fetching data from Zendesk API and saving it into JSON files in the exported
directory.
To modify export look for exportAll
function, you may disable / enable items you need to export.
Contributions are welcome! Please follow these steps to contribute to the project:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Make changes and commit them (
git commit -am 'Add your feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a new pull request.
This project is licensed under the MIT License