The Apache NiFi template demonstrate how to Merge the content of two json incoming flow files into a single flowfile.