web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Dynamics 365 Omnichannel for Customer Service: Connect Post Chat Survey Response back to Chat Conversation Record in Omnichannel

(0) ShareShare
ReportReport
Posted on by 306

Hello Community,

Dynamics 365 Omnichannel for Customer Service is using the survey created in Dynamics 365 Customer Voice for post chat surveys. During initial testing, it appears as though (at least out of the box) the survey response can only be viewed within Dynamics 365 Customer Voice as anonymous. Does anyone know if it would be possible to associate the individual survey response from the respondent with the respective chat conversation record in Omnichannel? The use case here is that as a chat agent, I would like to be able to look at the customer's conversation history and be able to see any survey responses provided so that I know what survey feedback is tied to which customer contact. We would like to be able to view the post chat survey response directly in the Omnichannel application.

Is this possible?

Any insights would be appreciated.

Thank you! 

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi,

    Unfortunately, it can't be achieved currently.

  • ShannonCRM Profile Picture
    502 on at

    It is quite ridiculous that the post-chat survey cannot be connected to the conversation.  The survey data is of no use if you cannot follow up with the agent or customer.  Not an answer - I'm just here to get any future responses in case this is corrected.  I did open a case with Microsoft today.

    Update:

    Microsoft informed me it was not possible in the platform, however, see my new post below for the "answer".

  • Suggested answer
    ShannonCRM Profile Picture
    502 on at

    I have an answer for all y'all and I hope you will mark it as helping you, and that this helps others.

    The answer is - they can be connected, even though Microsoft built the surveys to  be anonymous.

    The "Customer Voice Survey Response" is what you want to connect.  However there's no information on this record that will help you.   Go to its parent record, though, "Customer Survey Invite" and you will find what you need in a field called "Other Properties".  Now, it's in a JSOn format, so you're going to need a  PowerAutomate to parse this out for you.  

    Now,  noting that conversations are activities and customer survey responses and invites are also activities.  So, you can't just set the customer survey response as related to the Conversation - that won't work.  So you must have the Conversation itself be Regarding something, like a Contact, or a Case, for the following to work.  Because you are goign to maek the Customer Voice Survey Response related to (regarding) the same object that the Conversation is regarding.

    The steps to the PowerAutomate are this:

    Trigger: When a "Customer Voice Survey Response" is created and Survey Invite contains data and Regarding does not contain data

    Then we know that there is the precious invite record we need and we know it isn't a case survey that it's already Regarding a case.  

    Step 1: Get the Survey Invite Record using hte surveyinviteid_value from the Customer Voice Survey Response.

    Step 2: Use "Parse JSON" on the field "Other Properties".   Here's the schema

    {

       "type": "array",

       "items": {

           "type": "object",

           "properties": {

               "regardingidkey": {

                   "type": "string"

               },

               "extInviteSourceId": {

                   "type": "string"

               }

           },

           "required": [

               "regardingidkey",

               "extInviteSourceId"

           ]

       }

    }

    Step 3 : Initialize a variable called "ConversationID"

    Step 4: Set the Variable to the "extInviteSourceID" from the Parse JSON.

    Step 5: Get the Conversation now with that GUID.

    Step 5a: Optionally get the Agent "Full name" from the Users table based on the Conversation.  You don't have to do this but I used it for something later.

    - I did a null check here on Regarding(Type) to ensure it had a value so that I could terminate if it didn't, since the next step will fail if it's null.

    Step 6: Do a "Switch" statement on the Regarding (Type)

    It's a conversation, so you know it's going to be a Case or a Contact.  Then, the following step is updating the Customer Voice Survey Response record (the original one that triggered the PA).   Depending on whether it's a case or a contact, you'll be updating the Regarding (Case) or Regarding (Contact) field.  I also updated the Subject field (which was blank) with a title - "Post-Chat Survey with Agent AgentFullName".  

    Sorry I couldn't export and attach the flow, but if you are familiar with PowerAutomate, then you should be able to follow the steps above to re-create what I have done.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 93

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans