Use automator to run a workflow

You can use the automator command-line tool to run a workflow.

  1. The following command runs a workflow with somevariable set to somevalue in the myworkflow.workflow file.

    $ automator -D somevariable=somevalue myworkflow.workflow

For more information, see the automator man page.