...
Help Center Import app

Import categories, sections, articles and comments

Learn how to import categories, sections, articles and comments into Zendesk Guide using our Help Center Import app.

When creating a Help Center it’s important to choose the right Zendesk Guide theme, but populating your knowledge base with content is equally important. This guide describes how to import categories, sections, articles and comments using our Help Center Import app for Zendesk Support in the Zendesk App Marketplace.

Overview

The process for importing content into Zendesk Guide can be summarized as follows:

1. Create

The first step is to create rows representing your objects within the app. This can be done one at a time by clicking on the Add Row button and entering the data manually, or in bulk by adding rows from a CSV file.

Add rows to the table
Adding new rows to the table

The app provides an editable table in which you can:

  • Edit individual fields directly within the table
  • Receive immediate visual feedback if a field value is invalid
  • Select and edit/clone/delete rows in bulk
Editing content in the table
Editing Help Center content within the table

When creating rows or editing individual fields, you will be visually alerted to potential validation issues.

Table columns can be added, removed and reordered by clicking on the Manage Columns button within the table’s dropdown menu.

Adding, removing and reordering table columns
Adding, removing and reordering table columns

The table (and each subsequent import) supports up to:

  • 500 categories
  • 500 sections
  • 1000 articles
  • 1000 comments

2. Review

Once you have populated the table with your data, the next step is to review it before starting the actual import. To make this easy, the app allows you to:

  • Sort rows in the table by any column
  • Filter rows in the table by:
    • Column, using one or more keywords
    • Whether or not the row contains one or more validation errors

Only the columns present within the table will be imported.

If you have more than 50 rows to import, pagination links will allow you to view each page.

3. Import

If you’re satisfied that the data is complete and accurate, you can import all rows by clicking the Import button.

A progress indicator will guide you through the import itself. When the import has finished you can download a completion report containing all data, the newly created record IDs and status information (created, updated or failed with details where necessary).

Creating the CSV file

In order to ensure that your CSV file can be imported properly:

  • The file must be properly formatted CSV and saved using UTF-8 character encoding.
  • The first row of the CSV file must contain the headers that you want to import.
  • The headers should match those described in the sections below (invalid headers will be removed by the app).
  • If you are not importing data for a field, do not list it in the header row.
  • Add line breaks to notes or multiline custom fields by pressing ALT + ENTER on Windows or CTRL + OPTION + RETURN on a Mac.

Importing categories

The following table outlines the column headers that can be specified when creating a CSV file containing your category data:

NameTypeDescription
idintegerThe ID of the category (required when updating a category)
nametextThe category name (required)
descriptiontextThe category description
localetextThe category locale (required when updating a category)
positionintegerThe position of the category
draftbooleanTrue if the category is a draft

To update an existing category you must provide both an id and locale.

If specifying a locale you must ensure that it corresponds to a language that is supported by your Help Center.

Importing sections

The following table outlines the column headers that can be specified when creating a CSV file containing your section data:

NameTypeDescription
idintegerThe ID of the section (required when updating a section)
nametextThe section name (required)
descriptiontextThe section description
category_idintegerThe ID of the parent category
parent_section_idintegerThe ID of the parent section (if nested sections are used)
localetextThe section locale (required when updating a section)
positionintegerThe position of the section
draftbooleanTrue if the section is a draft
sortingtextThe sort order of articles within the section (options: manual, creation_desc, creation_asc or title)

As with categories, to update an existing section you must provide both an id and locale.

Importing articles

The following table outlines the column headers that can be specified when creating a CSV file containing your article data:

NameTypeDescription
idintegerThe ID of the article (required when updating an article)
titletextThe article title (required)
bodytextThe article body, which can contain HTML
section_idintegerThe ID of the parent section (required)
permission_group_idintegerThe ID of the permission group which defines who can edit and publish this article (required)
user_segment_idintegerThe ID of the user segment which defines who can see this article (required)
author_idintegerThe ID of the article author
localetextThe article locale (required when updating an article)
positionintegerThe position of the article
promotedbooleanTrue if the article is promoted
draftbooleanTrue if the article is a draft
comments_disabledbooleanTrue if comments should not be allowed on the article
label_namestextA list of label names to apply to the article, separated by a |

As with categories and sections, to update an existing article you must provide both an id and locale.

Importing comments

The following table outlines the column headers that can be specified when creating a CSV file containing your article comment data:

NameTypeDescription
idintegerThe ID of the comment (required when updating a comment)
bodytextThe comment body, which can contain HTML
article_idintegerThe ID of the associated article (required)
author_idintegerThe ID of the comment author
localetextThe article locale (required when updating an article)

Summary

As you may have guessed, this app can be used for more than just imports. Examples of other use-cases made easy by the app include:

  • Creating regular proactive ticket campaigns
  • Updating agent roles (or downgrading agents) in bulk due to seasonal staffing changes
  • Flagging tickets for inclusion in a business rule or report

And the list goes on.


Related posts

If you enjoyed this post you may want to check out some of our other content.

...

Importing tickets and users into Zendesk Support

Learn how to import users, groups, organizations and tickets into Zendesk Support using our Import app.