Automation API Trigger not using IN arguments from API

I have successfully set up an Automation API Triggers that runs a process on a specific machine. The automation has 3 input arguments. In the JSON body of the API call in postman, I have this:

{“startInfo”:
{
“InputArguments”: "
{
"RPAName": "A0-IB-DailyRPA",
"WorkflowID": 1,
"UserName": "lhollingsworth"
}"
}
}

The API runs and I get back 200 OK. However, the arguments are not being passed to the automation for use. I have the automation returning these values to me in a string called Status: “Status”: “ComputerName: IB-ALTQZOXVQZDJ | RPAName: | UserName: | WorkflowID: 0”

Can the in arguments be passed to an Automation API Trigger?

Hi @lhollingsworth,

Based on your JSON body and the response, it looks like there may be an issue with how you’re formatting the arguments.

Could you please try this and let me know if it works? I am really curious!

{
“startInfo”: {
“InputArguments”: {
“RPAName”: “A0-IB-DailyRPA”,
“WorkflowID”: 1,
“UserName”: “lhollingsworth”
}
}
}

Thanks. I found the solution in formatting the body like this:
{
“RPAName”: “A0-IB-DailyRPA”,
“WorkflowID”: 1,
“UserName”: “lhollingsworth”
}