Skip to main content

Avaya Live Chat

Yellow.ai’s integration with Avaya lets you connect with the live chat agents of Avaya to resolve your queries.

1. Connect Avaya with Yellow.ai

To connect your yellow.ai account with Avaya, follow these steps.

1.1 Enable the integration in Yellow.ai's Integration module

  1. Login to cloud.yellow.ai and click the Integrations module on the top left corner of your screen.
drawing
  1. Search for Avaya Live Chat or choose the category named Live chat from the left navigation bar and then click on Avaya Live Chat.
drawing
  1. Fill in the required fields.
  • Avaya Username Name (To be provided by the client/avaya spoc of the client)
  • Avaya Password (To be provided by the client/avaya spoc of the client)
  • Api Domain (To be provided by the client/avaya spoc of the client).
  1. Once you're done, click Connect.
  2. If you have multiple accounts, follow the above mentioned steps to add each of them.
note
  1. Enter a unique name for each account to easily identify them within the yellow.ai platform. It is recommended to use a name that aligns with its purpose for better usability.
  2. You can add a maximum of 5 merchant accounts.
  3. In a two-tier environment, such as bots with only Development/Live environments, you can add account names only in the development mode. Once added and flows have been built, in the Live mode, you can only choose the account names and not edit them.
  4. In a three-tier environment, such as bots with Staging/Sandbox/Production modes, in Staging and Sandbox modes, you can add and edit new accounts. However, in Production, only the account details added in Staging will be available. You can only map in the production environment.

1.2 Configure webhook URL in Avaya Dashboard

To receive events, you need to configure the webhook URL in the Avaya Dashboard.

Copy the webhook url and the api key mentioned in the Instructions section of the Avaya Integration Card. Append the region of your bot to the domain of the webhook url. r1/r2/r3/r4/r5 are the regions of your bot, you can refer the following list for the same.

  • r1 = MEA
  • r2 = Jakarta
  • r4= USA
  • r5 = Europe
  • r3 = Singapore

For example, if the domain is https://cloud.yellow.ai, you need to change it to https://r1.cloud.yellow.ai if the region of the bot is r1. If the bot belongs to India, you can use origin domain itself.

2. Use-case

This integration lets you connect with live agents on the Avaya platform from your yellow.ai account.

note

When multiple accounts are added, select the appropriate account for each node, allowing you to leverage the unique functionalities of each account for their intended purposes.

2.1 Chat with Avaya Live Agent

info

Use Ticket-closed in the Raise Ticket node to perform specific actions when a live chat closes, instead of using the ticket-close event.

  1. In the Automation flow builder, select the Raise Ticket node.
drawing
  1. Select Avaya Live Chat from the Live chat agent drop-down list.
drawing

The following table contains the details of each field of the Raise ticket node.

Field nameSample valueData typeDescription
Message after ticket assignmentRequesting live agent connection.StringThe message that will be displayed to the end user after a ticket is successfully assigned to an agent
NameRajeshStringName of the end user
Mobile9876543210StringMobile number of the end user
Email[email protected]StringEmail address of the end user
QueryI have a concern regarding my flight ticketStringThe subject/topic/reason why the ticket was created
PriorityMEDIUMStringThe priority of the ticket

You can enable Advanced Options to access the advanced features of this node.

drawing

Sample success response

{
"assignedTo": true,
"success": true,
"status": "ASSIGNED",
"ticketInfo": "{{apiresponse}}"
}
note

apiresponse represents the raw response from the Avaya create ticket API

Sample failure response

{
"success": false,
"assignedTo": false,
"agentNotAvailable": true,
"message": "TicketId is not created and transferring the control back to the bot",
"ticketInfo": "{{apiresponse}}"
}
note

apiresponse represents the raw response from the Avaya create ticket API