Integrations allow you to process and act on data by triggering events. Events can be pretty much anything, and can easily be set up using Webhooks or MQTT.
Integrations are managed within applications. Applications can be added to The Things Stack by following instructions for Adding Applications in the Console or Adding Applications Using the Command-line interface.
Application packages specify state machines running both on the end-device and the Application Server as well as signaling messages exchanged between the end-device’s application layer and the Application Server.
The streaming data integrations provide multiple formats for the delivery of application uplink messages and downlink queue operations. This section will delve into the common formats used by them.
The webhooks feature allows the Application Server to send application related messages to specific HTTP(S) endpoints.
The Application Server exposes a MQTT server to work with streaming events. In order to use the MQTT server you need to create a new API key to authenticate.
The MQTT server that is exposed by The Things Stack can be connected to Node-RED. This integration allows setting up a Node-RED flow that listens to events and uplink messages, and it is also possible to schedule downlink messages.