Loader Slack

This is a component that reads a CSV input file that has {messagechannel_id} fields, and post each of the messages to the corresponding channel via Slack API.

Prerequisite

The bot users must have the chat:write scope allowed to perform the chat.postMessage API method.

Data In/Data Out

Data In

  • The component reads the configurations for authentication token and input filename.
  • Reads the input file and verify fields.
  • For each line of data, post the message to specified channel_id

Data Out

N/A

Learn more: about folder structure in configuration here.

 

Parameters

slack.png

Bot Oauth Token (required)
the API key used to send requests to ConstactSpace API

Input File (required)
the filename of the input CSV