Now that there are some rudimentary blocks that can be used to parse JSON formatted data directly in Architect - is there a method for returning the result from a data action as a JSON object?
The use case here is - we have data returning from an API that we would prefer to ingest in a secure flow. (Why are there not Secure Common Flows is beyond me- as routing in and out and returning the same place in a main flow is forcing a form of spaghetti code within Architect flows. )
From what I can see - although the documentation around the new JSON blocks and secure data blocks doesn't seem to exist (or at least I can't find it) Data can persist through the call flow as an encrypted JSON object (but does it persist from a secure flow to a normal flow) ..
So it seemingly would be possible to encrypt data when the data action takes it in, and then have it persist with the call so it can be used later in the call flow....
Even if the new Secured data blocks aren't the right thing - keeping the data in JSON would be great -
We have data coming through that has elements with sub elements that we want to keep the association with (So possible to have multiple accounts against one customer etc)... As it stands it looks like the best way to handlethe data I need to process - is to translate the data coming into architect as collections and put them back into JSON objects ..... So clearly - if we were able to simply pass the JSON return object from the data action to a JSON object in Architect that would save considerable time.
Or am I just completely off what is going on here (Documentation links if they exist please!!!)