Skip to main content

Overview

Break Down Workflows

Split large workflows into smaller, focused pieces for better maintainability and reuse

Reference Workflows

Use workflows from other workflows to create modular automation

Share Patterns

Create common workflow patterns that can be reused across your organization

Create Libraries

Build workflow libraries to standardize processes and reduce duplication

Workflow References

Reference other workflows to create modular, reusable automation:

Input Mapping

When referencing workflows, map inputs using the with property:

Workflow Libraries

Create reusable workflow libraries to share common patterns:
Reference workflows from libraries:

Shared Context

Share context between composed workflows through:
  1. Input/Output Mapping
  1. Environment Variables

Best Practices

  1. Workflow Organization
    • Keep workflows focused and single-purpose
    • Use clear, descriptive names
    • Maintain a consistent directory structure
    • Document requirements
    • Version your workflow libraries
  2. Input/Output
    • Define clear input contracts
    • Document expected formats
    • Handle optional parameters
    • Maintain consistent output structures
  3. Error Handling
    • Implement consistent error handling
    • Provide clear error messages
    • Clean up resources properly

References

Task Types

Learn about the building blocks of workflows

Error Handling

Implement error handling in workflows