Who: the knowledge base’s creator and Admins add the source; anyone who can open the knowledge base can upload to it · Where: Knowledge bases › your knowledge base › Add Source › FAQ · Works on: Enterprise and SaaS
Prepare the spreadsheet
Each row is one entry: a question, its answer, other ways people ask the same question, and if you like, where the answer comes from. Agents match a person’s question against both the question and its other phrasings. For example:
The spreadsheet must follow these rules:
- It is an
.xlsxfile. Only the first sheet is read. - The first row holds the column names. You choose the names; you tell the data source which column is which.
- A question column and an answer column. Every row needs a question and an answer.
- A column for the other phrasings, one per line in the cell. The column must exist, but its cells may be empty.
- A sources column, if you want one. Its cells may be empty.
Create the FAQ data source
1
Open the knowledge base
Go to Knowledge bases and open the knowledge base.
2
Add an FAQ source
Click Add Source and choose FAQ. Only the knowledge base’s creator and Admins can add sources.
3
Name it and map the columns
Enter a Data Source Name and a Description. Under Excel Column Configuration, type the column names exactly as they appear in your spreadsheet:
- Question Column Name
- Answer Column Name
- Paraphrased Questions Column Name
- Sources Column Name
4
Click Create
The data source appears in the knowledge base’s Data Sources list.
Upload the spreadsheet
1
Open the FAQ data source
Click it in the Data Sources list.
2
Click Upload
Choose one or more
.xlsx files.3
Wait for processing
Each file is checked before it is accepted. Accepted files show Processing, then Processed once agents can find their entries.
Ask an agent that uses the knowledge base one of the other phrasings. Its answer comes from the approved answer.
Why a spreadsheet is refused
A refused spreadsheet shows “FAQ file validation failed”, followed by the problems found and the number of rows in the file. A file that is not.xlsx is refused with its own message.
Update the entries
You cannot edit entries one by one in the web app. To change them, edit the spreadsheet, delete the old file from the data source and upload the new one. Two files in one knowledge base cannot share a name, so delete the old file first. If you renamed columns in your spreadsheet, update the data source first: open it, click Edit, change the names under Excel Column Configuration, and click Save Changes.Good practice
- Phrase the questions the way people ask them.
- Add the other ways a question is asked, one per line.
- Write each answer so that it makes sense on its own.
- An FAQ source can sit in the same knowledge base as document sources.