{"id":405,"date":"2020-06-30T16:19:10","date_gmt":"2020-06-30T16:19:10","guid":{"rendered":"http:\/\/stirna.is\/?p=405"},"modified":"2020-06-30T16:19:10","modified_gmt":"2020-06-30T16:19:10","slug":"integrate-your-website-with-dynamics-365-sales","status":"publish","type":"post","link":"https:\/\/stirna.is\/?p=405","title":{"rendered":"Integrate your website with Dynamics 365 Sales"},"content":{"rendered":"\n<p class=\"has-small-font-size wp-block-paragraph\">Task: Integrate your website with Dynamics 365 Sales using Parserr parsing software<br>Difficulty: Advanced<br>Time to implement: 1-2 hours<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am quite excited about sharing with you a great discovery I made when surfing the web looking for new ways to handle automatic record creation in Dynamics 365 from emails messages. In my research, I came across a parsing tool that enables you to create any record in Dynamics 365 based on form submissions and email messages. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">In this post I will show you how you can use this new tool to integrate a standard contact webform on your website with CRM (<em>Note: Previously I have done a <a href=\"https:\/\/stirnadotis.wordpress.com\/category\/microsoft-forms\/\">three-part blog series how this can be done with Microsoft Forms<\/a><\/em>).  To facilitate this integration you will use Parserr, a brilliant parsing tool, that&#8217;s easy to use and free*.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-rich wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Using Parserr with WordPress - part 1\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/j1dop98JDmk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption>Part 1: Intro, tools used and connecting Parserr with your WordPress site<\/figcaption><\/figure>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">*Free plan includes 1 inbox and up to 15 emails a month<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Table of contents<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"\/integrate-your-website-with-dynamics-365-sales\/#Tools\">Tools used<\/a><br><a href=\"\/integrate-your-website-with-dynamics-365-sales\/#SignUp\">Part 1 &#8211; Setting up Parserr<\/a><br><a href=\"\/integrate-your-website-with-dynamics-365-sales\/#SignUp\">1.1 Signing up<\/a><br><a href=\"\/integrate-your-website-with-dynamics-365-sales\/#InboxConfiguration\">1.2 Configuring your Inbox<\/a><br><a href=\"\/integrate-your-website-with-dynamics-365-sales\/#SetUpFlow\">Part 2 &#8211; Setting up the flow<\/a><br><a href=\"\/integrate-your-website-with-dynamics-365-sales\/#CreateFlow\">2.1 Create the Flow<\/a><br><a href=\"\/integrate-your-website-with-dynamics-365-sales\/#ConfigureFlow\">2.2 Configure the Flow<\/a><br><a href=\"\/integrate-your-website-with-dynamics-365-sales\/#TestingFlow\">2.3 Testing the Flow<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Tools\">1. Tools used<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Parserr<\/strong>: A parsing tool that allows you to extract content from emails and parse information from the email body into variables or fields. <\/li><li><strong>WordPress forms<\/strong>: WordPress is the most popular CMS system in the world and comes equipped with a standard contact us form that can be easily customized.<\/li><li><strong>Dynamics 365 Sales<\/strong>: A popular CRM system from Microsoft that allows you to track your sales pipeline and activities, opportunities, and leads. &nbsp; &nbsp;&nbsp; <\/li><li><strong>Power Automate<\/strong>: A service from Microsoft that allows you to connect different systems. In this example it is used to connect your form to Dynamics 365 Sales facilitated by a connector from Parserr.<\/li><li><strong>Power-up for Dynamics 365: <\/strong>A handy chrome extension that provides quick access to various Dynamics 365 information, such as GUID information of records. In this case, it is used to copy the GUID of a user record in D365.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"SignUp\">Part 1 &#8211; Setting up Parser<br>1.1 Signing up<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">What you are about to do is to create an Inbox at Parserr to connect and prepare the data contained in your submitted form to be imported to CRM (Parserr is <a rel=\"noreferrer noopener\" href=\"https:\/\/parserr.com\/privacy\" target=\"_blank\">GDPR compliant<\/a> by the way). While it sounds complex (and probably is behind the scenes), the configuration process is surprisingly simple and easy to set up. It takes only five minutes and there is no coding required. So, let&#8217;s get started:  <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Register at <a rel=\"noreferrer noopener\" href=\"https:\/\/parserr.com\/account\/Register\" target=\"_blank\">Parserr&#8217;s website<\/a>.<\/li><li>When you have filled in the information and accepted their terms and <a rel=\"noreferrer noopener\" href=\"https:\/\/parserr.com\/privacy\" target=\"_blank\">privacy policy<\/a> press the &#8216;Register&#8217; button.<\/li><li>Log in through the <a rel=\"noreferrer noopener\" href=\"https:\/\/parserr.com\/account\/Login\" target=\"_blank\">Parserr&#8217;s web portal<\/a>. Fill in your newly created username and password.<\/li><li>Press the &#8216;Log in&#8217; button to sign in.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"InboxConfiguration\">1.2 Configuring your Inbox<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you are signed in, you will be guided through the process of setting up your Inbox. It&#8217;s a three step process. To start the process, click &#8216;Great. Let&#8217;s get started&#8217; button<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Copy the email address in the first step and add it to the &#8216;Email addresses to send the form to&#8217; field on your form in WordPress.  <\/li><li>Submit a test email through the form filling out all fields on the form.<\/li><li>Go back to the Parserr portal&#8217;s set up page and wait for the email to be received. Once it is received, you will automatically be taken to the next stage in the process.<\/li><li>Click &#8216;Great. Let&#8217;s create some rules&#8217; button.<\/li><li>Answer Parserr&#8217;s questions. You are extracting or parsing information from the body of your email and you will be using Power Automate (Microsoft Flow) as an integration tool. Lastly, you are extracting data to be used in Microsoft Dynamics 365 Sales (Microsoft Dynamics CRM).<\/li><li>Once you have answered these three questions, press the &#8216;Finish&#8217; button. This will take you to a Email Quick Setup page.<\/li><li>Click Yes, create the rules I have checked above (make sure that your contact&#8217;s name is stored in two separate fields as the default WordPress form stores name information in a single field). <\/li><li>On the navigation, click Incoming emails. You should see your test email appear on the list and the status should be Parsed. <\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"SetUpFlow\">Part 2 &#8211; Setting up the flow<\/h2>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-rich wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Using Parserr with WordPress - part 2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/9amQTpaM7nA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"CreateFlow\">2.1 Creating the flow<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">At this stage in your task you&#8217;ve already done most of the work. You have configured Parserr&#8217;s parsing definition, connecting your form submission to that service which will provide us with structured data required to add to our CRM database. The remaining task is simply configuring a Power Automate flow for the integration between your website and CRM.  As soon as you have configured your Parserr Inbox you can create your flow.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You create your flow by logging into the <a href=\"https:\/\/flow.microsoft.com\">flow.microsoft.com<\/a> website and:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Click + Create on the left navigation. This opens a page where you can choose from different options. You will create a flow from blank.<\/li><li>Choose Automated flow. This opens up a window where you can choose a trigger.<\/li><li>Give your flow a name and search for &#8216;Parserr&#8217;. Choose &#8216;When an email is received&#8217; as your trigger.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"ConfigureFlow\">2.2 Configuring the flow<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have created the flow, you can start to configure your trigger and choose what you want to do with that trigger. A trigger is something that happens that will set cause your flow to run. In this case it is an email that is received in the Parserr system.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>In the When an email is received box in the flow designer, choose the appropriate Inbox or email.<\/li><li>Click &#8216;+Next step&#8217; below the box and choose &#8216;Create a new record&#8217; action for the Common Data Service.<\/li><li>In the Create a new record Environment drop down field, select the environment where your Dynamics 365 Sales system is located.<\/li><li>In the Create a new record Entity name drop down field, select the lead entity (called &#8216;Leads&#8217;).<\/li><li>Using the Dynamic content feature, fill in the appropriate information on the Lead form (I recommend giving your lead an owner. To do this you need to retrieve the GUID of your user. You can use Power Up for Dynamics 365 to do this. See the video how its done).<\/li><li>Click the &#8216;Save&#8217; button. <\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"TestingFlow\">2.3 Testing the flow<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>At the top right corner of the command ribbon, click the &#8216;Test&#8217; button.<\/li><li>Select th &#8216;I&#8217;ll perform the trigger action&#8217; option.<\/li><li>Click the &#8216;Save and test&#8217; button.<\/li><li>Go to your WordPress form and fill in all the fields and press &#8216;Submit&#8217;. Make sure it is the same form you configured in step 1.2.1 above.<\/li><li>Wait for your flow to run.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If your test is successful you have completed the task of integrating your website with Dynamics 365 Sales using Parserr parsing software. Congratulations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you like this post, please subscribe to my blog and YouTube channel. Also feel free to share this blog post and leaving your thoughts or comments in the comment section below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Task: Integrate your website with Dynamics 365 Sales using Parserr parsing softwareDifficulty: AdvancedTime to implement: 1-2 hours I am quite excited about sharing with you a great discovery I made when surfing the web looking for new ways to handle automatic record creation in Dynamics 365 from emails messages. In my research, I came across [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":433,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,6],"tags":[],"class_list":["post-405","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365","category-integration"],"_links":{"self":[{"href":"https:\/\/stirna.is\/index.php?rest_route=\/wp\/v2\/posts\/405","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stirna.is\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stirna.is\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stirna.is\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stirna.is\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=405"}],"version-history":[{"count":0,"href":"https:\/\/stirna.is\/index.php?rest_route=\/wp\/v2\/posts\/405\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stirna.is\/index.php?rest_route=\/wp\/v2\/media\/433"}],"wp:attachment":[{"href":"https:\/\/stirna.is\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stirna.is\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stirna.is\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}