Connect the end of branches from a router to the same module

I have a router that checks if a folder does exist or not. If it does not exist, then I create the folder. If not, I do nothing.
The problem is that the rest of my scénario will write things in the right FolderID (either the existing one or the new created one).
So at the end of each branch, I set a variable with the FolderID and I will use this variable as the reference for all following modules.
My question is : How can I connect the end of those two branches to the rest of the scenario (to a single module) ?