Import or export articles in a knowledge base v2
You can import and export question and answer articles in CSV, JSON, and XLXS formats. For more information about how to create an FAQ, see Knowledge workbench FAQ creation tips.
- Make sure that you create question and answer articles in the same language as the knowledge base.
- Questions and answers must include a minimum of five characters.
Download a knowledge base import file
You can download a knowledge base article in CSV, JSON, or XLSX formats and then modify it according to your specifications. Then, use the file to import articles into your knowledge base.
- Import Knowledge template in CSV format
- Import Knowledge template in JSON format
- Import Knowledge template in XLSX format
Import question and answer articles into the knowledge base
You can import question and answer articles, including linked categories and labels, in CSV, JSON, or XLSX formats to a knowledge base. If the articles do not contain categories and labels, the import process automatically creates them.
- You can create new or update existing articles in CSV, JSON, and XLSX formats.
- You can import article categories and labels in CSV, JSON, and XLSX formats.
To import a .csv, .json, or .xlsx file that contains your question and answer articles, follow these steps:
- Click Admin.
- Under Knowledge, click Articles.
- Create a new knowledge base or open an existing one.
- Click Import. The Import Articles dialog box opens.
- Select the file format in which to import:
- CSV
- JSON
- XLSX
- Click Next.
- Do one of the following steps:
- Drag and drop the file that you want to import into the Select a CSV file to upload, Select a JSON file to upload, or CSV, JSON, and XLSX box.
- Click the box to navigate to the appropriate location and then select your .csv, .json, or .xlsx file.
- Click Import. The system automatically checks for any errors in your file and returns a list of items to check before you continue.
- If the validation check includes no errors, click Import. The system imports the question and answer pairs as individual articles with new or links to existing categories and labels.
Click the image to enlarge.
Export question and answer articles from the knowledge base
You can export articles in CSV, JSON, and XLSX formats from a knowledge base. Exported articles include the knowledge base ID and the linked category and label structures. If the knowledge base does not have the linked categories and labels already defined, the export process automatically creates them. When you import articles in CSV, JSON, and XLSX formats to the same knowledge base, the import process updates the existing articles. When you import articles to a different knowledge base, the import process creates articles for the imported content.
- Genesys recommends that you use CSV to export basic FAQ knowledge.
- Genesys recommends that you use JSON to export complex knowledge and more attribute support.
- Genesys recommends that you use XLSX to export knowledge as a spreadsheet.
To export a file that contains your question and answer articles, follow these steps:
- Click Admin.
- Under Knowledge, click Articles.
- Open the knowledge base that contains the articles that you want to export.
- Click Export . The Export Knowledge dialog box opens.
- Choose the format in which to export the knowledge articles:
- CSV
- JSON
- XLSX
- Select the articles that you want to export:
- To export all articles in the knowledge base, leave the default All articles setting unchanged.
- To export articles from a specific time period, click the calendar at the end of the Start and End boxes and select the time frame from which to export the articles.
- Click Export. The system downloads the articles into a .json file and returns a message when complete. You can select to download the file from the message link.
Click the image to enlarge.