I think this would be a great feature to allow transforming what sometimes could be huge forms or complex workflows (needing training) to something that is self explanatory by splitting up pre-defined actions in simple sequenced/contextual steps.
First step would be to sketch out some UX on a few common use-cases along with how the code to define these structures could look like.