Advanced workflows often require data from multiple previous steps beyond just the immediate predecessor. TheDocumentation Index
Fetch the complete documentation index at: https://spacesail.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
StepInput object provides powerful methods to access any previous step’s output by name or retrieve all accumulated content.
Example
step_input.get_step_content("step_name")- Get content from specific step by namestep_input.get_all_previous_content()- Get all previous step content combinedstep_input.workflow_message- Access the original workflow input messagestep_input.previous_step_content- Get content from immediate previous step
In case of
Parallel step, when you do step_input.get_step_content("parallel_step_name"), it will return a dict with each key as individual_step_name for all the outputs from the steps defined in parallel.
Example:parallel_step_output will be a dict with each key as individual_step_name for all the outputs from the steps defined in parallel.