Endless runner random spawning level

I work on an endless runner for a project. I want to make a “mini-level”, where I will point out 5 locations (for example) that will generate randomly the obstacles (either a gap, or a jumpable wall, or places for collectibles etc.) and loop this mini-level to random generate obstacle, in order not to spawn obstacles behind obstacles and make the game unplayable. (my idea in the picture below) I’ve been trying to find a way for days now, but I’m new and I don’t know the place quite well. Can somebody tell me if it’s plausible, and if it is, suggest me a way to blueprint this out?

I haven’t actually watched this but https://www.youtube.com/watch?v=yS-yQfo0lc0&list=PLZlv_N0_O1gbY4FN8pZuEPVC9PzQThNn1

Thanks a lot dude, it was what I wanted.

You can have different tiles and spawn them randomly one after the other. Also tiles can have those areas to spawn random obstacles. Every tile you create needs to have a box collision at the end that overlaps with player character. You also need to keep track of the last location that a tile needs to be spawned at. In the beginning of the game, you can spawn 5 tiles and then every time player character overlaps with the box collision you create another one at the last location.

Have a look at my template:
https://forums.unrealengine.com/unreal-engine/marketplace/1580543--endless-runner-shooter-template