Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Not able to pass the input to workflow architect flows using an API

    Posted 02-20-2025 08:12
    No replies, thread closed.

    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"
    }
    }

    Kinldy look into this and let me know if I'm missing anything


    #API/Integrations

    ------------------------------
    Jarvish Kisanth Singh
    ------------------------------


  • 2.  RE: Not able to pass the input to workflow architect flows using an API
    Best Answer

    Posted 02-20-2025 09:43
    No replies, thread closed.

    You have to include the variable scope

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


    ------------------------------
    Melissa Bailey
    Software Engineer
    ------------------------------



  • 3.  RE: Not able to pass the input to workflow architect flows using an API

    Posted 02-20-2025 09:57
    No replies, thread closed.

    Hi Melissa,

    Thank you so much. It worked.

    I feel dumb 

    Regards,
    Jarvish Kisanth Singh



    ------------------------------
    Jarvish Kisanth Singh
    ------------------------------