The Serve Response 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 Response node:

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

Usage Examples

Scenario: Basic Response

Scenario: Conditional Responses

Tips and Best Practices

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