---
title: "Answer"
description: "Define response content in chatflow applications"
icon: "message"
---

The Answer node defines what content gets delivered to users in chatflow applications. Use it to format responses, combine text with variables, and stream multimodal content including text, images, and files.

<Info>
  The Answer node is only available for Chatflow applications. Workflow applications use the End node instead.
</Info>

## Content Configuration

The Answer node provides a flexible text editor where you can craft responses using fixed text, variables from previous nodes, or combinations of both.

Reference variables from any previous workflow node using the `{{variable_name}}` syntax. The editor supports rich content formatting and variable insertion to create dynamic, contextual responses.

<Frame caption="Plain text answer configuration">
  <img src="https://assets-docs.dify.ai/2025/04/42bb6bdef101bf79f959f4fc56a50ff3.png" alt="Plain text answer example" />
</Frame>

## Multimodal Responses

Answer nodes support rich content delivery including text, images, and files in a single response stream.

<Frame caption="Multimodal answer with image and text content">
  <img src="https://assets-docs.dify.ai/2025/04/d2c901e821029756ebf95f4e099d833f.png" alt="Multimodal answer example" />
</Frame>

**Text Content** can include variable substitution, markdown formatting, and dynamic content based on workflow processing results.

**Image Content** displays images generated by tools, uploaded by users, or processed by workflow nodes. Images stream alongside text for rich user experiences.

**File Content** delivers documents, spreadsheets, or other files generated or processed during the workflow execution.

<Frame caption="Answer node user interface in chat">
  <img src="https://assets-docs.dify.ai/2025/04/5a70a5e568dded3975e54cfa84085c93.png" alt="Answer node chat interface" />
</Frame>

## Multiple Answer Nodes

You can place multiple Answer nodes throughout your chatflow to deliver content at different stages of processing. This enables:

**Progressive Responses** - Provide immediate acknowledgment while processing continues in the background

**Conditional Responses** - Send different content based on workflow branching logic

**Streaming Updates** - Deliver partial results as they become available during long-running processes

Each Answer node contributes to the conversation independently, allowing for sophisticated response patterns and user experience design.

## Variable Integration

Answer nodes seamlessly integrate with outputs from all workflow node types. Common variable sources include:

**LLM Responses** - Display generated text, analysis results, or structured outputs from language models

**Knowledge Retrieval** - Show relevant information found in knowledge bases with automatic citation tracking

**Tool Results** - Present data from external APIs, calculations, or service integrations

**File Processing** - Display extracted text, analysis results, or processed document content

The variable system maintains type safety and automatically handles different content types for optimal display in the chat interface.