Visibility condition for Now Assist Virtual Agent based on user location or company

apv
Tera Contributor

Hi Everyone,

I’m trying to restrict the visibility of the Now Assist Virtual Agent based on the logged-in user’s Company or Location.

Requirement:

  • Show the Now Assist Virtual Agent only for users belonging to a specific Company or Location.
  • Hide it for other users.

What I have tried/checked:

  • Checked Agent Chat and found that visibility/access can be controlled based on roles.
  • Checked Assistant Designer, but I couldn’t find an option to add a visibility condition or script based on user attributes such as Company or Location.

Expected:

  • Looking for a way to control the Now Assist Virtual Agent visibility using conditions/script such as the logged-in user’s Company or Location.

Question:

  • Is it possible to configure this without using DOM manipulation?
  • If yes, where can this visibility condition be configured?

Any suggestions would be appreciated.
Thanks!

1 ACCEPTED SOLUTION

sanjaygupta
Tera Guru

The visibility control depends on which component you want to restrict. The documented Now Assist skill configuration supports role-based access, while the Virtual Agent topic designer provides conditional visibility for individual conversation nodes.

There isn't a documented, universal Company- or Location-based visibility condition for the Now Assist Virtual Agent launcher in Assistant Designer.

  • Navigate to All > AI Admin Hub > AI Skills.

  • Open the relevant Now Assist skill.

  • Review the Define access step and configure the permitted user roles.

  • For Virtual Agent conversation content, open the relevant topic in Assistant Designer.

  • Use the Conditionally show this node if option under Advanced settings to define a condition.

  • Test the configuration with users from different companies and locations.

The topic-level condition controls what users see within a conversation; it does not necessarily hide the Virtual Agent launcher itself.

I would recommend using supported access controls rather than DOM manipulation, which is not a reliable or supported approach for enforcing visibility.

References:

Hope you found it helpful!

View solution in original post

4 REPLIES 4

apv
Tera Contributor

Hi @rpriyadarshy 

Thanks for the reply. I have already checked that, but it seems to be different from the Now Assist Virtual Agent.

Thanks!

sanjaygupta
Tera Guru

The visibility control depends on which component you want to restrict. The documented Now Assist skill configuration supports role-based access, while the Virtual Agent topic designer provides conditional visibility for individual conversation nodes.

There isn't a documented, universal Company- or Location-based visibility condition for the Now Assist Virtual Agent launcher in Assistant Designer.

  • Navigate to All > AI Admin Hub > AI Skills.

  • Open the relevant Now Assist skill.

  • Review the Define access step and configure the permitted user roles.

  • For Virtual Agent conversation content, open the relevant topic in Assistant Designer.

  • Use the Conditionally show this node if option under Advanced settings to define a condition.

  • Test the configuration with users from different companies and locations.

The topic-level condition controls what users see within a conversation; it does not necessarily hide the Virtual Agent launcher itself.

I would recommend using supported access controls rather than DOM manipulation, which is not a reliable or supported approach for enforcing visibility.

References:

Hope you found it helpful!

apv
Tera Contributor

Hi @sanjaygupta ,

 

Thanks for the information. Actually, we are looking to restrict the visibility of the entire Now Assist Virtual Agent, rather than controlling the visibility of individual topics or conversation nodes. Based on your explanation, it looks like there isn't another supported option for this apart from role-based access restriction. Thanks for clarifying.