Hey!
It seems the NiFi team have included a NetFlow v5 processor in 1.9.2. However if you used v9 or sflow, and you can't use an alternative like logstash, then I've written a (hopefully comprehensive) guide on how I managed to listen and transform netflow data using NiFi and the opensource nfdump, here:
https://blog.davidvassallo.me/2019/04/09/consuming-netflow-using-nifi/
Dave