Skip to content

How to upgrade help center search with Text’s AI Agent

5 min readUpdated

Summarize

Summarize
Text Team

Text Team

Insights from Text

See what's new at Text. We share updates on how we help businesses turn customer conversations into revenue, qualified leads, and measurable growth.

Share

Help center search is useful until it makes the visitor do the next round of work. They type a question, scan a list of articles, open the closest result, and still have to translate the answer into their own case.

With Text’s AI Agent, you can give visitors a way to get answers in chat from your existing help center search. Create your own "Ask AI" button or link on your search page or in your search component — for times when results are weak, too broad, or not enough. Connect it to the Text Chat Widget so the visitor’s search query becomes their first chat message.

This guide shows the practical setup: install the website widget, connect your help content to the AI Agent, decide where the "Ask AI" action appears, pass the search query into chat, and keep a human handoff available when the AI Agent cannot resolve the question.

What the upgraded help center search experience does

The goal is not to replace your help center. Your help articles still hold the source material. Search still helps visitors browse it. Text AI Agent adds a second path for visitors who need an answer, not another list of links.

A simple version of the flow looks like this:

  • A visitor searches your help center.

  • Your website shows normal results, plus an "Ask AI" action in the right moments.

  • When the visitor clicks it, your page sends the search query into the Text Chat Widget.

  • Text AI Agent uses your knowledge sources to answer in chat.

  • If the AI Agent cannot answer, or the visitor asks for a person, the conversation can be transferred to a teammate.

That solves a specific self-service problem: visitors no longer lose context when search does not finish the job. Their wording moves with them into the conversation.

Set up the Text pieces first

Before you add "Ask AI" to search, make sure the Chat Widget is installed, AI Agent is configured, and your help content is connected.

Install the Text website widget

The Text website widget loads the chat experience on your site. You can add it with an HTML snippet, Google Tag Manager, Shopify, WordPress, Webflow, or a framework SDK, depending on how your site is built.

Turn on and configure Text AI Agent

Set up AI Agent with the tone, answer length, languages, and transfer settings that fit your support flow. The important part for this guide is knowledge: the AI Agent needs access to the content it should use when answering help-center questions.

Add your help content as knowledge

In Text, knowledge sources can include websites, files, articles, and FAQs. For a help center search upgrade, start with the public help center or the nested help-center path, then add internal files or articles only when the answer should come from material that is not public.

If your help center changes often, set an auto-update cycle for website sources. If visitors keep asking the same question and the AI Agent cannot answer it well, add a focused FAQ or article so the answer becomes part of its knowledge.

Choose the search moments that should offer "Ask AI"

Add an "Ask AI" button when the visitor has already shown the intent and may need help finishing the task.

  • No results: “Ask AI about this instead.”

  • Many similar results: “Ask AI to find the right answer.”

  • Complex queries: billing, account access, setup problems, compliance, or troubleshooting.

  • Article result cards: “Ask AI to explain this for your case.”

The pattern works best when the visitor can see both paths: read the article or ask the AI Agent. That keeps the help center useful while giving visitors a faster option when the result list is not enough.

Turn the search query into the first message

Text gives you two practical ways to control the Chat Widget from a page element.

For fixed elements, use HTML attributes. They let a button, link, image, or banner send a message without writing JavaScript.

<button
  type="button"
  data-text-action="send_message"
  data-text-messageText="I need help finding the right support article"
>
  Ask AI
</button>

Read the visitor’s search query when they click “Ask AI” and use the send_message method to pass it to the Chat Widget.

const askAiButton = document.querySelector("#ask-ai");
const searchInput = document.querySelector("#help-search");

askAiButton.addEventListener("click", function () {
  const query = searchInput.value.trim();

  if (!query) return;

  LiveChatWidget.call("send_message", {
    text: `Help me find an answer for: ${query}`,
  });
});

These methods send a message on the customer’s behalf and maximize the Chat Widget. If a pre-chat form is enabled, the message becomes a draft and is sent once the form is submitted.

Write messages your AI Agent can answer well

Do not pass a bare search term if a little context would help. The first message should tell the AI Agent what the visitor is trying to do.

For example:

  • “Help me find an answer for: reset two-factor authentication.”

  • “I searched the help center for: Shopify widget not detected. Can you help me troubleshoot?”

  • “I found several articles for: billing permissions. Which one should I use?”

That wording gives the AI Agent a task, not only a keyword. It also helps the human teammate understand the context if the conversation needs a transfer.

Keep human escalation visible

A help center search upgrade should not trap visitors inside automation. In Text, the AI Agent can transfer chats to a human teammate when it cannot answer or when the visitor asks for a person. Configure that path before you send more search traffic into AI conversations.

The practical rule is simple: if the visitor searched because something is already going wrong, make it easy to continue with a person when the answer needs account access, billing judgment, or a decision the AI Agent should not make.

Test the flow before you show it to visitors

Test the upgraded search like a visitor who does not know your internal terms.

  • Search with vague wording, not just article titles.

  • Try no-result searches and weak-result searches.

  • Check that the Chat Widget opens and the right query appears in the message.

  • Ask follow-up questions that should use your knowledge sources.

  • Test the human transfer path.

After launch, review the questions visitors bring into chat from search. If you notice a recurring question the AI Agent struggles to answer, update a relevant help article or add an FAQ.

Every chat is a chance to close

Test for free