Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Cloud flow to receive Customer Voice survey responses

(4) ShareShare
ReportReport
Posted on by 13

Hi,

As I just started to work with D365 and Customer Voice, I was wondering is there a way to create a cloud flow where I can get survey responses and send them as an email to case owners and related people?

BR,

Roland

  • Suggested answer
    Daivat Vartak (v-9davar) Profile Picture
    4,709 Super User 2025 Season 1 on at
    Cloud flow to receive Customer Voice survey responses
    Hello Roland,
     

    Yes, absolutely! You can create a Power Automate cloud flow to capture Customer Voice survey responses and send them via email to case owners and related individuals. Here's a step-by-step guide on how to achieve this:

     

    1. Trigger: When a response is submitted (Microsoft Forms)

    • In Power Automate, create a new Automated cloud flow.
    • Search for and select the "When a response is submitted" trigger from the Microsoft Forms connector.
    • Select the specific Customer Voice survey you want to monitor.

    2. Get Response Details (Microsoft Forms)

    • Add the "Get response details" action from the Microsoft Forms connector.
    • Select the same survey as in the trigger.
    • Use the "Response Id" dynamic content from the trigger to get the details of the submitted response.

    3. Get Case Details (Dataverse)

    • Add the "Get a row by ID" action from the Dataverse connector.
    • Select the "Cases" table.
    • You'll need to identify how your survey response is linked to the case.

      • If the survey contains a question that captures the case ID, use that response value.
      • If there's another relationship (e.g., a lookup field in the survey response entity), use that to retrieve the case. 

    • Use the appropriate dynamic content to populate the "Row ID" field.

    4. Get Case Owner Details (Dataverse)

    • Add another "Get a row by ID" action from the Dataverse connector.
    • Select the "Users" table.
    • Use the "Owner" (ownerid) dynamic content from the "Get a row by ID" (Case) action to get the owner's details.

    5. Get Related Contact Details (Dataverse)

    • If you need to send the email to related contacts (e.g., the customer who submitted the survey), add another "Get a row by ID" action.
    • Select the "Contacts" table.
    • Retrieve the contact ID using the appropriate dynamic content from the survey response or case.
    • If you have more than one contact related to the case, you will need to use a List Rows Action.

    6. Compose Email Content:

    • Add a "Compose" action to create the email body.
    • Use dynamic content from the survey response, case, owner, and contact actions to build the email message.
    • You can include:

      • Survey response values.
      • Case details (e.g., case title, case number).
      • Owner's name and email address.
      • Contact's name and email address. 

    • You can use HTML to format the email.

    7. Send Email (Outlook or Other Email Connector):

    • Add the "Send an email (V2)" action from the Outlook 365 connector (or another email connector of your choice).
    • Populate the "To," "Subject," and "Body" fields.

      • Use the owner's email address from the "Get a row by ID" (Owner) action.
      • If you have related contacts, use the contact’s email address. If you have multiple contacts, use the “Apply to each” action to loop through the contact and send the email to each one.
      • Use the "Compose" action's output for the email body. 

    • Customize the subject and body as needed.

    •  

    Important Considerations:

    • Error Handling: Implement error handling using "Configure run after" to gracefully handle potential failures (e.g., case not found, owner not found).
    • Permissions: Ensure that the Power Automate connection used for Dataverse has sufficient permissions to read case, user, and contact records.
    • Data Security: Be mindful of data security and avoid including sensitive information in the email.
    • Testing: Thoroughly test your flow with different survey responses and case scenarios.
    • Complex Relationships: if the relationship between cases and survey responses is complex, you may need to use more advanced Dataverse queries or custom logic.
    • Large Volumes: if you are expecting a large number of survey responses, consider using a queue or other mechanism to prevent the flow from overloading.

    •  

    This flow effectively automates the process of notifying case owners and related individuals about survey responses, streamlining your customer feedback management.

     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.
     
    My response was crafted with AI assistance and tailored to provide detailed and actionable guidance for your Microsoft Dynamics 365 query.
     
    Regards,
    Daivat Vartak
  • Community member Profile Picture
    7 on at
    Cloud flow to receive Customer Voice survey responses
    @Adrian Begovich  I appreciate your knowledge. It contains knowledge that is desperately required. After obtaining the survey results, you can use Power Automate to construct an action that will send the results to case owners and other relevant parties. 
  • Suggested answer
    Adrian Begovich Profile Picture
    1,023 Super User 2025 Season 1 on at
    RE: Cloud flow to receive Customer Voice survey responses

    Hi Roland West,

    This forum topic explains how to get survey responses from Customer Voice in Power Automate. Once you obtain the survey responses you can create an action in Power Automate to email them to case owners and related people.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,354 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,498 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans