Eleven app shapes, each built from the starting recipe below by placing different widgets and wiring them to different slots.

Runs: wherever the app’s workflows run (desktop, self-hosted server, NodeTool Cloud). Needs: a working workflow with Input and Output nodes. Provider keys come from the workflow’s nodes.

Prerequisites: read Mini Apps for the terms (widget, binding, operation). Every widget and setting is in the Reference.

Fix the workflow first

  1. Add an Input node for every value the user changes. A value with no Input node cannot be edited from the app, except through the node-setting binding in recipe 5.
  2. Add an Output node for every result the user sees. A workflow with no Output node produces nothing an app can display.
  3. Give every input a default, so the first run is one click.
  4. Run the workflow once on its own before building the app.

The starting recipe

  1. Open the Apps panel in the left sidebar. The two buttons in its header are Create app from workflow and New app.

    The Apps panel in the left sidebar

  2. Click New app for an empty screen, or Create app from workflow for a starting layout with one widget per Input and Output node, a Run and Cancel button, a progress bar, and an error alert. The app opens as a workspace tab.
  3. Switch the tab to Design (App Builder: palette left, canvas middle, inspector right).

    App Builder — palette, canvas, and inspector

  4. Drag widgets from the palette onto the canvas.
  5. Select a widget and pick its wiring in the inspector. The menu lists Input nodes for input widgets, and Output nodes and variables for display widgets.

    The binding picker, listing the workflow's inputs, node settings, and outputs

  6. Add a Button and give it an On click event with the Run workflow action.

    A Button's On click event set to Run workflow

  7. Click Save.
  8. Switch the tab to Run and try it.

    The same app in Run

    Then run nodetool app debug <application_id> to check the wiring the way the runtime sees it.

To edit the graph while you build, open Linked workflows in the app tab’s ⋮ menu and click the workflow.

The assistant in App Builder can place widgets, wire them, declare variables and operations, and add the Input, Output, or Set Variable nodes a layout needs. Operations, variables, and resources are also editable in the App Data panel (Design header). Resource actions beyond the four in the event menu go through the assistant.


1. Fill a form, get a result

Shape: fill a few fields, click a button, see one result. Good for: image generation, rewriting copy, summarizing, translating, classifying.

  1. Place a Text Input for each Input node the user should fill, and wire each one to its Input node. Give it a label and a placeholder that shows what good input looks like.
  2. Place a Button named after the result, not the machinery: “Write the caption” beats “Run”.
  3. Place one display widget per Output node, wired to it: Markdown for prose, Image, Audio, Video, JSON for structured data, Table for rows, Output when the type varies.
  4. Give each display widget a placeholder (“Your caption appears here”) so the app looks finished before the first run.

Put the fields and the button in one Panel and the results in another. Use Columns to place fields left and results right.

2. Runs that take a while

Shape: a run lasting 30 seconds to several minutes. Good for: agents, batch jobs, video generation, research tasks.

Build recipe 1, then add progress signals.

  1. Place a Progress widget wired to op:main/exec#progress.
  2. Place a Text widget wired to op:main/exec#activity — the line the run writes about itself: the tool an agent is calling, the planning stage, the step it’s on. For an agent, place an Agent Activity widget wired to op:main/exec#transcript instead. It shows the agent’s text and every tool call with its outcome while the run is live.
  3. Set the Run button’s disabledWhen to op:main/exec#running is not empty, so it can’t be clicked twice.
  4. Place a second Button with the Cancel run action, and set its visibleWhen to op:main/exec#running is not empty.
  5. Place a Text widget wired to op:main/exec#error, shown only when that is not empty.

3. Text that types itself out

Shape: the answer appears a few words at a time. Good for: chat-style answers, long drafts, live transcripts.

  1. Build recipe 1 with a Markdown widget wired to the Output node that streams.
  2. Pieces are collected as they arrive, so one streamed answer renders as one block of Markdown.
  3. If that same text feeds a later step, wire the output to a variable as well (to: "variable" on the operation). It builds up there the same way, and the next run starts a fresh value rather than continuing the last one.

Shape: one run makes several results, and the user keeps generating. Good for: image variations, ad creative, thumbnail sets, name candidates.

  1. Point the display widget at an Output node the workflow emits more than once. The items collect into a list instead of replacing each other.
  2. Use Table for structured rows, or an Image widget for a stream of images.
  3. Add a second Button labelled “Make another”, with the Run workflow action, placed below the results. Now nobody scrolls back up to the form.
  4. If a new set should replace the old one, give the operation the replace rule, so a second click cancels the run in flight first.

The shipped example apps use this pattern. Add one from Start from an app on the start page and open it in Design.

5. A slider that re-runs

Shape: drag a slider, the workflow re-runs, the result updates. Good for: image enhancement, color grading, thresholds, strength and guidance settings.

This recipe needs no Input node: a widget can drive a node’s setting directly.

  1. Place a Slider and wire it to the node setting rather than to an input: op:main/prop:<nodeId>#<property>. The picker lists any node with settings, not just Input nodes.
  2. Set min, max, and step to the setting’s real range.
  3. Add an On change event with the Run workflow action.
  4. Set the event’s Pacing to On release, so the slider fires once when the user lets go instead of once per pixel. Use Debounced for a text field, and Live only for something cheap.
  5. Give the operation the replace rule: a new value should cancel the run for the old one, not line up behind it.

Live pacing plus a queue rule on a slow workflow builds a backlog of runs.

6. Approve, then continue

Shape: run a step, look at the result, then run the next one. Good for: draft then publish, extract then post, analyze then act, generate then upscale.

