test

para testear conversations

[{"id":"d67d75bf.eba3e8","type":"telegram command","z":"ed62cb3e.de1fe8","name":"","command":"/echo","bot":"e7d1b569.6910a8","x":86.5,"y":89,"wires":[["f6691f1d.fa7ac"],[]]},{"id":"f6691f1d.fa7ac","type":"telegram sender","z":"ed62cb3e.de1fe8","name":"","bot":"e7d1b569.6910a8","x":316.5,"y":90,"wires":[[]]},{"id":"7947b15c.699d7","type":"telegram sender","z":"ed62cb3e.de1fe8","name":"","bot":"e7d1b569.6910a8","x":647,"y":233,"wires":[[]]},{"id":"541477a1.269d18","type":"function","z":"ed62cb3e.de1fe8","name":"Prepare for conversation","func":"msg.chatId = msg.payload.chatId;\nmsg.payload = msg.payload.content;\nreturn msg;","outputs":1,"noerr":0,"x":230,"y":320,"wires":[["c4d70663.98ed28"]]},{"id":"392278bd.75e978","type":"function","z":"ed62cb3e.de1fe8","name":"Prepare for Telegram","func":"msg.payload = {\n  chatId : msg.chatId,\n  type : \"message\",\n  content : msg.payload.output.text[0]};\nreturn msg;","outputs":1,"noerr":0,"x":536.5,"y":297,"wires":[["7947b15c.699d7"]]},{"id":"c4d70663.98ed28","type":"watson-conversation-v1","z":"ed62cb3e.de1fe8","name":"","workspaceid":"ba8b7b1b-08c3-40b0-bab6-871d02bf08c1","multiuser":false,"context":true,"empty-payload":false,"default-endpoint":true,"service-endpoint":"https://gateway.watsonplatform.net/conversation/api","x":352,"y":241,"wires":[["392278bd.75e978"]]},{"id":"9b78efed.8d11b","type":"telegram receiver","z":"ed62cb3e.de1fe8","name":"","bot":"e7d1b569.6910a8","saveDataDir":"","x":110,"y":220,"wires":[["541477a1.269d18"],[]]},{"id":"e7d1b569.6910a8","type":"telegram bot","z":"","botname":"CAIB_bot","usernames":"","chatids":""}]
jgonzal1

Flow Info

created 3 weeks, 5 days ago

Node Types

Core
  • function (x2)
Other
  • telegram bot (x1)
  • telegram command (x1)
  • telegram receiver (x1)
  • telegram sender (x2)
  • watson-conversation-v1 (x1)

Tags

  • caib
  • test
  • conversations
  • carlos
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option