Eric, You can use the EvaluateJsonPath processor to extract the SNS message body using a JSON path of "$.Message". As part of evaluating the path, it will un-escape the stringified content of Message and return the enclosed JSON content.
If you want this to be in a new, separate flowfile from the original SNS body, I recommend duplicating the flowfile upstream of EvaluateJsonPath. It is easy to update the flowfile content to the "Message" content with EvaluateJsonPath by setting the Destination property to flowfile-content. Thanks, James On Sun, Oct 8, 2017 at 3:38 PM, Eric Chaves <[email protected]> wrote: > Hi, I'm writing a flow to handle SNS notification messages received > through HTTP. Those messages are JSON content whose Message attribute is an > stringified JSON text. > > How can I parse this content into a new flow file? > > Thanks in advance, > > Eric >
