What are Orchestration Steps?
Orchestration steps are the building blocks of multi-source capabilities in Naftiko. Each step represents an API call to a consumed source, and steps can be sequenced, conditionally executed, looped over collections, or run in parallel.
Step types
- Call – A single API call to a consumed source with input parameter mapping.
- Conditional – Execute a step only when a condition is met, based on prior step outputs.
- For-each – Iterate over a collection from a prior step, executing a call for each item.
- Parallel – Execute multiple independent calls simultaneously for better performance.
Cross-step mapping
Steps can pass data between each other using JSONPath mapping and per-step input injection. The output of one step becomes the input of the next, enabling complex multi-source workflows defined entirely in YAML.
Why it matters
Orchestration steps replace custom integration code with declarative workflow definitions. Teams describe the sequence of calls they need, and the framework handles execution, error handling, and data flow – making multi-source integrations as manageable as single-source ones.