I am trying to abstract away sending a notification into a script. I have created some fields like message and title which work fine. But what I want to do is create a field in the script called data, which can capture JSON, and feed that into the notification action in the data attribute. This however does not work...
I've tried this for a while and I can't see how to do this. If I'm unable to do this i'll end up having to recreate every attribute as a field, which I don't want to do.
Any suggestions?