[ { "id": "nRF Cloud", "result": { "structured": "TRIGGER: When a webhook with ID '-R-x5a7qAwUStOiUKWQOfe0Sf' is received via POST or PUT. CONDITIONS: None. ACTIONS: Set rv temperature 2 [input_number.rv_temperature_2] to the data value from the first message in the webhook payload where the appId is 'TEMP'. Set rv humidity 2 [input_number.rv_humidity_2] to the data value from the first message in the webhook payload where the appId is 'HUMID'. Update the location of rv gps tracker [device_id: rv_gps] using GPS coordinates from the first message in the webhook payload where the appId is 'GROUND_FIX' or 'GNSS', formatted as 'lat,lon'.", "natural_language": { "trigger": "When a webhook request with the specific ID '-R-x5a7qAwUStOiUKWQOfe0Sf' is received, either via a POST or PUT method.", "conditions": "There are no conditions that must be met.", "action": "The automation processes the incoming webhook data. It extracts temperature data from messages marked with the 'TEMP' appId and sets the rv temperature 2 [input_number.rv_temperature_2] to that value. It also extracts humidity data from messages marked with the 'HUMID' appId and sets the rv humidity 2 [input_number.rv_humidity_2] to that value. Finally, it extracts GPS coordinates from messages marked with either the 'GROUND_FIX' or 'GNSS' appId and uses them to update the location of the rv gps tracker [device_id: rv_gps]." }, "human_like": "Updates RV temperature, humidity, and GPS location from data sent via a specific webhook.", "complexity": "medium" } } ]