Sora’s Slack integration allows you to automate a variety of actions in your company’s Slack instance as tasks within workflows. This article provides step-by-step instructions for setting up the integration as well as creating the 4 different types of Slack integration tasks:
- Invite employee to channel
- Remove employee from channel
- Send direct message
- Send channel message
- Create channel
If you’re more of an auditory or visual learner, check out the following video which walks through the process of setting up the integration and using it to send a new-hire announcement to a company-wide Slack channel.
Setting up the integration
If you have multiple instances of Slack that you would like to integrate with Sora then you will need to follow the instructions in this article instead.
- Within Sora, navigate to Settings > Integrations > Slack.
- Click on the Log in to set up integration button.
- In the resulting pop-up, click on the Allow button.
- You should see the following confirmation message and the toggle at the bottom should now be set to Active.
Invite employee to channel
The following steps can only be completed if you or someone at your company has already set up the Slack integration within Sora.
- Add a new Integration task to your workflow.
- Click the Expand button to pull up all the task configuration settings.
- From the Action dropdown, select the Slack - invite employee to channel option.
- Expand the Slack - invite employee to channel options section and in the Employee dropdown, designate who you want to be added to the channel. Click the plus icon if you want to add multiple people.
- Select the appropriate channel from the Channel name dropdown.
Alternatively, you can check the box below the dropdown to create a new channel.
- Set the task Trigger and Filters settings which operate just like they do for any other workflow task.
- Click the Create (Publish) button to finish adding the task to your workflow. Alternatively, you can click on the Save as draft button.
In order for this integration task to run successfully, the Sora app must have already been added to the corresponding Slack channel.
Remove employee from a Slack channel
Similarly, you can use a Sora integration task action to remove an employee from a Slack channel.
Simply create the integration task, like above, but this time choose the Remove employee(s) from Slack channel action.
Then select the employee you want to remove. Typically this will be the employee going through the workflow.
And then select the channel you'd like to remove them from.
You can also test this integration task action before publishing it. You can do this by selecting an employee and either clicking the Preview parameters button to see what will be sent to Slack, or clicking the Test full integration button to actually remove the employee from the channel.
Send direct message
The following steps can only be completed if you or someone at your company has already set up the Slack integration within Sora.
- Add a new Integration task to your workflow.
- Click the Expand button to pull up all the task configuration settings.
- From the Action dropdown, select the Slack - send direct message option.
- Expand the Slack - send direct message options section and from the To dropdown, designate the person that should receive the message. Click the plus icon if you want to send the message to multiple people.
- Enter the message body. You can use variables to personalize the message.
- Specify the bot name which will determine the display name of the bot that will send the message.
- Specify the bot icon which can be any one of your Slack emojis. Simply type out the emoji’s name surrounded by colons, as shown below.
- Set the task Trigger and Filters settings which operate just like they do for any other workflow task.
- Click the Create (Publish) button to finish adding the task to your workflow. Alternatively, you can click on the Save as draft button.
Send channel message
The following steps can only be completed if you or someone at your company has already set up the Slack integration within Sora.
- Add a new Integration task to your workflow.
- Click the Expand button to pull up all the task configuration settings.
- From the Action dropdown, select the Slack - send channel message option.
- Expand the Slack - send channel message options section and from the Channel name dropdown, select the channel where the message should be posted.
- Enter the message body. You can use variables to personalize the message.
- Specify the bot name which will determine the display name of the bot that will send the message.
- Specify the bot icon which can be any one of your Slack emojis. Simply type out the emoji’s name surrounded by colons, as shown below.
- Set the task Trigger and Filters settings which operate just like they do for any other workflow task.
- Click the Create (Publish) button to finish adding the task to your workflow. Alternatively, you can click on the Save as draft button.
In order for this integration task to run successfully, the Sora app must have already been added to the corresponding Slack channel.
Create channel
The following steps can only be completed if you or someone at your company has already set up the Slack integration within Sora.
- Add a new Integration task to your workflow.
- Click the Expand button to pull up all the task configuration settings.
- From the Action dropdown, select the Slack - create channel option.
- Expand the Slack - create channel options section and specify a name for the channel that you want to create using the Channel name field.
- Set the task Trigger and Filters settings which operate just like they do for any other workflow task.
- Click the Create (Publish) button to finish adding the task to your workflow. Alternatively, you can click on the Save as draft button.
Add the Sora app to a Slack channel
In order for Sora to send messages or invite employees to a Slack channel, the Sora Slack app must first be set up and then added to the specific channel. Follow these steps to add the Sora Slack app into any Slack channel:
- Within Slack, click on the channel name in the sidebar and then click on the channel name at the top to open up the channel details.
- In the resulting pop-up, open the Integrations tab and then click on the Add an App button.
- Click on the Add button next to the Sora app.
- You should see a message posted to the channel confirming that the app was added.