Whether you are using Captivate, Lectora, Articulate, or any other tool, it is certainly important to know which buttons to click to set it up properly. But it is even more important that you first set it up properly in your mind. Here’s the process you can use:
Step 1: Make key structural design decisions.
Step 2: Map out the structure on “paper.”
Step 3: Build and test the structure in your authoring tool.
Step 4: Add content and media.
For detailed information: Thinking behind branching scenario
Keep in mind that this is an iterative process. For example, you may have your map figured out, but when you start building it, you realize that in addition to giving the consequences of the choice, you feel the need to spend some time debriefing why it turned out that way. Because of that, you may need to add an extra slide between the feedback and the next choice.
Instead of answering this, let me paste the link of Cathy Moore, an ID guru:
Here is an interesting game that is one of the best and most interesting examples of branching scenarios that I have seen so far:
Here is a diagram that shows the branching tree: