A simple node that allows to listen and speak in Slack.
Listens in slack channels the associated Slack Bot has joined. A list of channels can be specified to limit the channels which are listened to.
- Slack Channels: you can control which slack channels are listened to by specifying them in the node's configuration properties. Seperate multiple channels by commas without spaces. (i.e:
general,channel1,channel2
). Note: This node can only listen to channels in which the associated Slack Bot has been invited.
Speaks in slack a single slack channel which the associated Slack Bot has joined.
- Slack Channel: control the slack channel by passing the slack channel id as the
msg.channel.id
property. The Slackor Auditor node passes the id of channel in which it hears a message as the same property. Therefore, by default, the Slackor Speaker node speaks in the same channel the Slackor Auditor node hears. - Message content: pass a message via
msg.payload
- @slack/client
- pubsub-js