Passer au contenu principal

Rocketchat

Envoyer un message depuis node-red sur rocketchat

[
  {
    "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": ""
  }
]