Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Searching for conversationId by Custom Attributes.

    Posted 2 days ago
    Edited by Chris Peddie 2 days ago

    I've created a flow where a CRM sends in order information to an email flow using endpoint /api/v2/conversations/emails. 

    Get Participant Data then maps these fields to variables, which I then use to send an SMS using Agentless SMS API.

    Once the SMS is sent, I then update the participant data for the customer with the fields, (POST /api/v2/conversations/${input.conversationID}/participants/${input.participantId}/attributes) which then when the customer responds, maps to a message flow for the inbound message where again, I use Get Participant data to pull the fields from the original flow. This then connects to a bot who continues the conversation. This all works great. 

    One of the values provided which carries between the flows is "OrderReference" - this can be seen in the participant data against the customer in the interaction and so I know that the update participant API is working fine. 

    I now need to be able to, in an external CRM, search for "OrderReference" to return the conversationId's for the specific value. I've tried using multiple methods to retrieve the detail, but am getting 400 error for everything I'm trying. 

    I am already using the externalTag value for a different purpose so I can't add the value to the tag. 

    How can I return the conversationId's based on the "OrderReference" value?


    #PlatformAPI
    #Uncategorized

    ------------------------------
    Chris Peddie
    x
    ------------------------------



  • 2.  RE: Searching for conversationId by Custom Attributes.

    Posted 6 hours ago

    Hi Chris,

    a new feature should roll out in Q1 2026 that will help you: Search Endpoint for Attributes data | Genesys Cloud Ideas Portal

    Regards,

    Jeroen



    ------------------------------
    Jeroen van der Sandt
    ------------------------------



  • 3.  RE: Searching for conversationId by Custom Attributes.

    Posted an hour ago

    Thanks Jeroen,

    I'll advise the client accordingly. 



    ------------------------------
    Chris Peddie
    x
    ------------------------------