Skip to content

End Node

The End node defines the final content returned by a workflow. You can use an output template to combine upstream variables into the final answer shown to the user.

Configurable Fields

FieldDescription
LabelNode name.
Output TemplateFinal output template. It can insert variables from upstream nodes.

End node settings panel

Available Variables

The End node can reference outputs from other nodes, for example:

NodeCommon fields
Startquery, files
LLM / Agenttext, usage, model
Question Classifierclass_id, class_name, keywords
Knowledge Retrievaldocuments
HTTPstatus_code, body, headers

Variable format is usually:

text
{{#llm.text#}}

Setup Steps

  1. Select the End node.
  2. Confirm the Label is clear, such as Final Answer.
  3. Write the final response in Output Template.
  4. Insert required upstream variables.
  5. Run the workflow and check the message the user actually receives.

Recommendations

  • If you only need the LLM answer, output {{#llm.text#}} directly.
  • If there are multiple model or API results, add clear headings in the template.
  • Avoid returning large JSON directly. If needed, use an LLM node first to convert it into readable content.