The Things Network IFTTT Example

This is the flow you'll build in the Quick Start for The Things Network Node-RED Node.

Example

[{
	"id": "f2d6214.9aaa5e",
	"type": "ttn",
	"z": "7ea4c213.c54f5c",
	"app": "d89e59c8.649c88",
	"name": "",
	"x": 139.5,
	"y": 53,
	"wires": [
		["e0c21758.740398", "d7c924de.b02c"],
		["e0c21758.740398"]
	]
}, {
	"id": "e0c21758.740398",
	"type": "debug",
	"z": "7ea4c213.c54f5c",
	"name": "",
	"active": true,
	"console": "false",
	"complete": "payload",
	"x": 348.5,
	"y": 48,
	"wires": []
}, {
	"id": "d7c924de.b02c",
	"type": "function",
	"z": "7ea4c213.c54f5c",
	"name": "create request",
	"func": "return {\n    payload: {\n        value1: msg.payload.raw\n    }\n};",
	"outputs": 1,
	"noerr": 0,
	"x": 208.5,
	"y": 141,
	"wires": [
		["7a3ab7f4.d769b"]
	]
}, {
	"id": "7a3ab7f4.d769b",
	"type": "http request",
	"z": "7ea4c213.c54f5c",
	"name": "",
	"method": "POST",
	"ret": "txt",
	"url": "https://maker.ifttt.com/trigger/message/with/key/your-key",
	"tls": "",
	"x": 338.5,
	"y": 230,
	"wires": [
		["11ab257b.51ee03"]
	]
}, {
	"id": "11ab257b.51ee03",
	"type": "debug",
	"z": "7ea4c213.c54f5c",
	"name": "",
	"active": true,
	"console": "false",
	"complete": "payload",
	"x": 464.5,
	"y": 309,
	"wires": []
}, {
	"id": "d89e59c8.649c88",
	"type": "ttn app",
	"z": "7ea4c213.c54f5c",
	"appId": "",
	"accessKey": "",
	"region": "eu"
}]
FokkeZB

Flow Info

created 10 months, 2 weeks ago
updated 9 months, 3 weeks ago

Node Types

Core
  • debug (x2)
  • function (x1)
  • http request (x1)
Other

Tags

  • ttn
  • the-things-network
  • lora
  • iot
  • ifttt
  • example
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option