{"id":19779,"date":"2019-07-23T10:56:13","date_gmt":"2019-07-23T10:56:13","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=19779"},"modified":"2020-06-01T12:52:01","modified_gmt":"2020-06-01T12:52:01","slug":"automate-quote-approval-process-in-dynamics-365-crm-using-microsoft-flow","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2019\/07\/automate-quote-approval-process-in-dynamics-365-crm-using-microsoft-flow\/","title":{"rendered":"Automate Quote Approval Process in Dynamics 365 CRM using Microsoft Flow"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p>Microsoft Flow helps us to automate everything &#8211; from simple notifications to complex business processes with defined steps and stages. By using Approval process you can manage the approval decision of invoices, leads etc. from the higher level management in the organization.<\/p>\n<p>In this blog, we are going to explore how to automate Quote Approval process in Dynamics 365 CRM using Microsoft Flow.<\/p>\n<h3><strong>Let\u2019s consider below example for approving the Quote created in Dynamics CRM using Microsoft flow:<\/strong><\/h3>\n<p>When a sales person sends Quote for approval to manager by updating the field <strong>\u2018Send for Approval\u2019<\/strong> to \u2018<strong>yes\u2019<\/strong> then an approval email is sent to the manager for the same. If the manager approves Quote, then <strong>\u2018Approved Status\u2019<\/strong> field on Quote record is updated as <strong>\u2018Approved\u2019<\/strong> and an email is sent to sales person regarding the same.<\/p>\n<p>Given below is the overview of flow that we are going to implement:<\/p>\n<p style=\"padding-left: 80px;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-19780\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/1Microsoft-Flow.png\" alt=\"Microsoft Flow\" width=\"459\" height=\"405\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/1Microsoft-Flow.png 459w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/1Microsoft-Flow-300x265.png 300w\" sizes=\"(max-width: 459px) 100vw, 459px\" \/><\/p>\n<h3><strong>Following are the steps to implement the above scenario using Microsoft Flow:<\/strong><\/h3>\n<p><strong>1<\/strong>. Login to Microsoft flow and click on New \u2014&gt; Automated- From Blank as shown in below screenshot:<\/p>\n<p style=\"padding-left: 80px;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-19781\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/2Microsoft-Flow.png\" alt=\"\" width=\"537\" height=\"267\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/2Microsoft-Flow.png 537w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/2Microsoft-Flow-300x149.png 300w\" sizes=\"(max-width: 537px) 100vw, 537px\" \/><\/p>\n<p><strong>2<\/strong>. Add flow name and click on <strong>\u2018Skip\u2019<\/strong> to create the flow from blank as shown in below screenshot:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19782\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/3Microsoft-Flow.png\" alt=\"\" width=\"902\" height=\"577\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/3Microsoft-Flow.png 902w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/3Microsoft-Flow-300x192.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/3Microsoft-Flow-768x491.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/3Microsoft-Flow-660x422.png 660w\" sizes=\"(max-width: 902px) 100vw, 902px\" \/><\/p>\n<p><strong>3<\/strong>. Now add a CDS connector and choose action <strong>\u2018Update a record\u2019<\/strong> and configure as shown below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19783\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/4Microsoft-Flow.png\" alt=\"\" width=\"613\" height=\"602\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/4Microsoft-Flow.png 613w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/4Microsoft-Flow-300x295.png 300w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19784\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/5Microsoft-Flow.png\" alt=\"\" width=\"608\" height=\"288\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/5Microsoft-Flow.png 608w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/5Microsoft-Flow-300x142.png 300w\" sizes=\"(max-width: 608px) 100vw, 608px\" \/><\/p>\n<p><strong>4<\/strong>. Next, check if the condition <strong>\u2018Send for Approval\u2019<\/strong> field on Quote record of Dynamics 365 CRM is equal to true or not, as shown in below screenshot:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19785\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/6Microsoft-Flow.png\" alt=\"\" width=\"593\" height=\"508\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/6Microsoft-Flow.png 593w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/6Microsoft-Flow-300x257.png 300w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/p>\n<p><strong>5<\/strong>. Now in <strong>Yes<\/strong> part of the flow add action as <strong>\u2018Get Record\u2019<\/strong> of CDS connector and below this action add another same action to get the manger of user, as shown in below screenshot:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19786\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/7Microsoft-Flow.png\" alt=\"\" width=\"653\" height=\"500\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/7Microsoft-Flow.png 653w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/7Microsoft-Flow-300x230.png 300w\" sizes=\"(max-width: 653px) 100vw, 653px\" \/><\/p>\n<p><strong>6<\/strong>. Search connector approval and select <strong>\u2018Start and wait for the approval\u2019<\/strong> as shown in below screenshot:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19787\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/8Microsoft-Flow.png\" alt=\"\" width=\"606\" height=\"506\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/8Microsoft-Flow.png 606w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/8Microsoft-Flow-300x250.png 300w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/p>\n<p><strong>7<\/strong>. Select and Add fields as shown in below screenshot:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19788\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/9Microsoft-Flow.png\" alt=\"\" width=\"643\" height=\"600\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/9Microsoft-Flow.png 643w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/9Microsoft-Flow-300x280.png 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Here, set <strong>Assigned To<\/strong> as email address of the manager.<\/p>\n<p><strong>8<\/strong>. Now let\u2019s add a condition where we need to check outcome is equal to <strong>\u2018Approve\u2019<\/strong> after we get approval response.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19789\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/10Microsoft-Flow.png\" alt=\"\" width=\"606\" height=\"432\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/10Microsoft-Flow.png 606w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/10Microsoft-Flow-300x214.png 300w\" sizes=\"(max-width: 606px) 100vw, 606px\" \/><\/p>\n<p><strong>9<\/strong>. Depending upon the approval of manager we will send email to the owner of Quote regarding the process.<\/p>\n<ul>\n<li>In the true part of above condition add action as send email using outlook connector. Set <strong>To<\/strong> as <strong>\u2018Email\u2019<\/strong> of the owner of quote in order to notify him that quote is approved.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19790\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/11Microsoft-Flow.png\" alt=\"\" width=\"598\" height=\"488\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/11Microsoft-Flow.png 598w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/11Microsoft-Flow-300x245.png 300w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/><\/p>\n<ul>\n<li>And below the above action add the <strong>\u2018update the record\u2019<\/strong> action of Dynamics 365 CRM and update the approval Status as <strong>\u2018Approved\u2019<\/strong> on quote record.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19791\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/12Microsoft-Flow.png\" alt=\"\" width=\"601\" height=\"450\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/12Microsoft-Flow.png 601w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/12Microsoft-Flow-300x225.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/p>\n<ul>\n<li>In the false part of above condition add action as send email using outlook connector. Set <strong>To<\/strong> as <strong>\u2018Email\u2019<\/strong> of the owner of quote in order to notify him that quote is rejected.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19792\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/13Microsoft-Flow.png\" alt=\"\" width=\"601\" height=\"505\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/13Microsoft-Flow.png 601w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/13Microsoft-Flow-300x252.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/p>\n<ul>\n<li>And below the above action add the <strong>\u2018update the record\u2019<\/strong> action of Dynamics 365 CRM and update the approval Status as <strong>\u2018Rejected\u2019<\/strong> on quote record.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19793\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/14Microsoft-Flow.png\" alt=\"\" width=\"605\" height=\"455\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/14Microsoft-Flow.png 605w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/14Microsoft-Flow-300x226.png 300w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/p>\n<p>Now let us trigger the workflow by updating <strong>Send to Approval<\/strong> field on Quote record to <strong>\u2018Yes\u2019<\/strong>:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19794\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/15Microsoft-Flow.png\" alt=\"\" width=\"269\" height=\"55\" \/><\/p>\n<p><strong>a<\/strong>. The flow is triggered and as you can see in below screenshot, the action <strong>\u2018Start and wait for approval\u2019<\/strong> is in wait condition:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19795\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/16Microsoft-Flow.png\" alt=\"\" width=\"978\" height=\"622\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/16Microsoft-Flow.png 978w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/16Microsoft-Flow-300x191.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/16Microsoft-Flow-768x488.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/16Microsoft-Flow-660x420.png 660w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/p>\n<p><strong>b<\/strong>. Now the manager will get below mail and when clicked on <strong>\u2018Approve\u2019<\/strong> and then <strong>\u2018Submit\u2019 <\/strong>button, the flow will resume to perform next action:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19796\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/17Microsoft-Flow.png\" alt=\"\" width=\"893\" height=\"687\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/17Microsoft-Flow.png 893w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/17Microsoft-Flow-300x231.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/17Microsoft-Flow-768x591.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/17Microsoft-Flow-660x508.png 660w\" sizes=\"(max-width: 893px) 100vw, 893px\" \/><\/p>\n<p><strong>c<\/strong>. Next, the owner of quote will receive a mail regarding approval of the quote and <strong>\u2018Approval Status\u2019<\/strong> will be updated as <strong>\u2018Approved\u2019<\/strong>, as shown below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19797\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/18Microsoft-Flow.png\" alt=\"\" width=\"615\" height=\"331\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/18Microsoft-Flow.png 615w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/18Microsoft-Flow-300x161.png 300w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Using the above Microsoft Flow we can configure and automate simple Quote approval process for Dynamics 365 CRM.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/development\/microsoft-flow-logic-apps-dynamics-365\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter  wp-image-19807\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/PowerApps-1.png\" alt=\"\" width=\"824\" height=\"206\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/PowerApps-1.png 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/PowerApps-1-300x75.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/PowerApps-1-768x192.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/07\/PowerApps-1-660x165.png 660w\" sizes=\"(max-width: 824px) 100vw, 824px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Microsoft Flow helps us to automate everything &#8211; from simple notifications to complex business processes with defined steps and stages. By using Approval process you can manage the approval decision of invoices, leads etc. from the higher level management in the organization. In this blog, we are going to explore how to automate Quote\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2019\/07\/automate-quote-approval-process-in-dynamics-365-crm-using-microsoft-flow\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":19808,"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":[36,1985],"tags":[1150],"class_list":["post-19779","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-flow","category-power-automate","tag-microsoft-flow"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/19779","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=19779"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/19779\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/19808"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=19779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=19779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=19779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}