EasyUse/Promptgenerated

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

now
prev
output
output_prompt
continue
seed
prompt
STRING
Easy Use

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 now or prev, depending on the user's selection in the waiting dialog.
  • output_prompt — The prompt text submitted by the user (or the default prompt value).
  • continueTrue when the user confirmed and provided a result; False when 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, continue is False, and the seed is 0.
  • Connect output into downstream nodes that should receive the user-selected data, and use continue to gate subsequent steps when the user may cancel.

Comments

Sign in with GitHub to join the discussion.

Loading comments…