ZelaxyDocs
Core Blocks
Block

Response Block

Return output to the user or calling system

Response Block

The Response block is the final output point of a workflow. It returns results to the user interface, API caller, or parent workflow. It supports text, markdown, structured data, and file outputs.

Overview

PropertyValue
Typeresponse
CategoryCore Block
Color#2563EB (Blue)

When to Use

  • Return a final answer to the user in the chat interface
  • Send structured data back to an API caller
  • Output files, images, or formatted content
  • End a workflow with a summary

Configuration

SettingTypeDescription
Response ContentLong textThe content to return (supports {{variables}} and markdown)
Response TypeDropdowntext, markdown, json, file

Outputs

FieldTypeDescription
contentstringThe final response content

Example: Formatted Summary Response

Workflow:

[Starter] → [Agent: Analyze] → [Response]

Response Content:

## Analysis Results

{{agent.content}}

---
*Processed at {{function.result.timestamp}}*

How it works:

  1. Agent analyzes the user's input
  2. Response block formats the output with markdown headers and timestamps
  3. User sees a nicely formatted summary in the chat

Tips

  • Use markdown for rich formatting — headers, bold, lists, code blocks all render in the chat
  • Include multiple block outputs — combine results from different branches: Summary: {{agent1.content}}\n\nDetails: {{agent2.content}}
  • JSON response type is useful when workflows are called via API — returns parseable data