Loader Slack
This is a component that reads a CSV input file that has {message
, channel_id
} fields, and post each of the messages to the corresponding channel via Slack API.
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 specifiedchannel_id
Data Out
N/A
Learn more: about folder structure in configuration here.
Parameters
Bot Oauth Token (required)
the API key used to send requests to ConstactSpace API
Input File (required)
the filename of the input CSV
Bot Scope
The bot users must have the
chat:write
scope allowed to perform thechat.postMessage
API method.