Skip to main content
Confirm Block Screenshot

Overview

Use the Confirm block when a workflow needs a human approval step before it continues. The block prompts a user for confirmation and routes the value through either the positive or negative output, making it useful for approvals, review gates, delete confirmations, publishing checks, and other control-flow decisions. Pair it with Flow Output to return the approval result or If/Else to branch the workflow after confirmation.

Inputs

string
The message to display to the user when prompting for confirmation. Only available when “Use Input” is enabled.
any
A value to wait for before showing the confirmation prompt. Only available when “Wait For Input” is enabled.
string
A value that will be passed through to either the True or False output depending on the user’s response.

Outputs

any
The value input is passed through this output if the user confirms positively.
any
The value input is passed through this output if the user confirms negatively.

Editor Settings

string
default:"Please confirm to continue."
The message to display to the user when prompting for confirmation. Only editable when “Use Input” is disabled.
boolean
default:false
When enabled, allows the prompt message to be provided via the prompt input port instead of the editor settings.
boolean
default:false
When enabled, delays showing the confirmation prompt until the “Wait For” input receives a value.
string
The format to render the prompt in. Can be either “preformatted” or “markdown”.

Example: Confirming a Delete Action

  1. Add a Confirm Block to your flow before a critical delete action.
  2. Set the prompt to “Are you sure you want to delete this item? This action cannot be undone.”
  3. Connect your delete action to the value input
  4. The delete action will only execute if the user confirms positively via the output port. The falseOutput port can be used to handle the negative confirmation case.

Error Handling

The Confirm Block does not typically produce errors as it simply waits for user input. However, if there are issues with the user interface or the block fails to receive a response, it may timeout and return an error.
Always provide clear and concise messages to users to ensure they understand the implications of their confirmation or denial.

FAQ

When “Use Input” is disabled, the prompt message is set statically in the editor settings. When enabled, the prompt can be dynamically provided via the prompt input port.
When “Wait For Input” is enabled, the confirmation prompt won’t be shown until a value is received on the “Wait For” input port. This allows you to sequence confirmations after other operations complete.
The value input is passed through to either the True or False output depending on how the user responds to the confirmation prompt. This allows you to conditionally route data based on user confirmation.

See Also