Import array and create landscape splines

Hello everyone, I am new into using Unreal Engine, and have some issues. I hope you can provide some help.

I have the X, Y and Z waypoints of a road contained in an array, and I want to create a spline from that. Is there an easy way to do so?

Thanks in advance!