macOS High Sierra
![](https://help.apple.com/assets/58C4E4380946224E387BE2FE/58C4E43A0946224E387BE307/en_US/fb0d0e4da6d4725966465b579d352cd3.png)
Use automator to run a workflow
You can use the automator
command in Terminal to run a workflow.
Enter the following command to run 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.