PromptAwait(promptAwait)
The PromptAwait node pauses the workflow at its position and waits for the user to supply a prompt in the ComfyUI interface before execution continues.
prompt Await
Description
The PromptAwait node pauses the workflow at its position and waits for the user to supply a prompt in the ComfyUI interface before execution continues. When the node runs, it sends a request to the frontend and blocks until the user submits a prompt (and optionally chooses which branch to continue from), making it useful for interactive workflows where the next generation depends on live user input.
Inputs
now (ANYTYPE, required)
The value to pass through when the user chooses to continue from the current state. Any connected data type is supported.
prompt (STRING, multiline)
The default prompt text shown in the waiting dialog. The user can edit or replace it before continuing; the submitted text is returned on the output_prompt output.
prev (ANYTYPE, optional)
An alternative value to pass through. When the user selects the previous state and a prev input is connected, this value is used for the output instead of now.
Outputs
- output — Either
noworprev, depending on the user's selection in the waiting dialog. - output_prompt — The prompt text submitted by the user (or the default
promptvalue). - continue —
Truewhen the user confirmed and provided a result;Falsewhen the dialog was cancelled or dismissed. - seed — The seed chosen in the dialog when the user unlocked the seed field; otherwise the previously used seed (0 when no result was provided).
Usage Notes
- The node blocks the queue while waiting for user input, so it is best used in interactive or semi-automated workflows rather than fully unattended batch runs.
- If the waiting dialog is cancelled, the node falls back to
(now, prompt, False, 0): the current value passes through, the default prompt is returned,continueisFalse, and the seed is0. - Connect
outputinto downstream nodes that should receive the user-selected data, and usecontinueto gate subsequent steps when the user may cancel.
Comments
Sign in with GitHub to join the discussion.