Ubidots Community

[SOLVED] Can be able to add a context to the downlink sent to TTN

I am writing some value in the context of a variable using HTML Widget Example{“test1”:1, “test2”:2} and I want to call this context in the body ok the event when I trigger.

The example which I did is

I am sending this downlink to TTN and I am not receiving any data in TTN. If I change the “payload”:1(some value) I am receiving the data in TTN.

Could anyone help me with this? for sending the context as my data to TTN

Greetings, actually the alert supports only one level json as payload field, so you have to set in your event the key that you wish to retrieve in your payload field and to add as many as you need. Please refer to the example gif below

All the best

Thank you. Now I got a solution.