{"id":30811,"date":"2022-03-01T16:24:54","date_gmt":"2022-03-01T10:54:54","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=30811"},"modified":"2022-03-02T10:09:01","modified_gmt":"2022-03-02T04:39:01","slug":"how-to-use-invitation-id-of-customer-voice-survey-invitation-in-power-automate-flow","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2022\/03\/how-to-use-invitation-id-of-customer-voice-survey-invitation-in-power-automate-flow\/","title":{"rendered":"How to use Invitation Id of Customer Voice Survey Invitation in Power Automate Flow"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p>Microsoft introduced Customer Voice in 2020 to get feedback from customers and save it into Customer voice entities in Dynamics 365 CRM. Further, they also introduced new features in \u00a0Customer voice.<\/p>\n<p style=\"text-align: justify;\">Recently, I was setting up Customer Voice and creating its invitations using Power Automate Flow. Here, I came across an error when I was trying to use Customer Voice Survey Invitation Id in Power Automate Flow to update the invite as well as set that invite on another record. In this blog we will see how to resolve this error.<\/p>\n<p>In my scenario, I had used Power Automate Flow to create an invitation of Customer Voice Survey and needed to set that Customer Voice invitation in \u201cRecent invites\u201d field on the contact to which it was sent to.<\/p>\n<p>So, I updated the Power Automate Flow to update the Contact and set the survey Invite using Invitation Id output of the \u201cCreate an Invitation\u201d option in Power Automate Flow.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-30812\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/1Customer-Voice-Survey-Invitation.jpeg\" alt=\"Customer Voice Survey Invitation\" width=\"953\" height=\"839\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/1Customer-Voice-Survey-Invitation.jpeg 953w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/1Customer-Voice-Survey-Invitation-300x264.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/1Customer-Voice-Survey-Invitation-768x676.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/1Customer-Voice-Survey-Invitation-660x581.jpeg 660w\" sizes=\"(max-width: 953px) 100vw, 953px\" \/><\/p>\n<p>But I faced an error saying, the record With Id (Invitation Id output of \u201cCreate an Invitation\u201d step) Does Not Exist.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-30814\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/3Customer-Voice-Survey-Invitation.jpeg\" alt=\"Customer Voice Survey Invitation\" width=\"1897\" height=\"813\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/3Customer-Voice-Survey-Invitation.jpeg 1897w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/3Customer-Voice-Survey-Invitation-300x129.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/3Customer-Voice-Survey-Invitation-1024x439.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/3Customer-Voice-Survey-Invitation-768x329.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/3Customer-Voice-Survey-Invitation-1536x658.jpeg 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/3Customer-Voice-Survey-Invitation-660x283.jpeg 660w\" sizes=\"(max-width: 1897px) 100vw, 1897px\" \/><\/p>\n<p>On further checking we found similar kind of error when updating, retrieving or setting Customer voice survey Invite record in CRM using the Invitation Id output.<\/p>\n<p>But from the older flow runs we could confirm that the Invitation Id is the same as Customer voice survey invite record id in CRM.<\/p>\n<p>After further looking into this, we found that we use \u201cCustomer voice\u201d connector\u2019s \u201cCreate an Invitation\u201d option, when we create invitation. As a result, there is usually a certain delay in completing create process of that Customer voice survey Invite\u2019s record in CRM.<\/p>\n<p>So we added a 2 minutes delay in the Power Automate Flow just after creating an Invitation.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-30816\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/5Customer-Voice-Survey-Invitation.jpeg\" alt=\"Customer Voice Survey Invitation\" width=\"910\" height=\"858\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/5Customer-Voice-Survey-Invitation.jpeg 910w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/5Customer-Voice-Survey-Invitation-300x283.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/5Customer-Voice-Survey-Invitation-768x724.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/5Customer-Voice-Survey-Invitation-660x622.jpeg 660w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><\/p>\n<p>After making these changes, we were successfully able to get the Customer Voice Survey Invite record in CRM using Power Automate Flow using Invitation Id output of \u201cCreate an Invitation\u201d step. We were then able to use this Survey Invite record of CRM to update, retrieve operations in CRM.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-30817\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/7Customer-Voice-Survey-Invitation.jpeg\" alt=\"Customer Voice Survey Invitation\" width=\"667\" height=\"551\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/7Customer-Voice-Survey-Invitation.jpeg 667w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/7Customer-Voice-Survey-Invitation-300x248.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/7Customer-Voice-Survey-Invitation-660x545.jpeg 660w\" sizes=\"(max-width: 667px) 100vw, 667px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>As illustrated above, we need to add a delay in Power Automate Flow just after creating a Customer voice Survey Invite in order to use its Invitation Id to perform CRM operations on this Survey Invite record in CRM.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/user-adoption-monitor-in-dynamics-crm\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone wp-image-30819\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/UAM.jpg\" alt=\"\" width=\"832\" height=\"208\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/UAM.jpg 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/UAM-300x75.jpg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/UAM-768x192.jpg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2022\/03\/UAM-660x165.jpg 660w\" sizes=\"(max-width: 832px) 100vw, 832px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Microsoft introduced Customer Voice in 2020 to get feedback from customers and save it into Customer voice entities in Dynamics 365 CRM. Further, they also introduced new features in \u00a0Customer voice. Recently, I was setting up Customer Voice and creating its invitations using Power Automate Flow. Here, I came across an error when I\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2022\/03\/how-to-use-invitation-id-of-customer-voice-survey-invitation-in-power-automate-flow\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18,44,1985,2361],"tags":[2568,2542],"class_list":["post-30811","post","type-post","status-publish","format-standard","hentry","category-dynamics-365-v9-2","category-power-apps","category-power-automate","category-technical","tag-customer-voice-survey-invitation","tag-power-automate-flow"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/30811","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=30811"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/30811\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=30811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=30811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=30811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}