Converting Unity Shaders/Materials to UE4

I currently have a bunch of shaders that were made in Unity that I’d like to move over to UE4. Some were made using the shader graph. Some were made using HLSL.

The ones created with the node graph, I assume, should be easy enough to recreate. However, what would be the best way to bring over the ones made with HLSL?
Part of me wants to use the custom material node, but from everything I have been reading, the more we stay within the materials editor, the better.

Should I translate the hlsl into the material node system?