OBLYTECH Logo
OBLYTECH Logo

Control Topic Visibility in Virtual Agent Messaging Channels

Control Virtual Agent topic visibility by opening the topic’s Properties page, expanding Advanced properties, and selecting Who can access this topic. Under Context, choose Condition and Add Condition, then use vaContext.deviceType in a condition script to exclude selected messaging channels. Save the properties and publish the topic to deploy the restriction.

Set the channel boundary before editing the topic

A topic can be appropriate for one messaging channel and unsuitable for another. Decide which channels should exclude it before changing its properties. The restriction belongs to the topic’s access condition, where a script evaluates the messaging context. It does not require rewriting the conversation simply to distinguish Slack from Microsoft Teams.

For this configuration task, the required role is virtual_agent_admin or admin. The prerequisites also list Administrator for third-party applications. Arrange the appropriate access before scheduling the change so that the person editing the topic and the person validating the connected application can complete their parts.

Write a short acceptance statement that names the topic, the excluded channel, and a channel where it should remain available. For example, a team might decide to exclude a particular topic from Slack while retaining it in Microsoft Teams. This is a proposed configuration choice, rather than a default behavior. Make that distinction clear in the change record.

Keep the scope at topic level. If the request concerns which messaging integrations to use, address that decision separately. The guide to Virtual Agent messaging and voice channels provides a related planning route. The access condition discussed here answers the narrower question of where a specific topic should be available.

Configure virtual agent topic visibility across channels

In Assistant Designer, reach the access setting through the topic’s properties. Check the navigation and supported channel values on your instance and release: Brazil and Australia use Assistant Designer, Zurich includes an LLM or NLU/Keyword discovery toggle, and Yokohama uses Virtual Agent > Designer. Xanadu uses a Condition field on Topic Properties. Brazil’s example covers Slack and Teams; earlier examples also contain Facebook and Messenger values.

  1. Navigate to All > Conversational Interfaces > Assistant Designer.
  2. Open the Asset library tab and select the topic you intend to change. If the work requires a new topic, create that topic before configuring its access.
  3. Go to Properties and open Who can access this topic within Advanced properties.
  4. In Context, select Condition, then Add Condition.
  5. Enter the condition script that evaluates the messaging channel and returns the intended access result.
  6. Select Save to retain the topic properties, then publish the topic when the change is ready for deployment.

Confirm the topic identity before entering the script. Similar topic names can make a correct access rule appear ineffective when the test conversation reaches a different topic. Record the selected topic alongside the access decision, rather than recording the script alone. That gives the reviewer enough context to check whether the change addresses the original request.

If your work also changes how topics are discovered, keep those decisions explicit. The discussion of LLM topic discovery and NLU migration addresses that neighboring concern. Selecting a discovery type and defining a channel exclusion are separate decisions in the configuration review.

Design the condition around the channel identifier

The context variable used for this decision is vaContext.deviceType. A channel exclusion condition compares its value with the identifier of a channel to be excluded. For Slack, the example value is Slack. For Microsoft Teams, it is Teams. Use those identifier spellings in the comparison rather than substituting the channel’s full display name.

The condition’s return value determines the access outcome. Return false for a channel that should be excluded and return true for the remaining context. When excluding both Slack and Microsoft Teams, combine the comparisons so that a match on either identifier produces false. When excluding Slack alone, the Teams comparison does not belong in that exclusion branch.

Review the logic as a decision with two outcomes. First ask whether the current channel is on the exclusion list. Then ask what happens when it is not. This catches a condition that handles the named channel correctly but unintentionally denies another channel because the remaining branch also returns false.

  • Slack excluded: the Slack comparison reaches the false result.
  • Teams excluded: the Teams comparison reaches the false result when Teams is part of the intended restriction.
  • Other context: the remaining branch reaches true when the design is to preserve access outside the listed exclusions.

These are review checks for the proposed logic, not additional settings to locate. Keep the access rule readable enough that another administrator can explain its outcomes without running a conversation. A condition that is difficult to review deserves attention before publication, particularly when the topic already has access requirements that need to be preserved.

Save, publish, and verify the deployed result

Saving the properties and publishing the topic serve different points in the change sequence. Save retains the access configuration. Publishing deploys the topic to messaging channels while excluding those specified by the condition. Include publication in the implementation record so a saved edit is not mistaken for a deployed restriction.

Test from the actual channels named in the acceptance statement. Use an excluded channel first, then one intended to retain the topic. Keep the topic and test request consistent between those checks. Changing several variables at once makes it harder to decide whether the access condition caused the observed result.

In NLU/Keyword testing, include a request that would otherwise identify the topic through a keyword or intent. An excluded topic should not be triggered through that route. Also test the expected route in the allowed channel. A negative result in the excluded channel is stronger evidence when paired with a successful comparison in the allowed channel.

Record the channel, topic, expected outcome, observed outcome, and whether the tested configuration was published. Avoid recording a result as simply “working.” A reviewer needs to see whether the restriction affected the intended channel and whether the topic remained reachable where the design required it.

For help planning this work, see ServiceNow implementation.

Investigate unexpected visibility without widening the change

If the topic remains available in an excluded channel, check the configuration in order. Confirm the topic selected in Asset library, inspect the access condition, check the identifier comparison, and establish whether the topic was published after the edit. These checks follow the path from the intended topic to the deployed access decision.

If access disappears from an allowed channel, review the return paths. A false result outside the intended exclusion branch can conflict with the acceptance statement. Revisit the existing access requirements as well as the channel comparison before changing anything. Preserve the original access intent while correcting the new restriction.

A channel rule also needs a clear ownership boundary. Keep it with the topic access decision when reviewing the design; do not assume a reusable conversation component needs alteration because a topic should be hidden. For related conversation structure decisions, see topic blocks in Virtual Agent design.

When handing the work over, include the final exclusion list and the paired channel test results. This helps the next administrator distinguish a deliberate visibility decision from a missing topic. It also makes a later request to restore access easier to assess against the original reason for restricting it.

Questions to resolve during a channel visibility review

What should a reviewer request when someone says a topic is sensitive?

Ask for the specific audience concern and the intended channel boundary. A sensitivity label alone does not define an access decision. Turn the request into a testable statement about where the topic should be available, then assess any additional protection requirements separately.

Should two similar topics share one acceptance record?

Prefer a separate result for each topic. Even when the intended exclusions match, a test of one topic does not establish the configuration of another. A shared change record can contain both, provided it identifies their individual outcomes.

How should an uncertain channel requirement be handled?

Resolve the uncertainty before deploying a restrictive condition. Ask the decision owner to identify the expected experience in that channel. Guessing at the boundary makes a technically correct script difficult to approve because there is no agreed result against which to test it.

What makes evidence of a failed test actionable?

Include the request used, the channel, the topic expected, and the actual conversation outcome. Pair that evidence with the publication state and the access rule being tested. This turns a vague report into a focused investigation that another administrator can repeat.

When should the visibility decision be reviewed again?

Include it in the review when the topic’s intended audience or channel plan changes. Compare the new requirement with the recorded exclusion list before editing. That keeps the access decision tied to the conversation’s purpose as the deployment evolves.