Currently, there is no way to modify a Workflow using the API. I'm forced to return to something like Selenium to automate those tasks.
It would be nice if we could do this in a "headless" environment using an API instead of being forced to use the UI.
I have a template that I use for workflows and I'm forced to click through the entire process every time. Something that could be as simple as running
node generateWorkflow.js
ends up taking me at least an hour every time.