Skype

From Evo Voice
Jump to: navigation, search

Introduction

Similar to SMS, Facebook, and Slack, Evo Voice supports Skype endpoints for handling Skype messages via a Flow.

It is important to note that Evo Voice does not take over an existing Skype account. Instead, it controls a new Skype Bot. This Skype Bot can be managed by operators, AI, etc (depends on Flow), but either way, it is a completely new Skype account and not an existing one.

NOTE Setting up Evo Voice to work with Skype involves creating a Skype Bot hosted in Azure. This will require that you create an Azure account.

The pricing for a Skype bot is extremely affordable and on 9/1/2019 the pricing was:

ClipCapIt-190909-133240.PNG

This is subject to change, but there should really be no cost associated with Skype and Evo Voice for most scenarios.

Creating a Skype Bot

The following steps will walk you through creating a new Skype Bot and setting it up to work with Evo Voice

Sign in to Azure

The first thing you will need to do is sign in to Microsoft Azure. If you do not already have an Azure account, you can sign up here:

https://azure.microsoft.com/en-us/free/

Once you have finished signing up, you should be able to access the Azure portal at

https://portal.azure.com

You should be presented with the Azure Dashboard such as:

ClipCapIt-190909-133540.PNG

Create a Bot Channel

Click on the Create a Resource button at the top left

Search for "Bot Channels Registration" and select it from the List

ClipCapIt-190909-133714.PNG

click the Create button

ClipCapIt-190909-133737.PNG

You will be taken to a screen where you can configure the new Bot Channel. Don't do anything yet, but keep this tab open.

ClipCapIt-190909-134140.PNG

Create Skype Endpoint

Open another tab and go into Evo Voice. Click on the Endpoints Section and then click on New Endpoint > Skype

You can associate it with a Customer and give it a Name, note that the Name is for descriptive purposes only, e.g.

ClipCapIt-190909-133958.PNG

This will create a new Skype Endpoint and take you to the Details screen:

ClipCapIt-190909-134039.PNG

Copy the value in Skype Messaging Endpoint and switch back to the Azure browser tab

Configure Bot Channel

If you haven't done so already, give your Bot Channel a name, this name is how the Bot will be identified in Skype, so choose something specific to your brand

Location is not super important, but you can choose Central US (or wherever is closest to you). Since Skype is a message based channel, the tiny bit of added latency doesn't really make a difference

You will need to associate this Bot with a Resource Group. You can use the Create New link to create one, or if you already had an Azure account, you can associate it with that Resource Group.

You can turn Application Insights off (or leave it on if you want to use that, it doesn't make any difference to Evo Voice)

Finally, paste the Skype Messaging Endpoint that you copied on the Evo Voice tab into the Messaging Endpoint field:

ClipCapIt-190909-134456.PNG

Click Create. Azure will proceed to create the Bot Channel, this may take a few moments and you can monitor the progress via the indicator at the top right:

ClipCapIt-190909-134541.PNG

Once it is done, proceed to the next section

Finish Configuring Evo Voice

In the Azure portal, click on All Resources at the left and then select the new Bot Channels Registration that was created:

ClipCapIt-190909-134646.PNG

Click on the Settings section and click the Manage link under Microsoft App ID:

ClipCapIt-190909-134759.PNG

Click the + New Client Secret button

Give the Client Secret any name and choose to never expire and then click the Add button

ClipCapIt-190909-134900.PNG

This will create a Client Secret, now click the Copy button next to the new secret:

ClipCapIt-190909-135001.PNG

Switch back to Evo Voice and paste the Client Secret into the Skype App Secret field

ClipCapIt-190909-135137.PNG

Switch back to the Azure browser tab and go back to the Settings section by clicking the following link:

ClipCapIt-190909-135210.PNG

Copy the Microsoft App ID from the following field:

ClipCapIt-190909-135233.PNG

Switch back to Evo Voice and paste that value into the Skype App ID field:

ClipCapIt-190909-135306.PNG

Save your Endpoint

Finish Configuring Skype Bot

Click on the Channels section on Azure and then click the Skype icon button

ClipCapIt-190909-135650.PNG

Click on the Publish section and enter a description for the bot, e.g.

ClipCapIt-190909-135813.PNG

Click Save and accept the terms of service

Please note that for the Bot to be live for everyone to see, you must Publish the Bot following the Steps on the Skype page.

Testing Skype Integration

In Azure, on the Channels page, clicking on the Skype channel link will give you a link to add the Bot to skype:

ClipCapIt-190909-140647.PNG
ClipCapIt-190909-140658.PNG

Click the Add to Contacts button and make sure to allow the browser to open that link in Skype (must have Skype installed)

Please note that if you haven't Published the Skype Bot, you can test with up to 100 Skype users and you can share the link with them to add the bot to their Skype, e.g.

ClipCapIt-190909-140910.PNG

Assuming you had Skype installed and accepted the link, you should now see the following in Skype

ClipCapIt-190909-140937.PNG

Go ahead and click the X button at the top left.

Your Skype bot should show up in your list of Chats now:

ClipCapIt-190909-141028.PNG

Go ahead and create a Flow and associate it with your Skype endpoint, e.g.

ClipCapIt-190911-085132.PNG

And we can talk to the bot, e.g.:

ClipCapIt-190909-141058.PNG

Conclusion

In this article, we have created an Azure Bot and configured it for Skype. We then configured a Skype endpoint inside Evo Voice and configured it accordingly.

The example flow that we used was extremely simple, but like all Chat Endpoints, you can do much more with inside a Flow