API Docs for: 2.0.20133.2
Show:

ui.virtualAgent.content.AssistedSupportFlow Class

Extends FlowExtension
Module: UI VirtualAgent
Parent Module: UI

Configuration for AssistedSupport flow

Properties

acceptedProducts

Array

list of Assisted Support IDs for products that the partner experience accepts as classifier results. Note that if this value is set, the flow extension product and issue values are treated as fallbacks for invalid classifier results and not as hard overrides -- for { product: "office", issue: "tech-service", acceptedProducts: ["office", "officemac", "outlook.com", "onedrive"] }, a classifier result of "outlook.com" will use the classifier result, while a classifier result of "windows" will fall back to office/tech-services. An empty list with no product or issue will make the user pick both the product and issue from a list of all available products

agentTitle

String

change agent title e.g. for agent title "Microsoft answer tech"

issue

String

issue to overwrite AI issue

phoneNumber

String

phone number of the user that will prepopulate the field

product

String

product to overwrite AI routing

showImmediately

Boolean

prompt user to access assisted support immediately as part of the initial greeting message.

Events

onCallbackAccepted

Fired when callback is accepted

Event Payload:

  • data Object

    A data object that is passed through the event

    • datetime String

      Date and time of the requested callback

onCallbackRejected

Fired when callback is rejected

onChatAgentDataReady

Fired when a chat message is received

Event Payload:

  • data Object

    A data object that is passed through the event

    • AgentId String

      The Id of the Agent

    • DisplayName String

      The name of the Agent

    • ImageUrl String

      A relative url to an image of the Agent

onChatClosed

Fired when chat session is closed

onChatEstablished

Fires when the chat session is established

onChatMessage

Fired when a chat message is received

Event Payload:

  • data Object

    A data object that is passed through the event

    • sender Object

      Sender of the message

      • senderName String
        Sender's name

onChatQueued

Fires when chat request is queued

onChatQueueUpdated

Fires when chat queue status changes

Event Payload:

  • data Object

    A data object that is passed through the event

    • position Number

      Current queue position

onChatRejoinUrl

Fired when chat rejoin url is received

Event Payload:

  • data String

    Url to rejoin the chat

onChatTransferred

Fired when chat is transferred