I also added 12 layers of foundation tarp to funnel water from the drip line of the roof into this 4" pipe. I used 12 layers to reduce any tears that could develop (overkill).
On top of the 4" pipe, I put some man-made decking lumber so that the bricks would not sink into the 4" pipe (later gravel goes on top of all this).
I cut some holes in the lumber so water can flow into the gutter:
More gravel to cover the tarp and lumber: