You could execute a workflow manually in your own vtigerCRM extension or PHP file.
You only need the following PHP Code:

[prism field=code1 language=php]

At the moment it is not possible to add a file with this type of Execution. This will be added as fast as possible.