Waterflai
  • Welcome to Waterflai
  • Getting Started
    • Concepts
    • Quickstart
  • Providers
    • Providers Overview
    • Providers setup
    • AI models
    • Choose the right models
  • Knowledge
    • Knowledge Overview
    • Knowledge connectors
    • Knowledge collections
  • Studio
    • Studio Overview
    • Studio Builders
      • Light Builder
      • Dream Builder
      • Workflow Builder
      • Flow components (nodes)
        • Input Node
        • Output Node
        • LLM model Node
        • Multimodal LLM Node
        • Dall-E 2 (image generation) Node
        • Dall-E 3 (image generation) Node
        • Sora video generation Node
        • Text-to-Speech (TTS) Node
        • Speech-to-Text (STT) Node
        • OCR Node
        • Agent Node
        • Reranker Node
        • Knowledge retrieval Node
        • Vector store insert Node
        • Vector store record delete Node
        • Gitbook loader
        • Notion Database Node
        • Figma Node
        • Webpage scraper Node
        • Sitemap Scraper Node
        • API Request Node
        • Document metadata extraction Node
        • Document metadata update Node
        • Character splitter Node
        • HTML splitter Node
        • Markdown Splitter
        • Calculator tool Node
        • Text as tool Node
        • Knowledge retrieval tool Node
        • Conditional Node
        • Iteration loop Node
      • Testing and Debugging
    • Publishing
    • Integration with API
    • Embedding in website
  • Analytics
    • Analytics Overview
    • Dashboards
    • Logs
  • Administration
    • Organization users
    • Workspace
    • Security and permissions
  • Troubleshooting
    • Support
Powered by GitBook
On this page
  • Overview
  • Configuration
  • Best Practices
  1. Studio
  2. Studio Builders
  3. Flow components (nodes)

Output Node

Overview

The Output Node is the final node in a flow, responsible for formatting and returning the flow's response. It allows you to template your response using variables from previous nodes, making it flexible for various use cases from simple text responses to complex formatted outputs.

Usage cost: 0 credit

Configuration

Settings

  • Response Template (Required):

    • A text field that supports variable interpolation

    • Can access any variable defined by previous nodes in the flow

  • Output as JSON (boolean, Toggle):

    • Off (Default): The node outputs the final result generated from the 'Response Template' as a plain string.

    • On: Attempts to parse the final text generated from the 'Response Template' (after variable interpolation) as JSON. If parsing succeeds, the response output will contain a JSON object or array. If parsing fails, response will contain the raw interpolated string.

      • Note: Ensure the template produces valid JSON after variable interpolation when this is enabled.

Output

  • response (string): The final interpolated response string

Best Practices

  1. Variable Usage

    • Always validate that required variables exist in the flow

PreviousInput NodeNextLLM model Node

Last updated 1 month ago