Lambda Output
Lambda Output
Section titled “Lambda Output”What it does: Defines what data your reusable workflow components return to other workflows.
Perfect for: Reusable workflows • Template workflows • Modular design • Data processing results
How It Works
Section titled “How It Works”graph LR
A[🔄 Lambda Workflow] --> B[📤 Lambda Output]
B --> C[✅ Format Data]
C --> D[📥 Calling Workflow]
style A fill:#e1f5fe
style B fill:#fff3e0
style C fill:#e8f5e8
style D fill:#f3e5f5
Simple process: Lambda workflow finishes → Lambda Output formats results → Returns data to calling workflow
Common Use Cases
Section titled “Common Use Cases”Return processed data - Send results back to the workflow that called your lambda Format results - Structure data in a consistent way for other workflows Aggregate results - Combine multiple processing steps into one output Standardize responses - Ensure all your reusable workflows return data the same way
Real Example
Section titled “Real Example”Scenario: Return extracted content and metadata from a web extraction lambda workflow
Lambda Output Configuration:
{ "outputSchema": { "type": "object", "properties": { "content": {"type": "string"}, "wordCount": {"type": "number"}, "extractedAt": {"type": "string"} } }}Data from your lambda workflow:
{ "extractedText": "This is the webpage content...", "wordCount": 156, "processingTime": 1200}Lambda Output returns to calling workflow:
{ "content": "This is the webpage content...", "wordCount": 156, "extractedAt": "2024-01-17T10:30:15Z"}```## Simple Configuration Tips
**Basic text result:**```json{ "outputSchema": {"type": "string"}}Structured data result:
{ "outputSchema": { "type": "object", "properties": { "title": {"type": "string"}, "content": {"type": "string"}, "wordCount": {"type": "number"} } }}Array of results:
{ "outputSchema": { "type": "array", "items": {"type": "string"} }}Common Workflow Patterns
Section titled “Common Workflow Patterns”Simple data return:
[Process Data] → [Lambda Output] → [Calling Workflow]Multiple processing steps:
[Step 1] → [Step 2] → [Step 3] → [Lambda Output] → [Calling Workflow]Error handling:
[Process Data] → [Check Results] → [Lambda Output OR Error Handler]Quick Troubleshooting
Section titled “Quick Troubleshooting”Output validation fails: Check that your data matches the output schema format
Calling workflow gets wrong data: Verify the output schema matches what the calling workflow expects
Large data causes slowness: Consider returning only essential data and processing large datasets in chunks
What’s Next?
Section titled “What’s Next?”Related nodes: Lambda Input • Edit Fields • If
Common workflows: Modular Workflow Patterns • Reusable Component Design • Data Processing Pipelines
Learn more: Lambda Workflows Guide • Advanced Workflow Design • Workflow Architecture