Virtual Assistants built on the Kore.ai XO Platform can be deployed on the Sunshine Conversations platform. This channel integration supports conversations with virtual assistants and provides a seamless hand-off to agents on Zendesk.
Authorizing the Kore.ai Integration to Sunshine Conversations
To enable the integration, you need to provide authorization using your Zendesk credentials. Follow the steps below to complete the OAuth-based authorization:
- Log into the Kore.ai XO Platform.
- Navigate to Deploy → Channels → Sunshine Conversations Channel.
- Click the Authorize button under Configurations on the Sunshine Conversations panel.
- On the Zendesk subdomain page, provide the subdomain and click Sign in.
- On the Zendesk sign-in page, provide your login credentials and click Sign in.
- After you have signed in successfully, a pop-up window will appear asking you to allow Kore.ai to access your Zendesk account. Click on Allow.
- Once the integrated is created successfully, you’ll be redirected to the Kore.ai XO Platform to complete the channel enablement process.
Switchboard Integration for Agent Handoff
The Kore.ai XO Platform lets you hand off the conversation to your Zendesk agents via the Zendesk Switchboard using the Agent Transfer node.Â
The Switchboard Integration API is used to route the user’s conversations from Zendesk to the XO platform. This API has a pass control system to decide whether the conversation is to be routed to a Bot or a live agent.
The Pass Control action is triggered as a part of the event where the conversation is switched to the Bot or the agent helpdesk, and also during conversation closure.Â
Developers can define custom metadata to be sent with the existing metadata from the XO Platform to Zendesk. The additional metadata can also be used to create a Zendesk ticket.
Capturing the Session Closure Metadata
The Zendesk Sunshine Configuration flow lets you enable the Session Closure Metadata field to let Kore.ai capture the metadata and share it with Zendesk as part of the pass control event triggered when the conversation is transferred to the agent’s helpdesk, or when closing a conversation session. The metadata is captured using the key-value pair you provide during the configuration.Â
However, providing the key and value inputs when you enable Session Closure Metadata is optional.Â
For example: When you provide SessionKey
as key and apikeyvalue
as value, Kore.ai generates the field variable SessionKey.apikeyvalue
to fetch the session API key and pass it to Zendesk as metadata. Please refer to Step 7 here for configuring Session Closure Metadata.
Important Information on Session Closure Metadata
- The Platform does not trigger the session closure message when the Agent transfer is initiated, and the conversation is not handed over back to the platform again.
- When the Conversation is handed over to the Platform after the agent transfer, the session closure functionality works as usual.
- For all the new bots or existing bots that do not have at least one SessionClosure metadata tag, the SessionClosure switch is turned off by default.
- For all the existing bots that have at least one SessionClosure metadata tag, the switch is turned on by default.
- Â The Platform introduces the KoreUtil.getSunshineConversationsMetadata() function to let a Bot developer fetch the stored metadata (Get API operation), and use it for the following:
- Entities where JavaScript is supported like advanced messages for a prompt, script nodes, etc.
- Simple messages like plain text prompts.
- Any additional changes or updates to the channel configurations should go through the Bot Publish cycle.
Selecting the Default and Next Integrations for Transferring Control
When you have a pre-existing switchboard integration, the XO Platform allows you to configure it as the default for the initial pass control during conversation initiation. Alternatively, you can select the Kore switchboard integration to designate the pass control.
You can review and edit these Switchboard integrations for newly created or pre-existing channel configurations in the Switchboard Configuration window. The Switchboard Configuration includes the Default Switchboard Integration for initiating conversations and the Next Switchboard Integration to transfer control after conversation session closure and the completion of agent conversations. Please refer to Step 4 here for more information.
Steps to Set up Agent Handoff
-
- Enable the Enable Agent Handoff option under Configurations in the Sunshine Conversations panel.
- From the Zendesk Admin Center, navigate to Apps & Integrations and click the Conversations API menu option to get your API Key and API Secret. Please get in touch with your Zendesk sales representative if you don’t see this menu.
- Paste these values in their respective fields on the Kore.ai platform under Sunshine Conversations > Configurations > OAuth > Enable Agent Handoff section.
- Click Configure for Switchboard Integration to set up the integrations available in your Sunshine Conversations account app.
- Select the required option for the following integrations in the Switchboard Configuration window:
- Default Switchboard Integration: Select the primary contact point for users in your Sunshine Conversations application.
- Next Switchboard Integration to Kore.ai: Select the next switchboard integration to which the control of a VA conversation is passed from Kore.ai.
- Next Switchboard Integration to Agent: Select the next switchboard integration to which control is transferred after an agent conversation with a user.
The options listed include the default mapped integrations and others available in your Sunshine Developer account.
- After selecting the above fields, click Done.
- On the Zendesk Sunshine Configurations window, follow either step below to set Session Closure Metadata:
- Disable the toggle switch if you don’t want the Platform to pass the session metadata to Zendesk.
- Enable SessionClosure Metadata, and do one of the following:
- Provide at least one Key and Value input (optional) to allow Kore.ai to capture the session metadata using the switchboard integration API and share it with Zendesk.
Adding these parameters and saving the configuration will create a Zendesk ticket with the conversation details and close it.
- Skip the Key-Value input and move to the next step.
Not adding these parameters will create a Zendesk ticket with the conversation details but not close it.
- Provide at least one Key and Value input (optional) to allow Kore.ai to capture the session metadata using the switchboard integration API and share it with Zendesk.