Decision Trees
Decision Trees
Decision Trees allow you to create interactive troubleshooting flows where users answer yes/no questions to find solutions to their problems.
Overview
Decision Trees consist of:
- Nodes - Individual questions in the tree
- Branches - Yes/No paths connecting nodes
- Solution Articles - Articles shown as the final answer
- Visual Editor - Drag-and-drop interface for connecting nodes
Creating a Decision Tree Flow
- Create a new flow and select "Decision Tree" as the display type
- The decision tree editor will appear in the content panel
- Click "Add Node" to create your first question
- Connect nodes using the visual editor
Adding Decision Nodes
- Click the "Add Node" button in the tree editor
- Enter a question for users to answer
- Optionally link to a solution article
- Click "Create"
Node Settings
- Question - The yes/no question users will see (required)
- Solution Article - Article to show as the answer when reached
- Parent Node - The node this branches from (advanced)
- Yes → Go to - Node to show when user answers Yes
- No → Go to - Node to show when user answers No
Connecting Nodes Visually
The visual editor makes it easy to connect nodes:
- Hover over a node to see connection handles
- Drag from the "Yes" handle to the node for Yes answers
- Drag from the "No" handle to the node for No answers
- Click "Save Connections" to persist the tree
Leaf Nodes
Leaf nodes are the endpoints of your decision tree:
- Link to a solution article to provide the final answer
- Or leave without an article to let users restart or seek other help
Editing and Deleting Nodes
- Click the edit icon on a node to modify it
- Click the delete icon to remove a node
- Changes are saved immediately
Best Practices
- Keep questions simple and unambiguous
- Start with broad questions and narrow down
- Link all leaf nodes to solution articles
- Test your tree to ensure all paths lead to answers
- Keep trees balanced (similar depth for all paths)
Example Use Cases
- Troubleshooting login issues
- Diagnosing technical problems
- Finding the right product for a user's needs
- Step-by-step problem resolution guides