Send Message To Slack Channel

Add to your app

This scenario will show how to send a message to a Slack channel

Send Message To a Slack Channel Action

We created send-message-to-slack-channel action of type create-data-record that would send a message to a specific Slack channel, when called. There are a few action parameters you should configure to make the action fully operational:

  • channel_id: the ID of a slack channel you want a message to be sent to [required]
  • token_type: whether you want a message to be sent on behalf of an authorized user or a slack app. Note that the token_type defaults to bot value, should you choose to leave it empty
  • message_blocks: a list of blocks your message should consist of. More about the structure of building block you can read here