run commands in the server, parsing graph workflow to a command in the server