Slack

From Evo Voice
Jump to: navigation, search

Introduction

Slack is a workspace communication tool that is widely used by teams for internal communication.

Like Skype and Facebook, Evo Voice can be installed as a Skype app that allows for managing incoming messages to a Skype Channel.

Step by Step

Login to Slack

Login to Slack as an Administrator and then go to the following link:

https://api.slack.com/apps

ClipCapIt-190909-131055.PNG

Click the Create an App button

Give the App whatever name you want, e.g. "Voice" and choose the Workspace that you want it associated with, for example:

ClipCapIt-190909-131134.PNG

Click Create App

Create Slack Endpoint

In a new tab, in Evo Voice, go into the Endpoints section and click New Endpoint > Slack

(Optional) Choose a Customer to associate this Slack Endpoint with and give it a Name. NOTE The name is for descriptive purposes only, e.g. "ABC Company's Slack":

ClipCapIt-190909-131302.PNG

You should now see the Endpoint details screen, e.g.:

ClipCapIt-190909-131336.PNG

Configure Incoming Webhook

Go back to your Slack tab and click on the Incoming Webhooks section for your App and turn them On

ClipCapIt-190909-131449.PNG

At the bottom click the Add New Webhook to Workspace button and in the page that appears, choose which Slack Channel you want this Endpoint to talk to, e.g.

ClipCapIt-190909-131605.PNG

And click the Allow button

Now, Copy the Webhook URL from the Slack page

ClipCapIt-190909-131642.PNG

And paste that into Evo Voice on the Slack Endpoint page:

ClipCapIt-190909-131711.PNG

Configure Outgoing Webhook

Back in Slack, click on the Event Subscriptions section for your App and enable Events, e.g.:

ClipCapIt-190909-131923.PNG

Now, back in Evo Voice, copy the value of the Outgoing Webhook and paste that into the Request URL field in Slack

ClipCapIt-190909-132019.PNG
ClipCapIt-190909-132041.PNG

As soon as you paste the URL in, Slack should think for a second and then say Verified

Configure Outgoing Events

Finally, while still on the Event Subscriptions section, you need to use the Add Workspace Event button to add the message.channels event:

ClipCapIt-190909-132258.PNG

Click the Save Changes button at the bottom of the screen

Reinstall App

Slack has probably notified you via a message at the top of the screen:

ClipCapIt-190909-132524.PNG

Click the reinstall your app link and then click the Reinstall App button, e.g.

ClipCapIt-190909-132554.PNG

And then choose your channel again etc.

Test it Out

OK now that our Slack Endpoint is ready, let's test it out with the simplest possible Flow (although like all Chat based endpoints, you can do much more)

Create a new Flow, e.g.

ClipCapIt-190909-132740.PNG

And in Slack, go ahead and enter the Channel you selected before and say something, e.g.

ClipCapIt-190909-132834.PNG

Conclusion

In this article, we have shown how to create a Slack app that can handle messages for your Slack channel. Like all Chat Endpoints this supports User to User chat, Say Node etc.