Genesys Cloud - Main

 View Only

Sign Up

  • 1.  Conversation ID in workflow

    Posted 2 days ago

    Hi Team,

    I am trying to built a workflow, where I need to pull the conversation id from trigger.
    I have created Flow.conversationId and left no value as assigned. Not worked.
    Any suggestion how can I get converstaion id and print in workflow notification.


    #ArchitectandDesign

    ------------------------------
    Abhinesh Gupta
    ------------------------------


  • 2.  RE: Conversation ID in workflow

    Posted 2 days ago

    Hi Abhinesh, 

    Check your workflow to make sure you've set flow.conversationId to "Input to flow".



    ------------------------------
    Kaio Oliveira
    GCP - GCQM - GCS - GCA - GCD - GCO - GPE & GPR - GCWM

    PS.: I apologize if there are any mistakes in my English; my primary language is Portuguese-Br.
    ------------------------------



  • 3.  RE: Conversation ID in workflow

    Posted 2 days ago

    Hi Abhinesh,

    +1 to Kaio's point - the key is that the variable must be defined as an Input to Flow (not a regular flow variable), so the trigger can pass the event payload into the workflow.

    Also, depending on the trigger topic, you can use additional fields (conversationId, participantId, sessionId, etc.). You can always find the available fields on the right side under Event Schema (see screenshot).

    schema


    ------------------------------
    Mateus Nunes
    Tech Leader Of CX at Solve4ME
    Brazil
    ------------------------------



  • 4.  RE: Conversation ID in workflow

    Posted 2 days ago

    Hey Abhinesh,

    To also add to what Kaio and Mateus have already said.. Make sure your trigger "Data Format" field is actually set to "TopLevelPrimitives" as shown in Mateus's screenshot above.

    If it's set as "Json", you have to create an specific variable in a different way to get the data from the event.

    But if you only need the conversationId (or any other attributes present on the schema top level), you just create a variable with the EXACT name of the attribute, and define it as "input to flow", as they mentioned above.



    ------------------------------
    Marcello Jabur
    ------------------------------