OBLYTECH Logo
OBLYTECH Logo

Virtual Agent Proactive Triggers

A virtual agent proactive trigger in ServiceNow presents help when a visitor’s page context or a supported system event matches configured rules. The visitor does not need to ask a question first. A matching action displays a message; selecting it opens chat and can launch a relevant Virtual Agent topic.

What starts a Virtual Agent proactive trigger in ServiceNow

Proactive Triggers separates the signal that help might be needed from the conversation itself. A visitor reaches a page, the feature identifies the relevant trigger type, and matching rules and actions determine whether a message appears. The visitor can then choose whether to engage with the offered help.

Page context includes knowledge articles, catalog items, portal home pages, and other portal pages. A search event can also supply a server-side signal. This distinction matters when translating a support scenario into configuration: a person reading an article and a person getting no search results enter the process through different trigger types.

Start with one specific moment of difficulty. For example, a team could offer equipment-selection help on a relevant catalog item. Define what the visitor should accomplish after opening chat before deciding which message to display. The Virtual Agent use cases for enterprise teams can help connect that moment to a support outcome.

Map the signal to the right trigger type

The page category determines which rules are considered. A rule aimed at the wrong category can look correct in isolation while failing to run on the intended page. Use the following mapping when designing the first test:

  • Knowledge: knowledge base pages.
  • Catalog Item: service catalog pages.
  • Portal Home: portal home pages.
  • URL: other portal pages.
  • Search Event: a server-side search event on portal pages.

A URL rule is not a substitute for the dedicated knowledge, catalog, or portal-home type. If a message fails on one of those pages, inspect the trigger type before changing its message or delay. Otherwise, you may spend time tuning an action that is not being evaluated.

For the default search scenario, Search Event responds when the Service Portal Default Search Profile produces no results. It starts inactive and uses the System API source. Treat that scenario as a separate configuration exercise rather than assuming that enabling browsing triggers also enables search assistance.

Enable the feature and prepare one rule

The setup below uses the Zurich configuration flow, with Brazil monitoring and enhanced-chat behavior covered later. Check the controls and prerequisites on your instance and release before applying changes. The Proactive Triggers application, sn_pt, requires installation and an updated Omni-Experience Standard Feature Set.

For the Zurich setup flow, use the admin role to install and enable the feature and configure rules. In Brazil, rule and action creation accepts either sn_pt.proactive_admin or admin. Keep those configuration privileges separate from the access an end user needs to run the selected topic.

  1. In System Properties [sys_properties], set com.glide.cs.advanced-chat-popover to true. This enables the smart chat component for the requester persona.
  2. Open Conversational Interfaces > Settings and switch to the Proactive Triggers scope.
  3. Turn on Enable proactive triggers. The feature starts inactive.
  4. Under General, use View All next to Rules, then select New to define a rule and its related actions.
  5. Review Trigger types separately. Custom types can be created when a supplied type does not fit the intended event.

For Search Event, activate the Proactive Trigger on Search business rule, the Search Event trigger type, the Search – No Search Result rule, and the No Search Result Message action. Review the business rule’s Filter Conditions if your organization uses a different portal. Keep a record of changes so the test result can be traced to the configuration.

Control timing, audience, and the offered action

Rules include Delay Time and Order. Matching proceeds through rules for the identified trigger type, considering ascending order. Delay Time can take precedence when its threshold is reached before the order number. Review timing and ordering together when several rules could apply to the same visit.

After a rule matches, its actions are evaluated in ascending Order. The Applies To field is checked against the visitor. A message appears after an applicable rule and action are found and the delay is met. A rule match therefore does not, by itself, prove that a particular visitor should see a prompt.

Choose an action that fits the next decision:

  • Message only: display information without directing the visitor to a configured topic.
  • Message that launches a virtual agent topic: offer one relevant conversation.
  • Message that launches a selection of virtual agent topics: present up to three topic buttons.

In Brazil, after submitting the rule, reopen it and add the action through the Proactive Actions related list. For a topic selection, use the Proactive Action Virtual Agent Topic Controls related list to set each button’s Label, Topic, Active status, and Order. A Label can contain up to 40 characters; leaving it blank uses the topic title. Blank Active values become true, and blank Order values receive the next number in the sequence. At least one action must be active for the rule to trigger. For live agent rules, the available action type is Message only.

Prefer one clear next step when the page context already explains the visitor’s need. A selection is more appropriate when the same page supports several distinct questions. Write the message around that choice, and verify that the destination topic handles the situation the message promises to address.

For help planning the configuration, see ServiceNow implementation.

Test the prompt and conversation as separate outcomes

Begin with a controlled test account, one target page, and a recorded expected action. Confirm the page category, audience, delay, and destination before opening the portal. A test that simply observes a pop-up misses whether the selected conversation can actually help the intended user.

  1. Visit the intended page and wait for the configured delay.
  2. Confirm that the message fits the page and is visible to an intended user.
  3. Select the message or topic button and check that the expected chat opens.
  4. Repeat with someone outside the intended audience to check targeting.
  5. Test a nearby page that should not produce the same prompt.

In enhanced chat, proactive prompts and simple Virtual Agent notifications have a similar rectangular pop-up presentation. Proactive prompts appear on portal pages with the chat button and are unavailable in the full-page experience. Selecting a proactive prompt redirects the visitor to a new chat. Include that navigation in acceptance testing.

Use the Virtual Agent testing and acceptance checklist to record the prompt and topic outcomes together. If a topic works for an administrator but fails for its audience, review the topic’s access in Assistant Designer. The Virtual Agent security and access design explains the broader access decisions behind that check.

Diagnose missing prompts with execution evidence

Use Proactive Execution History [sys_cs_ptrigger_execution] to investigate individual events. The Notes column summarizes execution status. Open an event from the Created column and inspect Details under Others for more information about a failed run. Capture the event details while investigating; this table’s data is removed every seven days.

Proactive Daily Report [sys_cs_ptrigger_report_daily] provides daily aggregates by user, rule, and action. Execution data is processed hourly into that report, and its data is removed every 35 days. Use individual execution records for an immediate failure and the daily report when reviewing repeated behavior across the pilot.

Work through common causes in a fixed sequence:

  • Check whether the trigger type matches the actual page category.
  • For Frequency set to Once per user, check whether previous execution history explains the missing prompt; clear the history for that rule before retesting.
  • For an action that launches a topic, check whether affected users can access that topic.
  • Close active conversations in the chat widget when investigating a rule that does not run.

Record the account, page, rule, action, and observed result before changing settings. This makes the next test interpretable. If the page type was wrong, correct that first and repeat the original visit; changing timing, audience, and action together makes it harder to identify the cause.

Questions about extending a proactive rollout

Can proactive help connect users to a live agent?

Yes. Proactive Triggers can work with Agent Chat in configurations without Virtual Agent. The sample Chat welcome message when a live agent is available depends on the Advanced Work Assignment plugin for agent chat. Review that dependency before choosing the sample for a pilot.

Can an action use an LLM topic?

For LLM topics in Brazil, set up ServiceNow Otto for Virtual Agent before using them with Proactive Triggers. Decide whether the intended conversation needs that approach, then test the selected topic against the same audience and completion criteria used for other proactive conversations.

Does the feature support Domain Separation?

Yes. Proactive Triggers can be used with Domain Separation. For rollout planning, include representative users from the intended domains in acceptance testing so that the message and conversation are checked in the contexts where they will be used.

What should a team consider for unauthenticated visitors?

For new customers onboarding from Vancouver onward, chat widget access defaults to authenticated users. Allowing unauthenticated access requires making the $sn-va-web-client-app and sn_va_web_client_app_embed pages public. Treat that as an access-design decision before planning a public visitor journey.