Skip to main content
This example shows how to pass metadata and contextual information to steps via additional_data. This allows separation of workflow logic from configuration, enabling dynamic behavior based on external context.

Key Features:

  • Context-Aware Steps: Access step_input.additional_data in custom functions
  • Flexible Metadata: Pass user info, priorities, settings, etc.
  • Clean Separation: Keep workflow logic focused while enriching steps with context
step_with_function_additional_data.py