Message Slack channel

Send the given message to the specified channel on execution. No input table needs to be specified, if one is given it is passed through verbatim.

API call details: https://api.slack.com/methods/chat.postMessage

Notes on username: By default the message will be sent and display with the apps name. If the chat:write:customize scope has been added then it is possible to set a username parameter. If changing the display name / username of the source of the message is desirable then check 'Set username' and provide the username to post the message as.

Rate Limiting: The underlying Java Slack API offers an async approach where it attempts to manage Rate Limits on API requests. This node node uses the aysnc version of the method and will send approximately 1 message per second.

Options

Bot OAuth token
The OAth token of the bot to post as
Channel
The channel to post to
Message
The message to post
Set username
Whether to use the custom provided username instead of bot name.
Username
A custom username to set, this will overide the default bot name. Ignored if Set username is not checked.
Lookup conversation
If checked will lookup the conversation matching the channel name and pass on the channel ID otherwise passes the channel name directly to the API call

Input Ports

Icon
Any input data table.

Output Ports

Icon
The verbatim input table or an empty table if no input provided.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.