The Awesome Support Importer is a WordPress and Awesome Support plugin. It provides the ability to import existing tickets from various Help Desk Providers into your Awesome Support Help Desk.
This plugin includes support for the following Help Desk providers:
- Help Scout
- Zendesk
- Ticksy
- WordPress 4.8.3+
- PHP 5.6+
- Awesome Support 4.3+
Navigate to your project's plugins
folder. Then using your favorite command line app, type:
git clone [email protected]:pressware/awesome-support-importer.git && cd awesome-support && composer install --no-dev
In this one command, the plugin is installed into your project's plugins/awesome-support-importer
folder and composer runs to install the required dependencies.
- Log into your website.
- Then navigate to "Plugins > Add New" screen.
- Click on the "Add New" button.
- Click on "Upload Plugin" button.
- Click on "Choose File" and select the
awesome-support-importer.zip
from your computer. - Click on "Install Now" button.
- Then activate the Awesome Support Importer plugin.
- Extract
awesome-support-importer.zip
to your computer - Upload the
awesome-support-importer
directory to yourwp-content/plugins
directory - Activate the "Awesome Support Importer" plugin on the WordPress Plugins Dashboard
You'll need composer installed on your machine, as it manages the dependencies. _If you're not familiar with Composer, check out the Quick Start Guide.
Composer installs the required dependencies:
- Guzzle HTTP - Handles all HTTP endpoint requests to the remote, RESTful Help Desk's API.
- Monolog - Handles writing error and information logs, which will be located in the
log
folder within your plugin. The folder location is configurable. - Fulcrum Extender - extends array and string functionality including working with deeply nested arrays using a "dot" notation syntax (from Laravel).
Once the plugin is installed and activated, go to "Tickets > Importer".
- Select the Help Desk Provider from which you will import existing tickets into Awesome Support.
- Fill in your credentials into each form field.
- If you wish to import tickets within a certain date range, select the earliest and/or latest date.
- Click "Save" button to save your credentials and query parameters.
- The "Import Tickets" button then is available. Click it to start the importing process.
- Stay on this page until it's done.
Be patient. Stay on this page and let it do its work.
Depending upon how many tickets there are to be imported as well as your internet connection speed, the importing process can take a long time, i.e. several minutes or longer.
When it's done, you'll get a report back of how many tickets and replies were processed. If an error occurs, an error message is displayed to let you know what happened. The logs will provide more details.
Help Scout requires an API Token, which you register within your Help Scout dashboard. To get your API Key (token), do the following:
- Log into your Help Scout account.
- Go to "Your Profile" by clicking on the user icon.
- Go to the "Authentication" page.
- Click on the "API Keys" tab.
- Then click on the "Generate an API Key" button. Give your new key a label.
Now follow these steps to import your tickets:
- Copy the API Key and then paste it into the Importer's "Help Desk's API Token" field in your WordPress dashboard.
- You will need to select which mailbox from which to import the tickets. Click on the "Get Help Scout Mailboxes" button. The plugin requests all of the mailboxes from your Help Scout account and then populates the "Select the Mailbox to import"
<select>
field. You will receive a message when the mailboxes are populated and the request is complete. - When it's done, then select a mailbox.
- If you'd like to get tickets within a certain date range, select that range in the date fields.
- Click the "Save" button. The information you entered is saved.
- Click on the "Import Tickets" button.
- Stay on this page. Please be patient, as it can take awhile. Take a break while it does its work.
Zendesk the following credentials from your Zendesk account:
- The subdomain for your Help Desk account
- Your account's email address
- A Zendesk API Token
Log into your Zendesk account and generate a API token.
Follow these steps to import your tickets:
- Enter your subdomain.
- Enter the email associated with your Zendesk account.
- Copy the API token and then paste it into the Importer's "Help Desk's API Token" field in your WordPress dashboard.
- If you'd like to get tickets within a certain date range, select that range in the date fields.
- Click the "Save" button. The information you entered is saved.
- Click on the "Import Tickets" button.
- Stay on this page. Please be patient, as it can take awhile. Take a break while it does its work.
Ticksy the following credentials from your Zendesk account:
- The subdomain associated with your Ticksy account
- A Ticksy API Token
To get your credentials, do the following:
- Log into your Ticksy account.
- Click on the user icon and select "Edit Profile".
- Click on the "API Credentials" option.
- Generate your credentials if this is the first time.
Follow these steps to import your tickets:
- Copy your Ticksy domain into the subdomain form field on the Importer screen in your WordPress dashboard.
- Copy the "key" and then paste it into the Importer's "Help Desk's API Token" field in your WordPress dashboard.
- If you'd like to get tickets within a certain date range, select that range in the date fields.
- Click the "Save" button. The information you entered is saved.
- Click on the "Import Tickets" button.
- Stay on this page. Please be patient, as it can take awhile. Take a break while it does its work.
When importing a large volume of tickets you will want to make sure that your WordPress configuration and PHP configuration files are set up to use a larger amount of memory and to allow script execution to run longer. If you are using a third party host you might need to speak with them to get your memory and execution times temporarily lifted. If you do have control over your own server, two settings to temporarily change would be the following:
- memory_limit = -1
- max_execution_time = 0
This effectively allows PHP to use all available memory and to run as long as necessary
Note that you might have to change WordPress memory limits as well in your wp-config.php file!