Mark Roethof
Tera Patron
Tera Patron

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Hi there,

 

With the Utah release ServiceNow introduced a new Store application called "Proactive Triggers". Reading the Docs, you might not instantly be able to imagine what is meant by Proactive Triggers, while it's pretty simple: Proactively a chat bubble on your Virtual Agent web client will pop-up for end users, depending on your settings.

 

With Proactive Triggers some of my older articles can be thrown away to achieve a custom chat bubble on Agent Chat configuration, it's now out-of-the-box and pretty easy to get going. Let's have a closer look!

 

Example Proactive Trigger

01.png


Activating Proactive Triggers

Proactive Triggers is a ServiceNow Store application that is available to all Virtual Agent web client and Agent Chat customers by default. You do have to activate this manually though.

 

02.png

 

1. In the plugin list, search for "Proactive Triggers" or "sn_pt", and install the plugin.
2. After installing the plugin, two System Properties must be set to value "true" (can also be done through the Conversation Interfaces page). The System Properties concerned are:
   a. "sn_pt.com.glide.cs.proactive_trigger.enabled"
   b. "com.glide.cs.advanced-chat-popover"

 

Proactive Rules

When having the Proactive Triggers plugin and System Properties activated, there's one thing left: configuring "Proactive Rules". The Proactive Rules table can be opened through the Conversation Interfaces page or opening the table directly, "sys_cs_ptrigger_rule".

 

03.png

 

Out-of-the-box there are already two Proactive rules available. You can enable or edit these to see what they do and how Proactive rules are set up.

 

For example let's have a look at the "Virtual Agent greeting" Proactive rule. Switch to the "Proactive Triggers" Application Scope and just play around a bit with the record. Multiple Frequencies are available, for if the Trigger should only be shown once per visit, once per user, everytime. Or notice the delay, several options are available ranging from none to 3 minutes (and actually you can add your own choice, I did try 😁). Also the Trigger Type is an interesting field with options Portal Home, URL, Catalog Item, Knowledge. This makes that you can add Proactive Triggers in multiple ways for your Virtual Agent web client, from quite generic to very specific, nice!

 

04.png

 

Having set your Proactive rule, we are still missing something. What will actually be shown to the end users? On the Proactive rule, have a look at the Proactive Actions Related List. Adding or editing a Proactive Action, notice the Applies to field, which basically is to select a User Criteria like you will know it from several other places within ServiceNow.

 

The actual message is defined in the Message field, where you can use the TinyMCE editor to enrich your Message a bit. Similar like for example Notifications, you can also apply Variables in the Message.

 

05.png

--- 

 

And that's it! Now up to you to activate Proactive Triggers and just play around with Proactive Rules. If any questions, let me know!

 

C

If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.

 

Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in?
- Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Kind regards,


Mark Roethof

Independent ServiceNow Consultant
4x ServiceNow Developer MVP

4x ServiceNow Community MVP

---

LinkedIn

Comments
Eric Merkle
ServiceNow Employee
ServiceNow Employee

Nice article Mark! Let me check on that comment about adding custom delay times to see if that will have any issues in Utah

Eric Merkle
ServiceNow Employee
ServiceNow Employee

Just did a double check and in the current release adding time delays to the choice list isn't supported and can cause some conflicts. I would love to hear from customers about the need to add more delay times and what would be the times you are looking for? 

Carolien
Tera Contributor

Hi Marc,

Great article!

I was wondering, how do we add messages in more than one language to a proactive trigger?

 

A bit later: never mind, I found it already in the translated text 🙂

fghgh
Tera Explorer

Hi @Mark Roethof I have configured Proactive trigger and it's working as expected but i don't want additional notification message should shown in Chat.   window, any recommendation would be helpful

 

 

lScreenshot 2024-08-12 at 8.41.58 PM.pngScreenshot 2024-08-12 at 8.41.33 PM.png

Eric Merkle
ServiceNow Employee
ServiceNow Employee

no options to configure it. it will only show when the user clicks on it. otherwise it will not display in the chat message. this give you a option for a live agent to track when they entered 

fghgh
Tera Explorer

Thanks Mark,but It will display even if you click on chat bot instead of Additional message

I have configure this for Virtual agent not for live agent, my requirement is to display additional notification next to virtual agent and it shouldn't display in chat box. Any recommendation

cassie-le
Tera Guru

Hey Mark

 

Great article! 

I've managed to get it working on our CSM portal, but I'm struggling to get it to pop up on an external website - do you know if this is possible? 

 

Thanks,

Cassie

amartin216
Tera Contributor

Hi Mark!
I have successfully implemented proactive conversations. Now I'm working on reporting on VA conversations, so I need to distinguish conversations started by proactive triggers from "normal" conversations. I have been looking for a field or flag but have not found it. Do you know of a way to do this?

Thanks,

Alejandro

Version history
Last update:
‎07-30-2024 10:06 AM
Updated by:
Contributors