Guide

Interactive Troubleshooter

Use docspress/troubleshooter for a short branching support, diagnosis, or onboarding flow. Readers answer yes-or-no questions, move back through their choices, and arrive at a semantic outcome.

When to use it

Choose Interactive Troubleshooter when the correct next step depends on a few observable conditions. Use Audience Paths for independent destinations and Flow for one linear procedure. If the tree needs more than 12 questions, split the problem or move it into a dedicated support application.

Design the routes

Give every question and outcome a stable unique ID. Set yesNext and noNext to another question ID or an outcome ID. Start with the condition that divides readers most usefully, and make every answer label describe the choice when “Yes” and “No” would be ambiguous.

DocsPress sanitizes IDs and adds suffixes to duplicates. An invalid startId falls back to the first question. An invalid destination shows an authoring warning instead of an empty panel, but it still leaves the reader without an outcome, so test every route.

Attributes

Reference

Interactive Troubleshooter attributes

Frame, routes, and outcomes accepted by docspress/troubleshooter.
6 fields
title string

Plain-text troubleshooter heading.

intro string

Formatted explanation before the first question.

startId string

ID of the first question. Invalid values fall back to the first normalized question.

questions array required

Up to 12 branching question objects.

outcomes array required

Up to 12 terminal outcome objects.

showProgress boolean

Shows the reader’s progress through the current path.

Each question contains id, question, yesLabel, yesNext, noLabel, and noNext. Each outcome contains id, status, title, and formatted content; status accepts success, neutral, warning, or error.

Creative examples

Find the next documentation workflow

Guided diagnosis

Find the next step

Answer two quick questions to get the right workflow.
Question 1
Question 1

Do you already have Markdown documentation?

Diagnose a stale preview

Guided diagnosis

Why does the preview look stale?

Use observable states to choose the next safe check.
Question 1
Question 1

Does the local Markdown contain the expected change?

Choose a code-example block

Guided diagnosis

Which code block should I use?

Answer two questions to choose the smallest useful component.
Question 1

Should readers execute or edit the example in the page?

Published behavior and accessibility

The active question or outcome is the only visible panel. Back and Start over preserve a clear recovery path, focus moves to the new heading, and progress changes use a live announcement. Controls are real buttons and the authored content remains in the Page source.

Walk every possible route before publishing, including Back and Start over. Phrase questions around facts the reader can know, and make every outcome name the next action.

Was this helpful?