The CreatorCon Call for Content is officially open! Get started here.

Get Logged in User / get metadata - Virtual Agent Embedded (Engagement Messenger)

Vinicius Luz
Tera Expert

Hi everyone, 

 

Has anyone here implemented the Engagement Messenger (the embedded Virtual Agent / Agent Chat interface) on an external website?

 

I’m trying to understand the best way to pass metadata from the external site into the chat session — for example:

 

  • Logged-in user ID
  • Email address
  • Account or context information

 

 

Basically, I’d like the chat session in ServiceNow to automatically know who the user is, without asking them to re-enter their details.

 

If you’ve done something similar, how did you approach it?

 

 

 Through the Web Client SDK configuration?

 

 

 By passing parameters to the Messenger initialization?

 

 

 Or maybe through a custom integration layer (like a Service Portal proxy)?

 

Any guidance, examples, or best practices would be greatly appreciated! 

 

 

 

1 REPLY 1

RaghavSh
Kilo Patron

There is a plugin for this named virtual agent API, pls explore that:

 

https://www.servicenow.com/docs/bundle/washingtondc-servicenow-platform/page/administer/virtual-agen... 


Please mark the answer correct/helpful accordingly.

 

 


Raghav
MVP 2023
LinkedIn