AI Search inside Recommended Actions gives customer service agents a Search tab in the contextual side panel. An agent types a query and gets preview cards from the configured search sources, with the top-ranked answers shown first as genius result cards. Agents can open a card for its record or act on it from the list.
Where the Search tab sits
The Search tab sits beside the Recommended Actions tab. The Recommended Actions tab shows guidance matched to the case. The Search tab is where an agent asks a question of their own.
To reach it, the agent opens the customer service record in the CSM Configurable Workspace, selects the Recommended Actions icon in the contextual side panel, and selects the Search tab. After entering a query in the search bar, the agent selects the search icon or presses Enter. AI search results and genius results then appear together as cards. For the wider component, see the customer service hub.
Reading and acting on result cards
Each card is a preview of a search record. Selecting the card opens its record details. Some cards carry an action, such as attaching a knowledge article to the case, and selecting the action button completes that step.
Ranking uses machine learning relevancy. On the default guidances from the base system, a relevancy score appears on the cards when the Show relevancy score for results check box is enabled on the context form.
Filtering and sorting the results
The Filters button opens the filter section. The agent selects a search source, selects Apply, and the number of selected sources appears on the button.
Selecting several sources shows the facets for all of them. Check facet behavior in your own instance before relying on it.
| Control | What it does |
|---|---|
| Sort | Orders results: Most relevant (default), Updated (oldest), Updated (newest) |
| Clear all | Removes all applied filters |
| Full view search icon | Opens a detailed view of the results on the Search page, which has its own filter section |
| Hide filters / Show filters | Collapses or reopens the filter section |
When top N results is enabled, the Filters button and the Sort icon do not appear on the tab or on the Search page.
What happens after an agent acts on a result
Selecting the action button moves the card from the Search tab into Action history, and the executed guidance is added to the Activity stream. Executed results may still count toward the total number of matches while no longer appearing in the list. The total can also differ from the visible list, because security permissions limit which records a given agent can see.
Turning AI Search on for customer service pages
Customers starting with the Yokohama release get AI Search as an integral part of the contextual side panel, with no manual configuration. Customers onboarded earlier have Agent Assist enabled by default and can migrate by hand. The migration uses a UX page property. Navigate to All, search for sys_ux_page_property.LIST, and select New. Set Page to CSM/FSM Configurable Workspace, Name to hideAgentAssistShowRA, Type to True or False, and Value to true, then complete the scope and description and select Save. If the property already exists, for example from enabling Recommended Actions in the chat interaction record, there is no need to create it again.
Once set, it covers the CSM default record page, the Front-line case page, and CSM Interaction pages for chat, video, email and walk-up channels.
Setting up the search configuration
An admin works through these steps in order:
- In UI Builder, deselect the Hide Search button so the AI search tab appears in the contextual side panel.
- Create a context for a table such as Case, and select a search application configuration. That configuration names AI search as the search engine and holds the search sources and genius result configurations.
- Map the AI search results to guidance inputs.
- Let the platform create the automatic mappings, described below.
- Configure dynamic filters, if needed. Enable the Has Dynamic Filters check box on each search source that needs it in the search profile, then implement the AisDynamicFilter extension point so AI Search excludes results that do not match the current record context. Enable it only on the sources that need it.
- Link the genius result configurations to the search profile.
- Customize the Recommended Actions UI Builder component. Admins can change the titles of the main heading and the two tabs, change the order of the tabs, and hide or show either tab.
Advanced options cover results per page, genius results and search sources.
Mapping search sources to guidance
Authors need the role that permits authoring next best actions, or the admin role. Open All, then Recommended Actions, then Contexts, select a context, and set the Search Application Configuration field to the base CSM Configurable Workspace Search Config or a custom configuration. The base configuration, shown as [CSM AIS] Configurable Workspace Search Config, is found under AI Search, then Search Experience, then Search Applications.
Automatic mapping
From the Yokohama release, saving a context creates a mapping record for each search source in its configuration. A source with no mapping is mapped to the Default guidance for search results. A source that already has a specific action keeps it. The records are stored in the sn_nb_action_search_result_ra_mapping table and appear in the Search result mapping related list. Adding a source creates a default mapping, and removing one deletes its mapping.
Check the Active field on each new mapping in your own instance. Keep one active mapping per source, so that the action a source triggers stays clear.
Mapping by hand
In the Search result mapping related list, select New, set Action type to Guidance, and choose the action and the document through their lookups. Select OK, then Save. Set Map genius result to No to map a source table’s fields to guidance inputs, or to Yes to map a genius result configuration’s return fields. Save again. Each action input then takes a static value or a pill picker value, and the admin selects Update.
Genius result types
The genius result configuration decides what each card shows.
| Genius result configuration | What each card shows |
|---|---|
| Catalog item | One catalog item record from sc_cat_item |
| People | One user record from sys_user |
| Q&A | A topic snippet and an answer snippet from one knowledge article in kb_knowledge or a table that extends it |
| Now Assist Q&A | An answer snippet written by Now LLM, with a link to its source article. It is part of the Now Assist in AI Search store application |
| Now Assist Multi-Content Response | A synthesized answer that combines information from several results, with citations that link to the source content it drew on |
Now Assist Q&A has been in maintenance mode since the Now Assist in AI Search 11 release. It no longer receives new enhancements, but it still receives support. Multi-Content Response is the newer type, with similar but improved functionality to Now Assist Q&A, and it can be linked to a search profile, and the admin should confirm which profile Recommended Actions uses. For how answer cards are built, see the AI Search genius results guide.
Hybrid search for closer matches
Hybrid search is a feature of the CSM AI search application. It combines keyword matching, which finds exact or close term matches, with semantic matching, which reads the meaning and context of the query. A query that describes a system which keeps freezing can surface an article about application performance degradation, because the search reads meaning as well as words.
Hybrid search is on by default through the Enable hybrid search check box on [CSM AIS] Configurable Workspace Search Config. An admin who wants it off can deselect the box under All, then AI Search, then Search Experience. The setting applies to the CSM AI search application, and portals or other workspaces have their own search configurations. The trade-off is that, with hybrid search active, the Search tab does not display total result counts or facet counts.
Frequently asked questions
Do agents need to configure anything before they can use AI Search?
Customers starting with Yokohama get AI Search as part of the contextual side panel by default. Customers onboarded earlier can migrate by creating the hideAgentAssistShowRA UX page property and setting it to true.
Why does a result card show no relevancy score?
On the default guidances from the base system, the score appears when the Show relevancy score for results check box is enabled on the context form. Without that setting, the score is not displayed on the card.
Why are the Filters button and the Sort icon missing?
Top N results is enabled for the context. That setting hides both controls on the Search tab and on the Search page, and the list shows the top results.
Why does the result count differ from the visible list?
Security permissions can hide records from a given agent. Results that have already been executed may still count toward the total while being removed from the list.
What happens to a card after an agent acts on it?
The card moves from the Search tab into Action history, and the executed guidance is added to the Activity stream on the record.