Send Notifications to Slack with Workflows
Discover how to send updates on requests from MS Teams to Slack using ClearFeed workflows
With ClearFeed's webhook workflows, you can send notifications about the requests you get on MS Teams to external applications. E.g. you can configure a setup where for every new request or update on MS Teams, you get a Slack notification.
Pre-requisites:
You would need to have a Slack workspace on a plan that supports creating Slack workflows
You should've set up a Collection and monitor at least one channel. Learn how to do that here.
Steps to follow:
Go to the ClearFeed web application and navigate to the Collection
Under Collections, go to the Workflows tab. Click on New Workflow.
Under conditions, set Priority = All, Request Types = All.
Set the timer to a custom value of 0 minutes.
You will be redirected to the Define an action page where you will have an example webhook payload. Stay on the same page for now as you will need to configure your Slack workflow to get the URL needed to be entered here.
Navigate to your Slack workspace and click on the
More
section (on the left nav-bar)Click on
Automations
->Create a workflow
Select From a webhook option.
In the pop-up box, define the different variables from the response you want to use. These are to be configured from the webhook payload. You can use the example given below:
Once the variables are defined - click on Save. You will be shown the workflow page where you can select the next action item.
From the right nav bar, choose Messages->Send a message to a channel->Select the channel where you want the notification to be sent.
Under the message section, configure a message body using the variables defined. E.g.
Click Save and open up the first stage of the workflow (Starts with a webhook). You will find a web request URL at the bottom. Copy the URL.
Head back to the ClearFeed web app window and under the URL box, enter the URL you copied in the last step.
Save the ClearFeed workflow.
Publish the Slack workflow as well.
Once this is done - any new requests or updates from MS Teams will trigger a notification on the Slack channel of your choice.
Last updated