node-red-contrib-mm-ws 2.1.5

adds Node to listen to all events on a mattermost websocket for a user by Personal Access Token adds Node to send messages with attachments support

npm install node-red-contrib-mm-ws

adds Node to listen to all events on a mattermost websocket for a user by Personal Access Token adds Node to send messages with attachments support

this module uses @mattermost/client to work with mattermost web sockets and HTTP API correspondingly

#mm-ws-listen simply listens to all websocket events mattermost will send to authorized user. received messaged contain event type and data field with details

  • for posted event type we copy all fields from data.post to the main payload for convenience

#mm-ws-send simply calls mattermost createPost API endpoint (see https://api.mattermost.com/#operation/CreatePost for details) supported parameters are

#attachments integration see examples flow for details

Node Info

Version: 2.1.5
Updated 6 months, 3 weeks ago
License: ISC
Rating: 5.0 3

Categories

Actions

Rate:

Downloads

7 in the last week

Nodes

  • mm-ws-config
  • mm-ws-send
  • mm-ws-listen

Keywords

  • node-red
  • mattermost
  • websocket

Maintainers