I want to include the oldValue and newValue of department changes from the triggered JSON payload into the email body saying e.g user has changed department from (oldValue) to (newValue).
I don’t know whether it’s possible to include the variables and JSON for these two values in the templating context of ‘Send Email’ action.
I tried a few combinations but without any luck.
For example {"oldDept.$":"$.trigger.changes.attribute.oldValue","newDept.$":"$.trigger.changes.attribute.newValue"}