Import External Content to Sprinklr Knowledge Base (HTML Import)

Updated 

This is a step-by-step guide on how to bulk import your existing content into the Sprinklr Knowledge Base. To learn more about the automatic import process, click here.

To Import Articles

If you want to import a set of articles into the Sprinklr knowledge base, create a CSV file.

1. Click the New Tab icon. Under the Sprinklr Service tab, select Knowledge Base within Resolve.

2. In the Knowledge Base builder, click the Options icon at the top and choose your preferred method of import. Select Import as HTML.

3. Make sure that you have already created the categories in the Sprinklr Knowledge Base for the articles to be imported before starting the import process.

Note: Please ensure you have the required permissions. To learn more, see Sprinklr Service Permissions.

Importing as HTML involves using an .HTML file format to import data. This method is commonly used for importing web content, as HTML is the standard markup language used to create web pages. HTML files contain both the content and the formatting of the data being imported, and can be customized to fit the specific needs of the importer.

If importing as HTML, upload the CSV file and the HTML .zip file that contains the content to include in your article.

4. Once the import is completed, you will get a platform notification with a response file to download. The response file will contain the details on the errors (if any) detected during the import.

Note: You can get email notifications for import/export events. To get this capability enabled, please work with your Success Manager.

To Create a CSV Metadata File

Create a CSV file and add the details as explained below. There is a CSV file required for "import as HTML" option comprising of the fields explained below. The format is shown at the end of the article.

Export Import Id

For "Import as HTML", this field should be the same as the exact name of your .HTML file of an article. It should not contain any special character. 

Folder Id

The Id of the knowledge base category to which you want to add the imported article. You can get the folder ID from the category page URL as shown below.

If this column is missing or contains null values, an error will be flagged in the response file, indicating a failure to import.

Folder Name

  • Only applicable for "Import as HTML" option.

  • This is the name of the folder/category to which the above folder Id corresponds to.

Locale

The supported languages are

Language

Language Code

Arabic

ar

Arabic (Egypt)

ar_EG

Arabic (Saudi Arabia)

ar_SA

Czech (Czech Republic)

cs_CZ

Danish (Denmark)

da_DK

German

de

German (Germany)

de_DE

Greek (Greece)

el_GR

English

en

English (United Kingdom)

en_GB

English (Ireland)

en_IE

English (India)

en_IN

English (US)

en_US

Spanish

es

Spanish (Spain)

es_ES

Spanish (Mexico)

es_MX

Finnish (Finland)

fi_FI

French

fr

French (Canada)

fr_CA

French (France)

fr_FR

Hebrew (Israel)

he_IL

Hindi (India)

hi_IN

Croatian (Croatia)

hr_HR

Hungarian (Hungary)

hu_HU

Indo Bahasa (Indonesia)

id_ID

Icelandic (Iceland)

is_IS

Italian

it

Italian (Italy)

it_IT

Japanese

ja

Japanese (Japan)

ja_JP

Kannada (India)

kn_IN

Korean

ko

Korean (Korea)

ko_KR

Malayalam (India)

ml_IN

Malay Bahasa (Malaysia)

ms_MY

Norwegian Bokmål (Norway)

nb_NO

Dutch

nl

Flemish (Nederlands)

nl_BE

Dutch (Nederlands)

nl_NL

Polish (Poland)

pl_PL

Portuguese

pt

Portuguese (Brazil)

pt_BR

Portuguese (Portugal)

pt_PT

Romanian (Moldava)

ro_MD

Romanian (Romania)

ro_RO

Russian

ru

Russian (Russia)

ru_RU

Slovak (Slovakia)

sk_SK

Swedish (Sweden)

sv_SE

Tamil (India)

ta_IN

Telugu (India)

te_IN

Thai (Thailand)

th_TH

Tagalog (Philippines)

tl_PH

Turkish (Turkey)

tr_TR

Ukrainian (Ukraine)

uk_UA

Vietnamese (Vietnam)

vi_VN

Chinese

zh

Chinese (Simplified)

zh_CN

Chinese (Traditional)

zh_TW

Base Article Id

The optional field applicable only when the base article is already imported/created and now you want to import the translations of that article. You can get the article ID from the base article URL as shown below.

For every article, we designate the base language, meaning the original language of the article. Should you wish to have the translations of that article imported, you can add them under the base article using the corresponding base article Id.

Note: To learn more about how to create a new article in the base language, click here.

Title

The title of the article that you wish to add in Sprinklr.

Status

The Status column allows you to specify the current status of the content, such as Approved, Draft, etc. If this column is missing or contains null values, an error will be flagged in the response file, indicating a failure to import.

Optional Columns

Tags

Specify the article tags in the Tags column.

Migration From

The Migration From column indicates the platform or source from which the content is being migrated.

Migration ID

The Migration ID column contains the ID of the content on the platform from which it is being imported, facilitating easy tracking and reference.

Sample Metadata File for Import via HTML Format

This is the metadata CSV format that goes with the HTML zip file.

For adding Translations, add the base article id of the the article to which the translations needs to be added.