I made a Workflow that uses a webhook to obtain data from the Particle Cloud, and sets the state of a Losant Device. I first selected a specific device to set the state for, which worked great. As my project involves about 200 devices, I now want to include the Device ID in the payload, and use my Workflow to send data to the corresponding Losant Device. See image below.
Unfortunately, it hasn’t been working out so far. While my payload does include the device-id, when I specify the JSON path as data.body.device-id I do not see my data appearing anywhere. I have one Losant Device with a Device name that exactly matches the ID that I send with my payload.