@AlokKumar
Templates (XML) have been completely removed in Apache NiFi 2.x (including 2.8.0). They are replaced by JSON Flow Definitions.
Quick Export/Import (closest to the old template workflow)
Export
Right-click the Process Group → Download Flow Definition.
Choose Without external services (recommended) or With external services.
Import
Drag a new Process Group from the top toolbar onto the canvas.
In the Create Process Group dialog, click the Browse/Upload icon (two boxes with upward arrow) next to the Name field.
Select your .json file → Add.
Double-click the new Process Group to enter it.
Note: Controller Services are not auto-enabled after import — enable them manually. Sensitive properties may need re-entering.
Recommended for Production:
Use NiFi Registry for versioning and promoting flows across environments.
References: