Restructuring help content so a chatbot can use it
Rewriting a payroll product's help articles so the in-product chatbot retrieves better answers.
- Role
- Technical writer and sole documentation owner for the chatbot
- Timeline
- Ongoing
- Tools
- Markdown, Git, Information architecture
- Outcome
- Better answers from the product chatbot, from the same help centre
On this page
The problem#
The Zoho Payroll India help centre was written to be read as a manual. Articles opened with background, mixed several tasks on one page and leaned on the pages around them for context.
That works for a person who browses. It works badly for a chatbot, which retrieves a passage and answers from it. A passage that needs three other paragraphs to make sense produces a vague or wrong answer.
Approach#
I went through the content with one question: if this section were the only thing the chatbot saw, would the answer be correct?
- One task per article. Pages that covered several tasks were split.
- Headings that match real questions, such as “How do I add an employee?”, instead of feature names.
- The answer first, then conditions and background.
- Terms and prerequisites stated where they apply, not once at the top of a long page.
I also kept a short list of how the chatbot answered sample questions before and after each batch of changes, so I could see what was improving rather than guess.
Note
Content that is easy for a chatbot to retrieve is usually easier for people to scan too. Both readers want the answer without the detour.
Outcome#
The chatbot gives more direct, more accurate answers from the same help centre, and the articles are shorter and easier to scan. I am now the sole documentation owner for that chatbot, so new and updated articles follow the same structure from the start.
What I took from it#
Structure is part of the content. The same facts, split and ordered differently, behave very differently when a machine is the first reader. It is one of the reasons I wrote about writing for lookup.