Watson conversation for ChatFuel

A simple flow to integrate Watson Conversation with Chatfuel and facebook.

[{"id":"7d7197c1.c00448","type":"http in","z":"ef0d6226.8b606","name":"","url":"/watson/chat","method":"get","swaggerDoc":"","x":132.5,"y":51,"wires":[["a1c0f2f8.c3a9e"]]},{"id":"a1c0f2f8.c3a9e","type":"change","z":"ef0d6226.8b606","name":"change","rules":[{"t":"set","p":"payload","pt":"msg","to":"req.query.mensagem","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":301.5,"y":52,"wires":[["123bc358.76966d"]]},{"id":"123bc358.76966d","type":"watson-conversation-v1","z":"ef0d6226.8b606","name":"","workspaceid":"6a6631a8-c931-4c4d-9cff-06e844a1b04d","multiuser":false,"context":true,"x":455.5,"y":52,"wires":[["17598d5f.a68dc3","7df4010d.28f02"]]},{"id":"17598d5f.a68dc3","type":"function","z":"ef0d6226.8b606","name":"","func":"msg.payload = [{\"text\":msg.payload.output.text[0]}];\nreturn msg;","outputs":1,"noerr":0,"x":616.5,"y":57,"wires":[["af7de341.91923"]]},{"id":"af7de341.91923","type":"http response","z":"ef0d6226.8b606","name":"","x":797.5,"y":56,"wires":[]},{"id":"7df4010d.28f02","type":"debug","z":"ef0d6226.8b606","name":"","active":true,"console":"false","complete":"false","x":433.5,"y":321,"wires":[]}]

Flow Info

Created 7 years, 8 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • change (x1)
  • debug (x1)
  • function (x1)
  • http in (x1)
  • http response (x1)
Other

Tags

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