> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prompteus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Serve Output

> Learn how to use the Serve Output node to return results from your workflow.

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

```mermaid theme={null}
graph LR
    A[Process Input] --> B[AI Model] --> C[Serve Output]
```

### Scenario: Conditional Outputs

```mermaid theme={null}
graph TD
    A[Check Condition] -->|Success| B[Success Output]
    A -->|Error| C[Error Output]
    B --> D[Serve Output]
    C --> E[Serve Output]
```

## 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
