APIs are needed to use the workflow by manipulating just ids (strings) instead of having to deal with documents (route, node, etc) which should be abstracted from the public APIs.
An API to end a task (and not the complete node) is also needed (there may be several tasks per node).