Pass device’s data in IFTTT action

I’m trying to create an IFTTT action for post a tweet under a particular condition. I’d like to write a device’s data in the tweet. I’m trying to insert {{message}} in the field “Value 1”, as described in the link https://console.bluemix.net/docs/services/iotrtinsights/actions.html. The {{message}} is like this:

{“d”:{“x”:0.7648840000000001,”y”:-10.226587,”z”:0.19555899999999937,”mag”:4.595904064449206},”ruleContent”:{“contextSchemas”:[],”jobID”:”rFzgrRpk”,”severity”:1,”ruleDescription”:”quake”,”ruleCondition”:”…”}}
How should I replace {{message}} to get the value *mag* to write it in the tweet?

Related:

Leave a Reply