Looking to run a workflow using the Alteryx Server API. One of the questions for the workflow is a file input. Is this possible? It seems like the questions need to be string fields so I'm not sure if there's a workaround. I'd want something like the below snippet. from the POST "/webapi/user/v2/workflows/{wf_id}/jobs" call
{
"workerTag": "string",
"credentialId": "string",
"questions": [
{
"name": "INPUT_FILE",
"value": "<FILE>"
}
],
"priority": "Default"
}
Solved! Go to Solution.
Hi @Tim_Sullivan ,
You have to use the /user/v2/inputfiles endpoint to send the file and then use the response ID in that json you shared. https://help.alteryx.com/current/en/developer-help/apis/server-api-overview.html#idp473234
Best,
Fernando