Posts a message to Slack via the Incoming WebHooks API. Configure an Incoming WebHook in your Slack account before using this Connector.

Properties

Connection

Type: Connection Input

WebhookUrl
Type: String
Provides the URL for the Incoming WebHook as shown in the Incoming WebHooks page (under Integrations) in Slack.

Provides a context for the WebHook.

Message

Type: String Input
Provides a message to post. Some markup is supported, see Remarks for more details.

Username

Type: String Input
The Username Property
Optionally provides a username for the post. If omitted, the username will default to the one specified for the WebHook.

Channel

Type: String Input
Optionally provides the channel to post to. Prefix with a hash (#) to indicate a channel or an at (@) to indicate a user. If omitted, the default one specified for the WebHook will be used.

Remarks

Setting up WebHooks

  • Sign into your Slack account.
  • Click your company name and choose Configure Integrations.
  • Click the Add button next to Incoming WebHooks to configure a new WebHook.
  • Under Integration Settings, choose a channel under Post to Channel
  • Also under Integration Settings, optionally provide values for Descriptive Label, Customize Name (we recommend Flowgear) and Customize Icon. Feel free to use our beautiful badge
  • Copy the URL in Webhook URL and use it in the Webhook URL property in the Connection for the Node.
  • Click Save Settings.


Note

Although you can set up multiple WebHooks, it should only be necessary to create one for Flowgear as you can dynamically change the username in the post and the channel or user the post is sent to.

Additional Markup

Include hyperlinks in your message in this way:

<https://alert-system.com/alerts/1234|Click here> for details!

For more details on WebHooks, see WebHooks API.

Did this answer your question?