Here is a great demonstration, created by @Joseph Gil on working with API.
This allows you to configure an endpoint application to start an automation task, which will run a wizard of your business process, and report back to the endpoint application upon completion.