Not able to pass the input to workflow architect flows using an API

Hi All,

I'm trying to pass the Input to workflow using an API, but Input is not getting passed to workflow.

POST:
/api/v2/flows/executions

Body:

{
"flowId": "f94bfe52-ef09-4d95-9eb1-4df1dd7ff795",
"inputData": {
"Input": "Jarvish"
}
}

Kindly look into this and let me know if I'm missing anyting

Hello,

Try with:

{
  "flowId": "f94bfe52-ef09-4d95-9eb1-4df1dd7ff795",
  "inputData": {
    "Flow.Input": "Jarvish"
  }
}

assuming that you have created a Flow variable (Flow.Input) in your workflow, with Input to flow option checked.

Similar to what is described in this other forum post

Regards,

Hi Jerome,

Thank you so much. It worked.

I feel dumb :slight_smile:

Regards,
Jarvish Kisanth Singh

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.