This needs two operations and two variables. Declare them in the App Data panel or ask the assistant.

  1. Declare a text variable called draft and a text variable called decision.
  2. Declare an operation draft running the drafting workflow, with its text output wired into draft (to: "variable").
  3. Declare an operation publish running the publishing workflow, with its input reading draft (from: "variable").
  4. Place a Markdown widget wired to var:draft, so the user reads what’s about to be published.
  5. Add an Approval widget bound to var:decision. It writes approved or rejected when the person picks one. Do not use the draft’s non-empty value itself as approval.
  6. Place a Run button for draft with two click events: Run workflow for draft, and Set variable on decision with an empty value, so every new draft starts unapproved.
  7. Place a Run button for publish. Set its visibleWhen to var:decision equals approved, and its disabledWhen to op:draft/exec#running is not empty.

The draft output is cleared when its source run starts and after a failed or cancelled run, so a partial or stale result is never shown as the draft. A condition holds one test against one value, so the gate is the single decision variable. The publishing workflow should still validate that its input is the approved artifact before performing an irreversible action.

7. Settings that stick

Shape: a tool used every day that should remember how it’s set up. Good for: tone of voice, target language, output format, default model.

  1. In App Data, declare a variable with scope Per user and Remember between visits on (scope: "user", persist: true). Only user-scoped variables can be remembered; marking an instance-scoped one as persistent raises a warning instead of quietly working.
  2. Give it a default, which seeds the first session. A remembered value is loaded first and beats the default.
  3. Wire a Select or Switch to var:<id>, with an On change event using the Set variable action.
  4. Have the operation input that uses it read from: "variable".

The setting survives a reload and is not part of the per-run form.

8. One app, several modes

Shape: one app with modes, each showing only what its mode needs. Good for: a tool that takes either an image or text, a form with an advanced section, an app that switches between two workflows.

  1. Place a Select wired to a variable — call it mode — with options image and text, and an On change event using the Set variable action.
  2. Give each mode-specific widget a visibleWhen of var:mode equals image (or text).
  3. For an advanced section, put the widgets in an Accordion that starts closed, or in Tabs. Layout widgets take no condition, so a condition has to go on each widget it should hide.
  4. To switch workflows rather than fields, declare two operations and give each Run button its own operation and its own condition.

A condition compares one value against one fixed value. For compound conditions, emit one flag from a node in the graph and condition on that.

9. Apps that edit a document

Shape: the app reads and writes a real document rather than loose values. Good for: storyboard editing, sketch iteration, curated asset collections.

  1. Declare a resource in App Data: its kind (asset, timeline, storyboard, or sketch) and what it may point at (all documents of that kind, or one fixed document). A resource added there allows read. Ask the assistant to grant create, update, or delete.
  2. Place a Resource Picker to choose one, or a Resource Gallery to show a grid of them.
  3. Have the operation input that uses it read from: "resource", naming that resource.
  4. Storyboard Scenes edits the document directly, so it fires no event of its own.

nodetool app debug does not read the browser’s resource library. Seed a deterministic collection with a seedResource interaction or a resource:<binding-id> parameter to exercise resource inputs headlessly. Test picker rendering, focus, and real document writes in the app.

10. A chat app

Shape: a conversation the user adds to, one workflow run per turn. Good for: assistants, Q&A over a collection, anything where the previous turns matter.

  1. Build the workflow with a Message List Input (the whole conversation) or a String Input (just the latest message), an LLM node, and an Output node.
  2. Declare a variable — call it chat — to hold the conversation.
  3. Place a Chat Thread: bind it to var:chat, and set Live reply to the Output node so the answer appears as it streams.
  4. Place a Chat Composer below it: bind it to the workflow input, set Conversation variable to chat, and pick what it sends — Whole conversation for a Message List Input, Message text for a String Input. Its On click event runs the operation.
  5. Add a Model Select bound to the LLM node’s model property to let the user choose the model.

Turn on image attachments in the composer when the model is multimodal. The message then carries content parts instead of plain text.

11. An app that shows a sketch or a timeline

Shape: a run that produces an editor document, previewed in the app. Good for: generated artwork you want to see composited, a cut assembled from a script, anything where the result is a document rather than a file.

  1. Build the workflow so it ends at an Output node fed by a node that emits a sketch (nodetool.sketch.CreateSketch, nodetool.constant.Sketch) or a timeline (nodetool.timeline.AddClips, nodetool.script.ScriptToTimeline).
  2. Place a Sketch or Timeline widget and bind it to that Output node.
  3. Set a max height so a tall canvas or a long sequence doesn’t push the rest of the app off screen.

These nodes emit a reference ({type: "sketch", id}), not an image or video file, so media widgets bound to them show nothing. For the flat result, add a RenderSketch or RenderTimeline node and bind an Image or Video widget to its output.


Before you share it

  • Every input widget is wired to something real. nodetool app debug --no-run names the ones that are not.
  • Every display widget receives a value from a finished run.
  • The app has a way to start a run, disables Run while a run is in flight, and shows errors on screen.
  • Runs longer than a few seconds show progress, activity, or both.
  • Inputs have defaults and display widgets have placeholders.

When something’s wrong

What you see What’s usually causing it
A widget stays empty after a run It’s wired to a node the run never emits, or to an Output node the graph doesn’t have.
A widget does nothing at all Its wiring points at nothing. Run app debug --no-run.
Values from another run show up Messages are matched by job id and foreign ones are dropped, so the widget is wired to the wrong node.
The slider fires dozens of runs Pacing is set to live. Use on-release.
Runs pile up behind each other The operation’s rule is queue. Use replace.
A remembered setting resets The variable is instance-scoped. Only user-scoped ones are remembered.
The app broke after a graph edit An old name-based wiring pointed at a renamed node. Re-select it; the editor writes id-based wiring, which survives renames.