Legacy Dev Forum Posts

 View Only

Sign Up

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

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

    Posted 06-05-2025 18:33

    Jarvish | 2025-02-20 13:12:42 UTC | #1

    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


    Jerome.Saint-Marc | 2025-02-20 13:26:33 UTC | #2

    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,


    Jarvish | 2025-02-20 13:32:19 UTC | #3

    Hi Jerome,

    Thank you so much. It worked.

    I feel dumb :slight_smile:

    Regards, Jarvish Kisanth Singh


    system | 2025-03-22 13:33:09 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 31833