Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Retrieve Custom Attributes in the workflow - Predictive Engagement.

    Posted 03-04-2024 05:57

    Hello,

    I have a question regarding retrieving custom attributes that we set on the website using the formula :

    Ex: Genesys("command", "Database.set", { messaging: { customAttributes: { NumABO: '12345' }}}.

    When performing a mapping action from a segment to a web message, we can retrieve these attributes via Set Participant Data and consequently utilize them.

    However, when mapping a segment to a workflow, no conversation is managed, and I'm unsure how to retrieve these participants that we need to utilize within the workflow, for example, for sending an email. 

    When I retrieve the session in the workflow using the following block : 

     I find two variables containing the attributes, but they are empty, and I'm unsure if these variables will meet my requirements or not.

    Could you assist me with this matter?

    Reagrds,


    #ConversationalAI(Bots,AgentAssist,etc.)
    #DigitalChannels

    ------------------------------
    Ismail ZNIBER
    Genesys Cloud Consultant, Mentat Conseil SAS
    ------------------------------


  • 2.  RE: Retrieve Custom Attributes in the workflow - Predictive Engagement.

    Posted 03-04-2024 13:49

    Hi Ismail, I don't know if fully understand, but I try...

    For add attribute you use "Set conversation data", but for retrieving this data you need to use "Get conversation data" block in the workflow.

    https://help.mypurecloud.com/articles/get-participant-data-action/

    Att,



    ------------------------------
    Breno Canyggia Ferreira Marreco
    https://www.linkedin.com/in/brenocfm-40b62182/
    ------------------------------



  • 3.  RE: Retrieve Custom Attributes in the workflow - Predictive Engagement.

    Posted 03-07-2024 05:01

    Hello Breno,

    Actually, what I meant is that we don't have any conversation tied to the execution of this workflow. The idea isn't to set the participant data from the workflow, but rather from the website using the formula I mentioned in my initial message.

    Thanks,



    ------------------------------
    Ismail ZNIBER
    Genesys Cloud Consultant, Mentat Conseil SAS
    ------------------------------



  • 4.  RE: Retrieve Custom Attributes in the workflow - Predictive Engagement.
    Best Answer

    Posted 03-07-2024 06:57

    Hello Ismail, 

    I don't know the context of your application in detail, but you could try applying the solution below as well.

    1. From the Toolbox, expand the Data category and drag an Update Data action to the desired location in the task.
    2. In the Update Data workspace, add a meaningful name to describe the item.
    3. Click the Add update statement button and select JourneySegment.
    4. In the Variable Name field, type the label to identify the variable on tasks.
    5. In the Value To Assign field, click the Expression button  and perform one of these steps:
      • Add the expression inline.
      • Click the Large Expression Editor  button to open the Edit Expression Editor and build your expression.
    6. (Optional) To add another variable, click the Add update statement button. 

    https://help.mypurecloud.com/articles/add-a-journey-session-variable/#

    Thanks.



    ------------------------------
    WagnerFilho
    Algar Tecnologia
    ------------------------------



  • 5.  RE: Retrieve Custom Attributes in the workflow - Predictive Engagement.

    Posted 03-07-2024 08:47

    Hello Wagner,

    Thank you for your response, but I'm not sure how I can retrieve a variable that I've set on the website code with an update data. Could you provide more details, please? that would be helpful.

    Thanks



    ------------------------------
    Ismail ZNIBER
    Genesys Cloud Consultant, Mentat Conseil SAS
    ------------------------------



  • 6.  RE: Retrieve Custom Attributes in the workflow - Predictive Engagement.

    Posted 08-06-2024 05:19

    Hi,

    Same scenario here. Any solution for this?

    Thanks in advance.

    Best regards,



    ------------------------------
    Nuno Paulo
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources