How to train Hugo AI Agent on your data
Choose where Hugo should find an answer, add or update that source, and test the result with a question your customers actually ask.
Training gives Hugo the product information, policies and answers your team maintains. For information that changes for each customer, Hugo can use an integration or MCP tool. For the rest of a first setup, follow Getting started with Hugo AI Agent.
Example → Your returns policy can answer “How do I return this order?” A question about whether a particular refund has gone through needs current information from the system that processes it.
In this article:
- Choose the right sources
- Import web pages
- Use your Knowledge Base
- Import files
- Create Questions & Answers
- Check an answer after a change
Choose the right sources
As a workspace owner, start with the information your team already uses. When a policy changes, you’ll want to update it in the same place your team looks for it.
- Crisp Knowledge Base → A published article lets Hugo draw on the same instructions you share with customers. This works well for procedures such as requesting a return.
- Web pages → Hugo can search documentation or policies hosted on another website. You choose which pages to import and can refresh them when the content changes.
- Files → You can upload a document directly, such as a product manual from a supplier. Check that it’s the current version and that the information in it can be shared with customers.
- Questions & Answers → A snippet can fill a gap when customers need a short answer, such as whether they need to bring a receipt to the store.
Keep factual details and procedures together in a source your team maintains. Use Instructions for a rule about how Hugo should respond.
Choose which sources Hugo can use
In ⚡️ AI Agent → Agent → Settings → Data sources, select the types Hugo should search and save the section. An empty selection means All sources. For example, if Hugo should only search your Knowledge Base articles, select Knowledge Base explicitly.

Import web pages
Hugo can import text from publicly accessible web pages. It automatically renders JavaScript during the crawl so it can read content the page loads dynamically. You can choose individual pages or use a URL filter to include a section of the site. For example, if you publish your policies under /en/article/, you can include those pages without importing older announcements from your blog.
- Open ⚡️ AI Agent → Train → Web pages, enter your domain and click Import my Website. Hugo looks for pages in the sitemap and can follow links if no sitemap is available.
- Review the discovered URLs. Select pages individually or use Equals, Contains, Starts With and their negative equivalents. Combine filters with And or Or to include the sections you want.
- Click Start crawling. Once the crawl finishes, open an imported page and check that the extracted text includes the information customers need.

Update or change the pages Hugo searches
Use Refresh this page after changing one policy or Start refresh to refresh the domain. External website changes do not trigger an automatic refresh. You can also disable a single page while you correct it. Only one web crawl can run at a time in a workspace.
To change which pages are included, open the domain and choose Edit filters. Check the matches before saving because pages excluded by the new rules are removed from the stored results. Start a new crawl to pick up newly included pages.
If pages cannot be imported
- A page is missing → Check whether a URL filter excluded it. If Hugo didn’t discover the page, you can add it under Extra URLs. To import a downloadable TXT, Markdown, PDF or CSV document, use Files.
- Hugo finds little or no text → If you imported the page before JavaScript rendering was available, click Refresh this page to crawl it again. Then open the imported page and check the extracted text.
- Your site denies or limits the crawl → Check your firewall and allow the Crisp crawler. If your site requires specific request headers, open the domain menu, choose Custom headers, save the required headers and refresh the domain.
- A crawl stops early → The import status and the page allowance for the domain can help explain why it stopped. Pages imported previously can still be available to Hugo, so check the stored pages and disable any that are outdated.
Use your Knowledge Base
Manage Crisp articles in 📖 Knowledge Base. Hugo automatically indexes published, visible articles and their updates. Deleting, unpublishing or hiding an article removes it from the Knowledge Base source. Allow time for synchronization before testing the change.
If a help article already explains a procedure, update it in the Knowledge Base. The published article then serves both your readers and Hugo, without crawling a second copy. For documentation hosted elsewhere, import the relevant web pages or move the Knowledge Base to Crisp.
Import files
Under Train → Files, you can import TXT, Markdown (.md and .mdx), PDF and CSV. A PDF needs selectable text. For example, try selecting a sentence in a supplier manual before uploading a scanned copy.
When a document changes, upload the updated file. A CSV with the same filename merges with the existing resource. Titles match regardless of letter case. A matching title updates its answer, and a new title adds an entry. Removing a row from your CSV leaves the old entry in Hugo until you remove it there.
- Drop the file into the upload area or select it from your computer.
- For CSV, map the column containing each title and the column containing its text. Headings such as
title,contentmake them easy to identify. - Confirm the import. When it finishes, open the resource and check that Hugo can read the text you expect.
Create Questions & Answers
A Q&A snippet gives Hugo one reusable answer. It has no public article page, but Hugo can share its contents with customers. Groups and locales help you organize snippets. They do not restrict who can receive the information.
- Open Train → Questions & Answers → New → New question.
- Write the question in words your customers use. Give the answer you would send to a customer. Choose a group if it helps your team find the snippet later.
- Click Save Answer when the content is ready. A complete new answer is enabled as soon as it is saved.
For a fictional store, a helpful snippet might read:
Question: How can I request a refund?
Answer: Open Account → Orders → View Details to request a refund. Requests must be made within 30 days of delivery, and items must be unused.
Use your store’s actual policy and labels. “Tell the customer they can request a refund if the order is recent” leaves both the deadline and the next step open. If customers also ask how long approved refunds take, give that question its own answer.

Import snippets in bulk
To bring a list of answers into Train → Questions & Answers, use the … menu. You can import a CSV or a previously exported JSON file. For CSV, use title for the question (up to 200 characters) and content for the answer (up to 4,000 characters). The importer accepts up to 5,000 entries per request, within your workspace allowance.
Import answers merges your file with the existing set. For a CSV, matching titles update existing answers regardless of letter case. Give answers about different markets distinct titles. Unless disabled is true or 1, an imported answer is enabled, including an existing answer updated by the file.
Check titles and enabled states before choosing the file. With the standard CSV headings, the merge starts directly. If the headings differ, map the question and answer columns in the import dialog. After import, review the result counts and check a few of the answers you intended to add or update.
Do snippets need translations?
Hugo can use information across languages. Create separate snippets when the answer differs, such as a market-specific return address, deadline or link. State the market in both the question and the answer so Hugo has that context.
Check an answer after a change
Ask a question in the Playground that the changed source now answers. Include any detail Hugo needs to identify the relevant product, market or situation. If the new information applies only in some cases, also try a question outside those conditions.
If Hugo gives an old answer, inspect the resources used in the Playground. Check that the corrected article or file was indexed, an external web page was refreshed, or the Q&A was enabled. Also check whether an older page or file still gives the previous answer. Correct or disable that copy. Adding another Q&A leaves that conflicting content available.
If an import is incomplete, check the allowance shown on its import screen and your current plan. Domain, file and Q&A allowances apply to the workspace. Page allowances apply to each domain.
Answering a question in the Inbox does not automatically add it to Hugo’s training sources. To reuse that answer for other customers, update the relevant source. See how Hugo uses conversation data for what it can use from the current exchange.
Updated on: 01/12/2026
Thank you!