Skip to main content

UDP Message Trigger

The UDP Message Trigger will trigger a workflow whenever the Edge Compute device receives a UDP datagram on the configured port.

UDP Message Trigger

Node Properties

UDP Port

The UDP Message Trigger has one piece of configuration, the port to listen on. When a workflow with this trigger is deployed to an Edge Compute device, the Gateway Edge Agent will open a UDP server on this port. When that UDP server receives a datagram, the workflow will trigger.

Payload

The payload will include the triggering datagram under data object, which will include the following fields:

  • message: The contents of the incoming datagram.
  • sourceAddress: The source address of the incoming datagram.
  • sourcePort: The source port of the incoming datagram.

Given a UDP datagram received on port 45678 with the contents Hello, World!, a UDP Message Trigger workflow payload will look like the following:

  • {} 17 keys
    • {} 1 key
      • "1.31.0"
      • "555555555555eeeeeeeeeeee"
      • "My Great Application"
      • {} 3 keys
        • "Hello, World!"
        • "192.168.1.204"
        • "12345"
      • {} 8 keys
        • "222222222222bbbbbbbbbbbb"
        • "My Great Device"
        • {} 2 keys
          • "333333333333cccccccccccc"
          • "My Great Workflow"
          • "myFlowVersion"
          • {} 3 keys
            • true
            • Tue Aug 19 2025 15:16:18 GMT+0000 (Coordinated Universal Time) (Date object)
            • "45678"
            • "udp"

          Was this page helpful?


          Still looking for help? You can also search the Losant Forums or submit your question there.