Skip to main content

Send Slack Message

ComponentTypeDescription
imgSend Slack Message🔀 actionsend a Slack message to a channel

This component allows you to send a slack message to a particular channel in a workflow.

important

To use this component, you will need to get a Webhook URL from Slack. Instructions on how to do this can be found below.

warning

Anyone with the Webhook URL can post messages in your channel. Keep it safe. The Webhook URL will be deleted in any templates of this workflow.

How to set up the Send Slack message component​

1. Getting a Webhook URL from Slack​

Create a new Slack app by clicking here âž¡ or paste this into your browser: https://api.slack.com/apps/new

Give a name to this app and select the workspace you will be using.

img

2. Enable Incoming Webhooks​

Click "Add features and functionality" and then select "Incoming Webhooks" from the options

img

img

Turn on Incoming Webhooks by clicking the switch to the right.

img

img

3. Create an Incoming Webhooks​

At the bottom of the page, click "Add New Webhook to Workspace"

img

Select the channel where you want the messages to be posted to, and then click allow.

img

Now you will find a Webhook URL has been generated by Slack. Copy that URL and paste it into the Send Slack Message component.

img

4. Setting up the Slack message component​

Once you have set up the Webhook URL, return to Workflow86 and your workflow, and copy and paste the webhook URL into the Slack component here:

img

You can then set up the template for the message that will be sent. The template can use placeholders to push in incoming information from the rest of the workflow.

Tagging a user in a Slack message​

To tag a user inside a Slack message, you will need their member ID. You can find this by clicking on their profile in Slack, then clicking on the setting button and "Copy member ID".

img

To tag a user in a message, format this member ID like this: <@memberID>. For example:

img

The example above will produce a message in Slack like this, with the user tagged:

img