Power Community

Power Community

Automate Creating Customer Voice Survey Invitations using Canvas Power Apps

In our previous blog, we explored the potential of automating the survey invitation process using Power Automate Flow. We concluded that this approach, coupled with personalized variables in the Customer Voice Survey, provides a streamlined method for collecting and analyzing valuable customer feedback.

In this blog, we will consider a similar use case scenario in which users will have the capability to generate Customer Voice Survey Invitations for Companies (Accounts). This process is facilitated through selected views within Canvas Power Apps, orchestrated seamlessly via a Power Automate Flow.

Let’s now walk through the step-by-step process to fulfill this requirement within the Canvas app.

Step 1: Navigate to https://make.powerapps.com to design a sample Canvas App in Power Apps.

Create a Canvas App named ‘Distribute Survey Invitations‘ for mobile devices and add the data source entities as shown in the provided screenshot.

Automate Creating Customer Voice Survey Invitations

Step 2: Add a Combo box named ‘AccountViews’ to display all the system views for the Account entity.

Automate Creating Customer Voice Survey Invitations

Add the below formula to the Items property of the Combo Box to display all the views for the Account entity:

Filter(
    Views,
    $"" exactin 'Fetch XML' 
)
)

Step 3: Add a Combo box named “SurveyComboBox” to display Customer Voice Surveys from all environments.

Automate Creating Customer Voice Survey Invitations

Note:

  • When following the above step to display Surveys, it will show Customer Voice Surveys from all environments.
  • We can display Surveys based on the Projects by adding another combo box that will show all projects. Surveys can then be displayed based on the selected project.

Step 4: Add a button named “btnDistribute” and configure it to trigger a Power Automate Flow when clicked.

Automate Creating Customer Voice Survey Invitations

Step 5: Create a new Power Automate Flow with the trigger set as Power Apps.

Automate Creating Customer Voice Survey Invitations

  • Add parameters for Fetch XML and Customer Voice Survey, which will be passed from the Canvas app.

Step 6: Add a “List rows” step and include the Fetch XML parameter to retrieve the account records based on the selected view.

Automate Creating Customer Voice Survey Invitations

Step 7: Add a “Create an invitation” step from Customer Voice.

Automate Creating Customer Voice Survey Invitations

  • Select a project from which you want to choose a survey.
  • Add a parameter named “customer voice survey” that will be passed from the Canvas app.
  • Set the “regarding” field as the accounts that we fetched in the previous step.

Step 8: In the Canvas app, trigger a flow with the click of a button and pass parameters such as the selected account view and selected survey.

Automate Creating Customer Voice Survey Invitations

Step 9: Run the Canvas app, select a view for the account, choose the survey, and then click on the distribute button to create invitations.

Automate Creating Customer Voice Survey Invitations

  • On the click of the Distribute button, Power Automate Flow will be triggered, and invitations will be generated for the Accounts.

Conclusion:

In this way, we can automate the process of generating survey invitations through Canvas Apps in the Customer Voice Survey, which makes it easier to collect and analyze valuable customer feedback.

Canvas App

This post was originally published on this site

- Advertisement -spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement - Advertisement

Latest News

Preferred Solution | New feature | Microsoft Dataverse

Click on the below image to navigate to my YouTube Channel. Please like and share your valuable feedback on this...

More Articles Like This

- Advertisement -spot_img