Introduction
Channels
Templates
Contacts
Messages
API

slack Slack

Slack is the leading internal messaging app for teams. Notifuse helps you send automatic notifications to your Slack #channels with just a line of code.

Signup at: https://slack.com/

Features

Slack specific features
Custom username and icon Your messages can be sent with a custom username and icon.
Switch #channel on the fly You can post messages to every #channels of your Slack team without creating another "Incoming webhook".
Attachments Attach formatted content to your messages.

Connect Slack

You need to create a new "Incoming webhook" URL to connect Slack with Notifuse.

To create a new "Incoming webhook", go to the "Apps & Integrations" directory, and search for "Incoming WebHooks". Click the "Configure" button, and "Add Configuration". Choose the default Slack #channel you want to receive the messages in, and save.

Available settings

The Slack settings are defined at the template level from the Notifuse interface when you create/update a template.

If you don't plan to create your templates via API, or overwrite some settings at the last minute when you send a message (via API), you can skip the following table.

However it can be useful to overwrite some settings when you send a message from the API, like the attachments parameter to attach a formatted content.

The settings you can overwrite when you send a message via API are marked in the Available in column.
Parameter Expected value Available in Description
slackChannel
required
string template, message The Slack channel, starting with #.
text
required
string template Text content of your message. Templating markup allowed.
textMacro
optional
string template Id of the page of macros used in the text content of your message.
username
optional
string template, message Your message username.
testData
optional
object template JSON object of fake data used to test your templates.
iconUrl
optional
string: URL template, message URL of your message icon. You cannot use iconUrl and iconEmoji at the same time.
iconEmoji
optional
string template, message Emoji code (i.e: :+1:) of your message icon. You cannot use iconUrl and iconEmoji at the same time.
attachments
optional
array of objects message Attach formatted content to your message (https://api.slack.com/docs/attachments).

Next: How to use the templates ยป