Unity has a NavMesh system that can be used in situations just like this. So you could do the following:
Add waypoints to the paths that you are spawning to mark the route for you ball to follow. Create a new Waypoint component and add it to empty GameObjects that you position along the path and connect together to form paths.
Set the destination of the ball to be the position of the first waypoint. When the ball gets close enough to it, set its new destination to be the next waypoint, etc.