Browse documentation

Workflow node reference

End Flow

End the workflow execution. Exact configuration, outputs, execution behavior, errors, limits, and examples for the End Flow workflow node.

Automation buildersIntermediateAvailable

What this guide covers

  • Category: Actions.
  • Use it to explicitly end an execution as success, failure, or cancelled, optionally with a final message and log reason.
  • 9 configuration fields and 3 documented outputs.
  • No later node runs after End Flow.

What this node does

End the workflow execution

Use it to explicitly end an execution as success, failure, or cancelled, optionally with a final message and log reason.

When not to use it

Do not use it where a human must take control; use Human Handoff.

Prerequisites

  1. Chosen end type
  2. Sender/recipient when a final message follows Scheduled or Webhook trigger
  3. Eligible conversation for free-form final text

Inputs and configuration fields

End Flow configuration fields
FieldKeyControl / typeRequirementDefaultAccepted values and behavior
End Typeend_typeselectOptionalsuccessSuccess (success), Failure (failure), Cancelled (cancelled)
Send Final Messagesend_final_messagetoggleOptionalfalseValue accepted by the displayed control
Final Messagefinal_messagevariable-inputOptionalNo defaultshown when send_final_message equals true. Variables supported
Log Reasonlog_reasonvariable-inputOptionalNo defaultWorkflow completed: {{nodes.classifier.category_name}} handled successfully. Variables supported
Final Message Sender & Recipient_divider_final_message_overridedividerOptionalNo defaultRequired when sending a final message from scheduled or webhook workflows. shown when send_final_message equals true
Send From Numbersend_fromsingle-number-pickerOptionalNo defaultSelect which WhatsApp number to send from. shown when send_final_message equals true; Required for scheduled/webhook triggers. Optional for message triggers.
Always use this senderoverride_sendertoggleOptionalfalseIf enabled, always send from this number even for message triggers. shown when send_final_message equals true
Send To Numbersend_tovariable-inputOptionalNo defaultRecipient phone number (can use variables). shown when send_final_message equals true; Required for scheduled/webhook triggers. Optional for message triggers.. Variables supported
Always use this recipientoverride_recipienttoggleOptionalfalseIf enabled, always send to this number even for message triggers. shown when send_final_message equals true

Configure the node

  1. Drag End Flow from Actions in the node palette.
  2. Select the node to open its configuration drawer.
  3. Complete every required field and any conditional field revealed by your choices.
  4. Insert variables only from the current trigger or an earlier node on the same path.
  5. Connect every required output handle to the intended next step.
  6. Save and run Workflow Test with representative data before activation.

Outputs

Later nodes can use these values only after this node has run successfully on the same execution path.

End Flow output variables
VariableTypeMeaning
{{nodes.end_flow.reason}}stringWhy the workflow ended
{{nodes.end_flow.ended_at}}stringTimestamp of completion
{{nodes.end_flow.message}}stringCompletion message

Execution behavior

  1. Optionally sends the resolved final message.
  2. Records end type and log reason.
  3. Emits reason, ended timestamp, and completion message and stops the path.

Example use case

End a validation failure path as Failure with a safe internal log reason and no customer message.

Complete workflow pattern
text
Webhook → Condition → App Action → End Flow (Success) / End Flow (Failure)

Common errors

End Flow common errors
SymptomResolution
Final message lacks sender/recipientConfigure both for Scheduled or Webhook workflows.
Final message is rejectedCheck service-window and template rules; End Flow sends free-form text.

Limitations

No later node runs after End Flow.

A Failure end type is an explicit business outcome, not an automatic retry request.