Provide workflow input via API

Partially closes-bug: #1379677

Change-Id: I4a4918494bf4a22c2fd890d4a27c7773b5333393