How to display custom name for on-going interaction on genesys embeddable framework?

Whenever a call comes in the embeddable framework, we search for contacts in our external system. Once we find the contact we want to display a custom name of contact for on-going interaction item in embeddable framework. We tried the below solution but it did not work.

  1. We have added "customInteractionAttributes" ("fw_contact_name") in framework.js

  2. We have configured displayObject in framework.js to show the customInteractionAttributes as per the document https://developer.genesys.cloud/platform/embeddable-framework/configMethods/displayObject

display: {
interactionDetails: {
call: [
"framework.DisplayAddress",
"call.Ani",
"participant.fw_contact_name"
]
}
}

  1. Now when we receive a call, we search for freshdesk contact in "contactSearch" genesys event and publish " sendContactSearch " genesys event to set the below contact details
 {
    type: 'external',
    name: <freshdesk-contact-name>,
    id: <freshdesk-contact-id>,
    phone: <phone-number>,
    attributes: {
     fw_contact_id: <freshdesk-contact-id>,
     fw_contact_name: <freshdesk-contact-name>,
    },
 }
  1. We also publish the event " addAttribute " to set the " fw_contact_name " attribute.

Even after these steps, the contact name we set in displayObject is still not being displayed on genesys embeddable framework.

Is there a way to do this? can someone suggest a solution for this usecase.

I believe you need to prefix the attribute with "participant." when you're setting it in order to display, using the config you've shown. I just tested that in the Salesforce integration, which operates on nearly identical principals to the Embeddable Framework, and that worked for me (i.e. it displayed as soon as I set the participant.{name} attribute that was defined in my customized display).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.