Show a dialog and use answers
Goal: Ask the user a question in Live before your extension changes anything.
Time: ~15 minutes
Steps
- Click Designer on the toolbar (not the dock) to open the Dialog Designer overlay.
- Add controls — sliders, text fields, toggles, buttons — and save the design with a clear name.
- Add a Show Dialog node to your graph after the trigger and before any Transaction or mutating steps.
- Wire trigger Run → Show Dialog Run, then Show Dialog Then → your next step (transpose, set name, etc.).
- In the Show Dialog node, pick the design you saved in the Designer.
- Wire the Show Dialog node's single output port — result (JSON) (a JSON string) — into a Parse JSON node, then use JSON get key nodes to extract individual field values before wiring them into the nodes that need user input.
- Do not place Show Dialog inside a Transaction body — ask first, then start undo groups with answers already wired.
- Build & Run and test in Live; cancel should stop the chain without changing the Set.
Expected result
Live shows your custom dialog first. After the user confirms, your tool runs with their choices. Cancel leaves the Set unchanged.
If something goes wrong
| Problem | What to do |
|---|---|
| Dialog never appears | Check Run order: dialog must be first mutating gate after trigger |
| Dialog inside undo group | Move Show Dialog before Transaction |
| Designer not visible | Use toolbar Designer toggle — it is an overlay, not a dock panel |
| Wrong values used | Wire the correct dialog output port into each input |
| Dialog design missing | Save in Designer and re-select design on Show Dialog node |