Passer au contenu principal

Rocketchat

Installer la palette

  • Aller sur Manage Palette et Chercher Rocket (dans Install)

image-1596452043041.png

  • Installer node-red-contrib-rocketchatimage-1596452089936.png

Envoyer un message test

Importer cette exemple depuis node-redle surpresse rocketchatpapier

image-1596452173565.png

[
  {
    "id": "14682cca.17d29b",
    "type": "rocketchat-out",
    "z": "98deb215.5c6fc",
    "name": "",
    "server": "4e06eb9f.6fc57c",
    "destination": "users",
    "room": "topic",
    "roomType": "msg",
    "roomData": "{}",
    "messageText": "Test bot",
    "messageTextType": "str",
    "attachments": "[]",
    "attachmentsType": "json",
    "x": 600,
    "y": 720,
    "wires": []
  },
  {
    "id": "6a0d56be.92c8d8",
    "type": "debug",
    "z": "98deb215.5c6fc",
    "name": "",
    "active": true,
    "tosidebar": true,
    "console": false,
    "tostatus": false,
    "complete": "payload",
    "targetType": "msg",
    "x": 570,
    "y": 680,
    "wires": []
  },
  {
    "id": "6f19dd92.f44ce4",
    "type": "inject",
    "z": "98deb215.5c6fc",
    "name": "",
    "topic": "testbot",
    "payload": "",
    "payloadType": "date",
    "repeat": "",
    "crontab": "",
    "once": false,
    "onceDelay": 0.1,
    "x": 370,
    "y": 720,
    "wires": [
      [
        "14682cca.17d29b",
        "6a0d56be.92c8d8"
      ]
    ]
  },
  {
    "id": "4e06eb9f.6fc57c",
    "type": "rocketchat-server",
    "z": "",
    "name": "labsud.org",
    "host": "https://chat.labsud.org",
    "user": "",
    "token": ""
  }
]