This article is going to help you send notifications from Sisu to a Slack channel of your choice. Slack notifications are sent at the top of each hour and may take up to 15 minutes to be processed and scheduled.
To make this setup easier, we've split this process into parts. Complete each section in this article one at a time in order to send Sisu notifications to Slack.
Before you begin...
Create the Slack channels that you want Sisu notifications sent to.
Part 1: Create a New Slack App and Set Up the Slack Channel Webhook
Click here to go to the Create an App window of api.slack.com.
Click From scratch.
Enter an App Name.
Note: The name you choose shows up in Slack as follows:
Select the workspace you want to use.
Note: If you don't see anything in the workspace drop-down, click Sign into a different workspace and sign into the workspace you want to use.
Click Create App.
Scroll to the bottom of the Basic Information page. There you can add the Sisu Slack App icon.
After adding an app icon, click the Save Changes button at the bottom of the screen.
Select Incoming Webhooks from the sidebar.
Toggle Activate Incoming Webhooks to On.
Scroll down and click Add New Webhook to Workspace.
Use the drop-down to choose the channel that the app will post to, and then click Allow.
Click Copy in-line with your new webhook URL.
Note: In Part 2, you'll need to paste this URL in Sisu. Leave this page open just in case you need to copy the URL again.
Part 2: Add Your Slack URL to Sisu
Once your new app and webhook are set up in Slack, you’ll need to add your new webhook URL to Sisu.
Go to Admin > Team Settings.
In the menu on the left, click Slack Channels.
In the Add Slack Channel box, enter a Name.
Note: This name will help you remember the kind of notifications the Slack channel will be used for. For example, if you're creating a channel for "under contract" notifications, you could call the channel "Under Contract."
Paste the copied webhook URL into the Web Hook URL field.
Note: This is the URL you copied in Part 1.
Click Add. The new webhook then shows up in the Slack Channels box with a status of Unverified.
Click the Verify button.
Go to your Slack channel that you selected to receive Sisu notifications and copy the PIN that has already been sent there.
Back in Sisu, enter your Verification PIN and click Verify. Your Slack Channel now displays as Active.
Part 3: Set Up Your Sisu Notification Template
In Sisu, let's create a notification template for your Slack channel. This template should include all the text that you want to include in the notification.
Go to Admin > Tasks.
In the menu on the left, click Notification Templates.
Click Add New. This makes the Add Notification Template screen appear.
Enter a name for your new template.
In the Template Content textbox, enter the notification text and any merge fields if you want data in the Slack notification.
Note: Don't use HTML in this field. Use the Enter or Return key on your keyboard to bump text to a new line.
Note: If you want any data in your message, like agent name, client name, or a certain date, use merge fields! For more information about merge fields, click the tooltip next to the header.
Part 4: Set Up Your Notification Task
Now it's time to create a notification task. You can assign your notification template to this task, specify a Slack channel as a recipient of this notification, and specify when you want the notification to be triggered.
Go to Admin > Tasks.
In the menu on the left, click Tasks.
Select a Task Type of Notification.
From the Notification Template drop-down, select the notification template you just created.
If you want an email sent as well as a Slack notification, fill out the Subject Line field. Use the Add Subject Field to add merge fields to your subject line.
Click the Recipients drop-down, and select 1 or more Slack channels you want to send notifications to. Any individuals selected from the recipient list will also receive the notification via email.
Give a Task Name and Description to the task.
Use the Date Type and Due fields to choose when the notification is sent.
Click the Applies To drop-down and select an option.
Use the Add to Task List field to add your task to a list.
*IMPORTANT*: You MUST add the task to a list!
Click Add to save the task. Now anytime the task is triggered, your notification will be sent to your Slack channel!