TTN Trigger icon

TTN Trigger

TTS webhook (real-time events, not Storage). Pick under **TTN** → Triggers. HTTP method: POST (fixed).

TTN Trigger

AI-generated

Summary

Receive The Things Stack (TTS) webhook POST events to trigger a workflow when specified device events occur.

Inputs

  • Webhook Path (required) — The URL path suffix for the webhook endpoint, matching the configuration in TTS Integrations → Webhooks for this workflow.
  • Application (API) Name or ID — Optionally select the TTS application to restrict triggering only to events from this application; also affects device list loading.
  • Allowed Device Names or IDs — Optionally specify a list of device IDs to filter incoming events; only events from devices in this list will trigger the workflow (otherwise all devices trigger).
  • Event Type (required) — Select the type of TTS event that triggers the workflow, such as Uplink Message, Join Accept, Downlink Ack, or select All for raw JSON.
  • Output Format (required) — Choose how to format the node output based on the event type, e.g. for uplink events: sensor data, sensor values only, or full event; for other events: event summary or full event.
  • When JSON Does Not Match Event Type (required) — Configure behavior when received webhook JSON does not match the selected Event Type: skip workflow execution or run with full webhook JSON.

Output shape

A single webhook trigger event containing JSON data shaped according to the configured Event Type and Output Format.

Workflow runs only for configured devices (if filtered) whose webhook event type matches the selected Event Type or outputs full event JSON if 'All' is selected or mismatch behavior is set to run full event. The webhook HTTP method is POST, and the response is HTTP 200 with empty body to acknowledge receipt.

Examples

Example 1: Trigger workflow on uplink messages from any device in a specific application, outputting sensor data

Set Webhook Path to match TTS webhook setup, select Application ID, leave Allowed Devices empty, select Event Type 'Uplink Message', and Output Format 'Sensor Data'.

Example 2: Trigger workflow only on downlink acknowledgements for selected devices

Select Application ID, select specific device IDs, set Event Type to 'Downlink Ack', Output Format to 'Event Summary', and default mismatch behavior 'Do Not Start Workflow'.

Links

Discussion