To use this do the following.
Revit roof dormer.
Add point or split line if better suited creates points at intersections place your new points as required.
Create the walls and roof elements that make up the dormer.
Create the dormer roof and join it to the main roof.
Create the roof opening and finish the dormer.
Use the join roof tool to join the dormer roof to the primary roof.
This video demonstrates the following.
Select your flat roof press the modify sub elements button that appears.
Move the walls to the dormer.
Use the modify sub elements button to select your newly placed points.
After adding a dormer cut an opening for it through the roof.