I built out an example workflow for this, let’s dive in!
I have multiple
alarm devices that report state through a Webhook:
Now, my device’s data comes to my workflow with an
identifier value that corresponds to one of my devices.
Since my devices are named
Alarm 1 and
Alarm 2, and this
identifier value is a string of numbers and letters, I make use of tags for these devices.
Over on the device page, I create a new tag
identifier and insert the value from my physical device that corresponds to my Losant device. I do this for each
Then, over in my workflow, I include a Device: Get Node and set the query method to “Match any tags.”
I then configure the query and reference the
identifier value that exists on the payload:
And finally, you can see in the Debug Log that the node has retrieved the correct device. You can now update your device state using the available
Please let me know if I can explain any further!