CSV Migration Guides

How to migrate your help desk data to CSV?

Migrate Your Help Desk Data to CSV

To migrate your help desk data to CSV using Help Desk Migration, follow these steps:

1. Sign in to your Help Desk Migration account.

2. Create a new migration.

3. Select the platform from which you want to export the data.

Select the platform

4. Choose CSV as the target.

CSV as the target - Migration Wizard

5. Select the entities you want to export and adjust the Ticket and Article fields mapping if needed. Click "Continue" to start the Demo Export, which exports a sample of the data into a CSV file.

Fields mapping - Migration Wizard

Click “Continue” to start the Demo Export. This action will export 20 Tickets with related Agents, Contacts as well as 20 Articles into a CSV file.

6. Migration Wizard will generate three .zip files containing ticket and ticket comments information, contact information, and article data. Download these files by clicking the "Demo Migration Results" button.

Demo Migration - Migration Wizard

Review the files to ensure the formatting is correct and all necessary columns are present. If satisfied, start the Full Data Export.

Once the export is complete, you'll receive an email notification or can check the progress in your account.

the Full Data Export - Migration Wizard

Download the final files by clicking the "Migration Results" button.


How to open a CSV

How to open a CSV file in Excel?

Opening a CSV (Comma-Separated Values) file in Excel is straightforward. The Migration Wizard provides you with CSV files where the delimiter is a comma (,) and the enclosure is a quotation mark (").

Here is a step-by-step guide on how to open a CSV in Excel:

  1. Open Excel: Launch Microsoft Excel on your computer.
  2. Go to the 'File' Menu: Click on the 'File' menu located in the top-left corner of the Excel window.
  3. Select 'Open': Choose the 'Open' option from the menu.
  4. Browse for the CSV file: Navigate to the location where your CSV file is stored. In the file type dropdown menu, make sure to select "Text Files (*.prn; *.txt; *.csv)" to see CSV files. Click on the CSV file you want to open.
  5. Click 'Open': Click the 'Open' button in the bottom-right corner of the window.
  6. Text Import Wizard: Ensure "Delimited" is selected, then click 'Next'. Select "Comma" as the delimiter, and ensure "Text qualifier" is set to the quotation mark ("). Click 'Finish'.
  7. CSV file in Excel: Your CSV file should now be open in Excel, displaying its contents in spreadsheet format.

How to open CSV in Numbers?

Do you need help with opening CSV files on your Mac without using Excel? No worries! To access CSV files in Numbers on your macOS device, follow these steps:

  1. Save the CSV file to your device and locate it.
  2. Right-click on the file and choose "Open With" → "Numbers."
  3. If the file doesn't display correctly, click on "Adjust Settings".

    Open CSV in Numbers

  4. In the Import Settings dialog, select your delimiter and click "Update Table." For more advanced adjustments like file encoding (e.g., UTF-8), click on "Advanced Settings."

The file will now open as a spreadsheet in Numbers, ready for editing.


How to Migrate Data from a CSV file?

Data migration from CSV files can be a valuable solution for many business needs. This guide covers various aspects of CSV data migration, including:

  • Data entities and how to import them to your help desk, service desk, or ticketing system.
  • CSV file requirements to ensure your customer service data migration will be a success.
  • A CSV sample* for importing tickets and record types to include in your header and custom fields.
  • A CSV sample* for importing ticket comments and record types to include in your header.
  • A CSV sample* for importing knowledge base articles and record types to include in your header.
  • Tips on how to save your data in a CSV format.

* You can download any of the samples and use them for a Demo migration, as well as to insert your own data and use it for data migration. Or simply rename the headers in your CSV file to correspond to our requirements to the CSV file.

What data can you import via CSV?

To import your data, provide three files that contain

Create each file separately and then upload them to the Wizard. Make sure your CSV file corresponds to our Migration Wizard requirements. Check the guidelines for migrating data from CSV below.

Migrate Data from a CSV file

CSV file requirements

Each file must possess a heading row with a summary column. The heading row is necessary to identify and map data objects.

  • The header row has no punctuation (apart from commas separating the columns).
  • The header row is in English (the language of the content in the second and other rows might be in any other language).
  • The header shouldn't include identical names. Be sure to double check this aspect.
  • All columns in the header row begin with a capital letter.

Pay attention to the following aspects:

  • Make sure your CSV file is encoded in UTF-8. This ensures proper recognition and display of special characters and symbols, and prevents hiccups during the import process.
  • Fields are separated by commas.
  • Use double-quote marks (") to capture data that spans multiple lines. Typically used for tags, attachments, and descriptions.
  • To attach files you need to provide a URL following which our service can access the attachment. You may add multiple attachments - separate them by commas and quote the values in the field. Note that URLs for attachments support both HTTP and HTTPS protocols.

To import tickets, prepare a CSV file which contains a heading row with the following columns:

HeaderFormatField
TicketId468985Required
SubjectTest subjectRequired
Tags"tag 1, tag 2"Optional
DepartmentNameSupportOptional
DescriptionTest DescriptionRequired
TypeTaskRequired
StatusOpenRequired
PriorityLowRequired
AgentEmaila.lewis@yourcompany.comRequired
AgentNameAdam LewisRequired
ContactEmails.gibbson@mail.comRequired
ContactNameStacey GibbsonRequired
ContactPhone1234567890Optional
CompanyNameFaux MartOptional
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
UpdatedTimeYYYY-MM-DD HH:MM:SSRequired
ClosedTimeYYYY-MM-DD HH:MM:SSOptional
Attachments"https://site.com/attachment1.jpg, https://site.com/attachment1.pdf"Optional

Double-check the following things:

  • You can specify your time zone in the format 2021-09-07Т15:17:07+03:00.
  • If you don’t fill in your time zone, the time zone +3 sets up automatedly during the data migration.

Importing custom fields

To migrate custom fields, add tags to column headers (ticket field names) so that the Migration Wizard can identify them. Here are the tags you need to use:

  • _select - dropdown (e.g., ChooseProduct_select)
  • _date - time (e.g., due_date)
  • _integer - number (e.g., TicketInternal_integer)
  • _decimal - decimal (e.g., Cost_decimal)
  • Any other columns in a file without a tag will be treated as string(text) at mapping

Migrate and map other custom fields as text fields using the _textArea tag.

To be identified, tags should be in English.

Ensure your CSV file with ticket comments possesses a heading row with the following columns:

HeaderFormatField
CommentId468985Optional
TicketId485853Required
AuthorEmailjeremy@yourcompanydomain.comRequired
Public0-private, 1-publicRequired
Body"Test comment"Required
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
Attachments"https://site.com/attachment1.jpg, https://site.com/attachment1.pdf"Optional

You can only submit one file with comments. Make sure to collect all ticket comments in that file.

Check the following aspects:

  • Make sure your CSV file is encoded in UTF-8. This ensures proper recognition and display of special characters and symbols, and prevents hiccups during the import process.
  • Fields are separated by commas.
  • The body of the comment or ticket description can contain HTML formatting.
  • To attach files, you need to provide a public URL following which our service can access the attachment. You may add multiple attachments - separate them by commas.
  • You can set up your time zone in the format 2021-09-07Т15:17:07+03:00. If you don’t fill in your time zone, the time zone +3 sets up automatedly during the data migration.

What to do with tickets that have more than one comment

Ensure that comments from the same ticket have the same TicketId. The Migration Wizard identifies where they belong. Double-check the CommentId set in the corresponding order. Ticket comments are sorted by creation date. Look at the example below:

CSV Import

Preparing the file with knowledge base articles (download sample)

To import knowledge base articles, provide a CSV file that contains a heading row with the following columns:

HeaderFormatField
TitleCreating discount codesRequired
CategoryDiscountsRequired
FolderOffering discounts and setting sale pricesRequired
Description"The body of the article"Required
StatusPublishedRequired
Tags"account, setup"Optional
Attachments"https://site.com/attachment1.jpg, https://site.com/attachment1.pdf"Optional

Preparing the file with Service Requests (download sample)

To import service requests, prepare a CSV file which contains a heading row with the following columns:

HeaderFormatField
RequestId1Required
SubjectTest subjectRequired
DescriptionTest descriptionRequired
TypeQuestionRequired
StatusOpenRequired
PriorityLowOptional
AgentEmaila.lewis@yourcompany.comOptional
AgentNameAdam LewisOptional
ContactEmails.gibbson@mail.comRequired
CompanyNameFaux MartOptional
ContactNameStacey GibbsonRequired
ContactPhone1234567890Optional
Tags"tag 1, tag 2"Optional
DepartmentNameSupportOptional
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
UpdatedTimeYYYY-MM-DD HH:MM:SSRequired
ClosedTimeYYYY-MM-DD HH:MM:SSOptional
Attachmentshttps://site.com/attachment1.jpg, https://site.com/attachment1.pdfOptional

Double-check the following things:

You can specify your time zone in the format 2021-09-07Т15:17:07+03:00.
If you don’t fill in your time zone, the time zone +3 sets up automatedly during the data migration.

Importing custom fields

To migrate custom fields, add tags to column headers (request field names) so that the Migration Wizard can identify them. Here are the tags you need to use:

  • _select - dropdown (e.g., ChooseProduct_select)
  • _date - time (e.g., due_date)
  • _integer - number (e.g., RequestInternal_integer)
  • _decimal - decimal (e.g., Cost_decimal)
  • Any other columns in a file without a tag will be treated as string(text) at mapping

To be identified, tags should be in English.

Preparing the file with service request comments (download sample)

Ensure your CSV file with service request comments possesses a heading row with the following columns:

HeaderFormatField
CommentId1Required
RequestId1Required
AuthorEmailjeremy@yourcompanydomain.comRequired
Public0-private, 1-publicRequired
BodyComment html or text contentRequired
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
Attachmentshttps://site.com/attachment1.jpg, https://site.com/attachment1.pdfOptional

Check the following aspects:

  • Fields are separated by commas.
  • The body of the comment or request description can contain HTML formatting.
  • To attach files, you need to provide a public URL, following which our service can access the attachment. You may add multiple attachments - separate them by commas.
  • You can set up your time zone in the format 2021-09-07Т15:17:07+03:00. If you don’t fill in your time zone, the time zone +3 is set up automatedly during the data migration.

How to handle service requests that have more than one comment

Ensure that comments from the same request have the same RequestId. The Migration Wizard identifies where they belong. Double-check the CommentId set in the corresponding order. Request comments are sorted by creation date. Look at the example below:

Problem task notes

Preparing the file with Changes (download sample)

To import changes, prepare a CSV file which contains a heading row with the following columns:

HeaderFormatField
ChangeId1Required
SubjectTest subjectRequired
DescriptionTest descriptionOptional
TypeQuestionOptional
StatusPendingRequired
PriorityHighRequired
ImpactMediumRequired
RiskLowRequired
DepartmentNameSupportOptional
AgentEmaila.lewis@yourcompany.comRequired
AgentNameAdam LewisRequired
ContactEmails.gibbson@mail.comRequired
ContactNameStacey GibbsonRequired
ContactPhone1234567890Optional
PlanningReasonReason1Optional
PlanningImpactImpact1Optional
PlanningRolloutRollout1Optional
PlanningBackoutBackout1Optional
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
UpdatedTimeYYYY-MM-DD HH:MM:SSRequired
ClosedTimeYYYY-MM-DD HH:MM:SSOptional
PlannedStartTimeYYYY-MM-DD HH:MM:SSRequired
PlannedEndTimeYYYY-MM-DD HH:MM:SSRequired
Attachmentshttps://site.com/attachment1.jpg, https://site.com/attachment1.pdfOptional

Double-check the following things:

You can specify your time zone in the format 2021-09-07Т15:17:07+03:00.
If you don’t fill in your time zone, the time zone +3 sets up automatedly during the data migration.

Importing custom fields

To migrate custom fields, add tags to column headers (field names) so that the Migration Wizard can identify them. Here are the tags you need to use:

  • _select - dropdown (e.g., ChooseProduct_select)
  • _date - time (e.g., due_date)
  • _integer - number (e.g., ChangeInternal_integer)
  • _decimal - decimal (e.g., Cost_decimal)
  • Any other columns in a file without a tag will be treated as string(text) at mapping

To be identified, tags should be in English.

Preparing the file with change notes (download sample)

Ensure your CSV file with change notes possesses a heading row with the following columns:

HeaderFormatField
NoteId1Required
ChangeId1Required
AuthorEmailjeremy@yourcompanydomain.comRequired
Public0-private, 1-publicRequired
BodyComment html or text contentRequired
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
Attachmentshttps://site.com/attachment1.jpg, https://site.com/attachment1.pdfOptional

Check the following aspects:

  • Fields are separated by commas.
  • The body of the comment or change description can contain HTML formatting.
  • To attach files, you need to provide a public URL, following which our service can access the attachment. You may add multiple attachments - separate them by commas.
  • You can set up your time zone in the format 2021-09-07Т15:17:07+03:00. If you don’t fill in your time zone, the time zone +3 is set up automatedly during the data migration.

What to do with changes that have more than one note

Ensure that notes from the same change have the same ChangeId. The Migration Wizard identifies where they belong. Double-check the NoteId set in the corresponding order. Change comments are sorted by creation date. Look at the example below:

Problem task notes

Preparing the file with change tasks (download sample)

To import change tasks, prepare a CSV file which contains a heading row with the following columns:

HeaderExample
TaskId1
ChangeId1
SubjectChange internet provider
DepartmentNameIT
StatusNew
PriorityHigh
DescriptionWe need to change our internet provider as this fails too often
AgentEmailjeremy@yourcompanydomain.com
AgentNameJeremy Buck
DueTime1/10/2023 10:00:33
CreatedTime1/10/2023 10:00:33
UpdatedTime1/10/2023 10:00:33
ClosedTime1/10/2023 10:00:33

Preparing the file with change task notes (download sample)

Ensure your CSV file with change task notes possesses a heading row with the following columns:

HeaderExample
NoteId1
TaskId1
AuthorEmailjohn@yourcompanydomain.com
Public0
BodyPlease do this ASAP
CreatedTime1/1/2023 18:12:12
Attachmentshttps://help-desk-migration.com/files/Help-Desk-Migration-Checklist.pdf
AgentEmailjeremy@yourcompanydomain.com
AgentNameJeremy Buck
DueTime1/10/2023 10:00:33
CreatedTime1/10/2023 10:00:33
UpdatedTime1/10/2023 10:00:33
ClosedTime1/10/2023 10:00:33

How to handle change tasks that have more than one notes

Ensure that notes from the same change task have the same TaskId. The Migration Wizard identifies where they belong. Double-check the CommentId set in the corresponding order. Change task notes are sorted by creation date. Look at the example below:

Problem task notes

Preparing the file with Problems (download sample)

To import problems, prepare a CSV file which contains a heading row with the following columns:

HeaderFormatField
ProblemId1Required
SubjectTest subjectRequired
DescriptionTest DescriptionRequired
StatusOpenRequired
PriorityLowRequired
ImpactMediumRequired
UrgencyMediumRequired
DepartmentNameSupportOptional
AgentEmaila.lewis@yourcompany.comOptional
AgentNameAdam LewisOptional
ContactEmails.gibbson@mail.comRequired
ContactNameStacey GibbsonRequired
ContactPhone1234567890Optional
AnalysisCaseCase1Optional
AnalysisImpactImpact1Optional
AnalysisSymptomsSymptom1Optional
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
UpdatedTimeYYYY-MM-DD HH:MM:SSRequired
DueTimeYYYY-MM-DD HH:MM:SSOptional
Attachmentshttps://site.com/attachment1.jpg, https://site.com/attachment1.pdfOptional

Double-check the following things:

You can specify your time zone in the format 2021-09-07Т15:17:07+03:00.
If you don’t fill in your time zone, the time zone +3 sets up automatedly during the data migration.

Importing custom fields

To migrate custom fields, add tags to column headers (field names) so that the Migration Wizard can identify them. Here are the tags you need to use:

  • _select - dropdown (e.g., ChooseProduct_select)
  • _date - time (e.g., due_date)
  • _integer - number (e.g., ProblemInternal_integer)
  • _decimal - decimal (e.g., Cost_decimal)
  • Any other columns in a file without a tag will be treated as string(text) at mapping

To be identified, tags should be in English.

Preparing the file with problem notes (download sample)

Ensure your CSV file with problem notes possesses a heading row with the following columns:

HeaderFormatField
NoteId1Required
ProblemId1Required
AuthorEmailjeremy@yourcompanydomain.comRequired
Public0-private, 1-publicRequired
BodyComment html or text contentRequired
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
Attachmentshttps://site.com/attachment1.jpg, https://site.com/attachment1.pdfOptional
DepartmentNameSupportOptional
AgentEmaila.lewis@yourcompany.comOptional
AgentNameAdam LewisOptional
ContactEmails.gibbson@mail.comRequired
ContactNameStacey GibbsonRequired
ContactPhone1234567890Optional
AnalysisCaseCase1Optional
AnalysisImpactImpact1Optional
AnalysisSymptomsSymptom1Optional
CreatedTimeYYYY-MM-DD HH:MM:SSRequired
UpdatedTimeYYYY-MM-DD HH:MM:SSRequired
DueTimeYYYY-MM-DD HH:MM:SSOptional
Attachmentshttps://site.com/attachment1.jpg, https://site.com/attachment1.pdfOptional

Check the following details:

  • Fields are separated by commas.
  • The body of the note or problem description can contain HTML formatting.
  • To attach files, you need to provide a public URL, following which our service can access the attachment. You may add multiple attachments - separate them by commas.
  • You can set up your time zone in the format 2021-09-07Т15:17:07+03:00. If you don’t fill in your time zone, the time zone +3 is set up automatedly during the data migration.

What to do with problems that have more than one note

Ensure that notes from the same problem have the same ProblemId. The Migration Wizard identifies where they belong. Double-check the NoteId set in the corresponding order. Problem comments are sorted by creation date. Look at the example below:

Problem task notes

Preparing the file with problem tasks (download sample)

To import problem tasks, prepare a CSV file which contains a heading row with the following columns:

HeaderExample
TaskId1
ProblemId1
SubjectFix wifi drops
DepartmentNameIT
StatusNew
PriorityHigh
DescriptionFix regular wifi disconnects
AgentEmailjeremy@yourcompanydomain.com
AgentNameJeremy Buck
DueTime2023-01-10 10:00:33/td>
CreatedTime2023-01-10 10:00:33
UpdatedTime2023-01-10 10:00:33
ClosedTime2023-01-10 10:00:33

Preparing the file with problem task notes (download sample)

Ensure your CSV file with problem task notes possesses a heading row with the following columns:

HeaderExample
NoteId1
TaskId1
AuthorEmailtedy@example.com
Public1
BodyA persistent issue with the WiFi connection. These interruptions occur at various times throughout the day, disrupting work and causing inconvenience.
CreatedTime2023-01-01 18:12:12
Attachmentshttps://help-desk-migration.com/files/Help-Desk-Migration-Checklist.pdf

How to handle problem tasks that have more than one notes

Ensure that notes from the same problem task have the same TaskId. The Migration Wizard identifies where they belong. Double-check the CommentId set in the corresponding order. Problem task notes are sorted by creation date. Look at the example below:

Problem task notes

Preparing the file with Contacts (download sample)

To import contacts, prepare a CSV file which contains a heading row with the following columns:

HeaderExample
ContactId1
ContactEmailjohn@email.com
ContactPhone1234567890
ContactNameJohn Jones
CompanyNameFaux Mart LLC
CreatedTime2023-01-01 18:12:12
Attachmentshttps://help-desk-migration.com/files/Help-Desk-Migration-Checklist.pdf

Double-check the following things:

You can specify your time zone in the format 2021-09-07Т15:17:07+03:00.
If you don’t fill in your time zone, the time zone +3 sets up automatedly during the data migration.

Importing custom fields

To migrate custom fields, add tags to column headers so that the Migration Wizard can identify them. Here are the tags you need to use:

  • _select - dropdown (e.g., ChooseOption_select)
  • _date - time (e.g., due_date)
  • _integer - number (e.g., ContactInternal_integer)
  • _decimal - decimal (e.g., Cost_decimal)
  • Any other columns in a file without a tag will be treated as string(text) at mapping

To be identified, tags should be in English.

IMPORTANT

  • The body of the article can contain HTML formatting. Also, you can add images and videos.
  • Article statuses can differ. We accept all statuses, just make sure to map them when configuring your migration.
  • Your CSV file can't have folders with identical names if they belong to different categories. Consider renaming these folders before importing them.

Importing your CSV files

When your CSV files are ready, log into Help Desk Migration and start your CSV import.

CSV made easy: Simple tips to save your data in CSV format

Converting Excel, Numbers, LibreOffice Calc or Google Sheets to CSV

If you're working with data in a spreadsheet (Excel, Numbers, LibreOffice Calc, or Google Sheets), you can easily save it in CSV format. Simply select "Save As" and choose the ".CSV" option, similar to saving as ".XLS" or ".TXT".

How to Covert LibreOffice Calc to CSV

This will automatically convert and save your file in CSV format without altering the data. Alternatively, you can also use the "Export to" or "Download" option to obtain a CSV copy of your file.

Google Sheets to CSV

Exporting data to CSV

This method differs from the previous one as it involves downloading data directly from your database in CSV format. This allows for easy editing in other applications, as well as flexibility for moving or backing up the data as needed.

Note that not all programs or applications support CSV downloads, which may require the use of third-party tools to obtain the required data.

Using Notepad or Text Edit, etc. to CSV

While not common, you can manage small amounts of data using a text editing program. Structure the data using commas or another recognized delimiter, with each delimiter indicating a different "column" of data. Then, select "Save As" and choose the "CSV" option from the available formats.

How to Save Notepad to CSV

Some text editors may require manually adding the ".csv" extension in the file name, such as "File.csv".

Notepad to CSV : How to Rename File


How to Connect CSV to Migration Wizard?

When migrating data from CSV, you'll encounter a page prompting you to select the records you wish to export.

Connect CSV - Migration Wizard

Regardless of your choice, you'll need to configure your CSV connection by providing either CSVs with Tickets and Comments (for Help Desk records) or CSV with Knowledge Base data (for KB records).

To understand the configuration process in detail, we've prepared a visual tutorial covering both options. Watch the video to learn how to upload files to Migration Wizard, check CSV compliance, and use sample files.

How to Export Data from CSV Using the Migration Wizard

Importing data to CSV is straightforward. Simply read the note and click the 'Continue' button. However, subsequent steps may require additional guidance. For this, we've created another visual tutorial.

How to Import Data to CSV Using the Migration Wizard


How to check the result of the Demo Migration to CSV?

During the demo, the Migration Wizard generates a .zip archive containing:

  • Contacts.
  • Groups
  • Staffs
  • Companies
  • Tickets with comments, and attachments.
  • Knowledge Base articles and attachments.

Once the Demo is complete, you will see a summary with the "Demo Migration Results" buttons:

Demo Migration - Migration Wizard

The archive includes a CSV file for each migrated record type. Review each CSV file to ensure all chosen record types are present.

Note: During migration, attachments are moved to a separate folder. Therefore, when viewing exported CSV files, you'll only see the names of attachments that exist in the folder.

Looking for more data migration details?

Let’s talk now
Was this article helpful?
%s
— %s