Skip to main content
Skip table of contents

Embed a Web Application

As part of conversation control, a Conversation Designer may push a web application to agents handling a conversation. As a Conversation Designer, you can do this anytime during a conversation. For example, at the start of a call or a chat message, on customer intent, etc.

One or more embedded browser tabs may be opened.

A Conversation Designer may form a dynamic URL and may utilize the Channel and Conversation Data. For instance, the designer may use:

  • Customer Channel Identifier

  • Channel Service Identifier

  • Queue where the call has landed

  • … any other Channel or Conversation Data

Based on the defined conversation control script (such as upon conversation started/ended, customer intent), an event is fired, named, EXTERNAL_GADGET_REQUESTED.

See the details in the following sample.

Name

EXTERNAL_GADGET_REQUESTED

type

NOTIFICATION

Body

CODE
{
action: "open || close",
gadgets: [{
  id: 1,
  agentId: 123,
  title: abc,
  value: https://abc.com?serviceIdentifer=123&channelIdentifier=222
},{
  id: 2,
  agentId: 346,
  title: xyz,
  value: https://xyz.com?serviceIdentifer=321&channelIdentifier=284
}]
}

In the sample above, you can open multiple URLs within Agent Desk in the form of tabs.

Agent Desk opens the suggested URL in an iframe as a new tab. For further details, see Embedding a web application in Agent Desk

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.