The Serve Output node designates the output that should be returned from your workflow, making it a crucial component for any workflow that needs to provide results.

Functionality

The Serve Output node:

  • Marks the final output of your workflow
  • Returns the input it receives as the workflow’s output
  • Can be used multiple times in different branches
  • First Serve Output node reached determines the output

Usage Examples

Scenario: Basic Output

Scenario: Conditional Outputs

Tips and Best Practices

  • Place at the end of your workflow branches
  • Ensure all possible execution paths lead to a Serve Output
  • Consider formatting or structuring data before the Serve Output
  • Remember only the first Serve Output reached will be used
  • Use in combination with conditional nodes for different output types