Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Data flow between inbound flow and workflow

    Posted 10-14-2022 06:00
    No replies, thread closed.
    Hi Community,

    I am looking for passing certain data from an inbound flow to a workflow.
    Specific use case: an inbound call comes (point A) -> at wrapup, I am using a process automation trigger to invoke a workflow -> workflow is invoked(point B). Can data from the inbound flow (point A) be somehow retrieved in the workflow(point C)? 

    We can pass data between inbound and inqueue flows using set/get participant data. But a similar thing is not available for workflows. 


    Regards,
    Garima.
    #Implementation

    ------------------------------
    garima balodi
    Tata Communications Limited
    ------------------------------


  • 2.  RE: Data flow between inbound flow and workflow

    Posted 10-14-2022 14:59
    No replies, thread closed.
    Howdy,

    You can pull participant data into Workflows using the 'Get Conversation Data' toolbox action - the name is changed, but it's pulling in Participant data.

    ------------------------------
    Brad Murlin
    Zillow, Inc.
    ------------------------------



  • 3.  RE: Data flow between inbound flow and workflow

    Posted 10-14-2022 22:42
    No replies, thread closed.
    Hi Brad,

    Get conversation data , requires a conversation id as a mandatory input. I am not looking to retrieve a particular conv id here. But data for all the calls that land up to this workflow.

    ------------------------------
    garima balodi
    Tata Communications Limited
    ------------------------------



  • 4.  RE: Data flow between inbound flow and workflow

    Posted 10-15-2022 00:26
    No replies, thread closed.
    With workflows you can feed variable data in for runtime, such as a conversation ID. The setup is similar to common modules:

    Add the variable 'conversationId' to the workflow and enable the input option, then use that new variable on the Get Conversation data toolbox item instead of the literal starting option the flow has. If you're initiating this workflow from an event trigger, you should be set. If you're initiating from a 'start Workflow' API call you'll need to specify conversation ID in that API call.





  • 5.  RE: Data flow between inbound flow and workflow

    Posted 10-18-2022 01:24
    No replies, thread closed.
    Hi Brad ,

    Thanks for your response, I am trying to achieve this but am stuck on one point:-

    "Add the variable 'conversationId' to the workflow and enable the input option"   --  I am using an "update data" block here to achieve this and enabled the "input to flow" option also but what should come in "value to assign " of this variable as it is mandatory to assign a value? 


    Regards
    Garima.


    ------------------------------
    garima balodi
    Tata Communications Limited
    ------------------------------



  • 6.  RE: Data flow between inbound flow and workflow

    Posted 10-20-2022 05:09
    No replies, thread closed.

    Hi Garima,

    if you execute workflow using the /api/v2/flows/executions API, you can pass parameters to the workflow in the request body, like this:

    {
    "flowId": "${input.WORKFLOW_ID}",
    "inputData": {
    $!{input.ATTRIBUTES}
    }
    }

    where input.ATTRIBUTES is a string of key:value pairs, for example:

    Flow.inCALLBACK_CONVERSATION_ID":"aaaaaaaa-1111-411f-9363-b3a3619fa876","Flow.inCALLBACK_SCHED_DATE_TIME":"2022-10-17T17:11:15.000Z"

    and each key is a name of the workflow input parameter:

    Regards,

    Irina



    ------------------------------
    Irina Milstein
    ITNAV-Pro Ltd.
    ------------------------------