# Subworkflows e.g. "macros" In the previous tutorial, we listed all of the workflow steps in a single file. Alternatively, we can extract some of the steps into another workflow.
docs/tutorials/multistep3.wic ```yaml steps: - touch: in: filename: !ii empty.txt - append_twice.wic: - cat: ``` docs/tutorials/append_twice.wic ```yaml steps: - append: in: str: !ii Hello - append: in: str: !ii World! ``` | docs/tutorials/multistep3.wic.gv.png ![Multistep](multistep3.wic.gv.png) |