{"id":5903,"date":"2019-10-30T09:19:23","date_gmt":"2019-10-30T09:19:23","guid":{"rendered":"https:\/\/www.softreetechnology.com\/?p=5903"},"modified":"2019-10-30T09:19:23","modified_gmt":"2019-10-30T09:19:23","slug":"send-email-using-msflow-on-button-click-from-powerapps","status":"publish","type":"post","link":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/","title":{"rendered":"Send Email using MSFlow On Button Click from PowerApps"},"content":{"rendered":"\n<p>In this article, I will explain how to send an email on button click from PowerApps through MSFlow. This article will help us in how to trigger a flow from PowerApps, passing dynamic values to Microsoft flows. I have divided this blog into mainly three subcategories and they are as mentioned below.<br> 1-    Creation of List<br> 2-    Creation of Power Apps<br> 3-    Creation of MS Flows<br> <strong>Step1: Creation of List<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>I have created a Custom List in SharePoint online environment.<\/li><li>The list name is \u201cListFlow\u201d.<\/li><li>I have created three columns (Email, Subject, and Body) in this list and they are shown in the below screenshot. <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/1-5-1024x242.jpg\" alt=\"\" class=\"wp-image-5904\"\/><\/figure>\n\n\n\n<p><strong>Step2: Creation of Power Apps<\/strong><\/p>\n\n\n\n<p>4. Once the\nlist is created with these three columns then please create a PowerApps named \u201cEmail\nNotification\u201d.<\/p>\n\n\n\n<p>5. For creating Power Apps please click on \u201cPowerApps\u201d from ribbon and then click on \u201cCreate an app\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/2-4.jpg\" alt=\"\" class=\"wp-image-5905\"\/><\/figure>\n\n\n\n<p>6. Now it will show as it is showing in the below-mentioned screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/3-5-1024x499.jpg\" alt=\"\" class=\"wp-image-5906\"\/><\/figure>\n\n\n\n<p>7. Now, add\na button for sending the email. Please follow the steps (8 and 9) for adding\nthe button.<\/p>\n\n\n\n<p>8. Click on Insert from the Ribbon menu.<\/p>\n\n\n\n<p>9. Then Click on Button (refer below screenshot).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/4-4-1024x258.jpg\" alt=\"\" class=\"wp-image-5907\"\/><\/figure>\n\n\n\n<p>10. Name the button on text property as \u201cNotify\u201d. (please refer below mentioned screenshot)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/5-4-1024x545.jpg\" alt=\"\" class=\"wp-image-5908\"\/><\/figure>\n\n\n\n<p>11. Now the setup is completed in the PowerApps.<br><\/p>\n\n\n\n<p><strong>Creation of MS Flow<\/strong><\/p>\n\n\n\n<p>12. Now\nLet&#8217;s create a MSFlow on the button (Notify) click. <\/p>\n\n\n\n<p><strong>Procedure:<\/strong><\/p>\n\n\n\n<p>13. Click\non \u201cNotify\u201d Button.<\/p>\n\n\n\n<p>14. Click\non \u201cCreate a new flow\u201d under Action (please refer below screenshot)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/6-4-1024x546.jpg\" alt=\"\" class=\"wp-image-5910\"\/><\/figure>\n\n\n\n<p>15. After\nclicking on \u201cCreate a new flow\u201d it will just open the Data window. Then it will\ntake you to the Flow Studio<\/p>\n\n\n\n<p>16. Now click on the \u201c<strong>Click a button in PowerApps to send an email<\/strong>\u201d. (as shown below)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/7-3-1024x529.jpg\" alt=\"\" class=\"wp-image-5911\"\/><\/figure>\n\n\n\n<p>17. Now click on \u201cContinue\u201d button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/8-3-1024x550.jpg\" alt=\"\" class=\"wp-image-5912\"\/><\/figure>\n\n\n\n<p>18. Now build the email with the details for Email, Subject, and Body. Then click on \u201cSave\u201d button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/9-3-1024x525.jpg\" alt=\"\" class=\"wp-image-5913\"\/><\/figure>\n\n\n\n<p>19. Now, this new flow will show up as it has shown in below-mentioned screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/10-2-1024x526.jpg\" alt=\"\" class=\"wp-image-5914\"\/><\/figure>\n\n\n\n<p>20. Now click on the red cross mark showing in \u201cNotify\u201d button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/11-2-1024x526.jpg\" alt=\"\" class=\"wp-image-5915\"\/><\/figure>\n\n\n\n<p>21. Then click on the \u201c<strong>Edit in the formula bar<\/strong>\u201d then it will show up the formula bar in top.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/12-2-1024x519.jpg\" alt=\"\" class=\"wp-image-5916\"\/><\/figure>\n\n\n\n<p>22. Now I\nhave passed the Email, subject and body from the app as mentioned below:<\/p>\n\n\n\n<p><strong>BrowseGallery1.Selected.Email<\/strong> \u2013&nbsp;\nparameter for email.<\/p>\n\n\n\n<p><strong>BrowseGallery1.Selected.Subject<\/strong> \u2013 parameter for subject.<\/p>\n\n\n\n<p><strong>BrowseGallery1.Selected.Body<\/strong> \u2013 parameter for body.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/13-2-1024x147.jpg\" alt=\"\" class=\"wp-image-5917\"\/><\/figure>\n\n\n\n<p>23. Now just save the app, publish and send the email on click.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/14-2-1024x310.jpg\" alt=\"\" class=\"wp-image-5918\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/15-2-1024x516.jpg\" alt=\"\" class=\"wp-image-5919\"\/><\/figure>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Ouput Email:<\/span><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.softreetechnology.com\/wp-content\/uploads\/2019\/10\/16-2-1024x229.jpg\" alt=\"\" class=\"wp-image-5920\"\/><\/figure>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Conclusion:<\/span><\/strong><\/p>\n\n\n\n<p>\u00a0In this blog, I have shown how to create <a rel=\"noreferrer noopener\" aria-label=\"PowerApp (opens in a new tab)\" href=\"https:\/\/www.softreetechnology.com\/microsoft-powerapps\/\" target=\"_blank\"><strong>PowerApp<\/strong><\/a>s, create flows, trigger them from PowerApps, and pass the dynamic values to flows.<\/p>\n\n\n\n<p><strong>This solution is brought to you by our SharePoint professionals.<\/strong><\/p>\n\n\n\n<p><strong><a href=\"https:\/\/www.softreetechnology.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Softree Technology<\/a><\/strong>&nbsp;employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the right bent of mind to understand and execute customer requirements.<\/p>\n\n\n\n<p>Be it SPFx or SharePoint add-in developments,&nbsp;SharePoint 2019 developments, web part developments, migrating from SharePoint 2010\/2013 to SharePoint 2013\/2016\/Office 365, Office 365,&nbsp;SharePoint hosted apps development&nbsp;or something else in SharePoint, we strive to deliver the best<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, I will explain how to send an email on button click from PowerApps through MSFlow. This article will help us in how to trigger a flow from PowerApps, passing dynamic values to Microsoft flows. I have divided this blog into mainly three subcategories and they are as mentioned below. 1- Creation of List 2- Creation of Power [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5923,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[282,306],"tags":[321,319,322,323,324,325,326,327,56],"class_list":["post-5903","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-workflow","category-powerapps","tag-click-a-button-in-powerapps-to-send-an-email","tag-msflow","tag-notify-on-button-click","tag-powerapps","tag-powerapps-with-microsoft-flow","tag-powerapps-with-ms-flow","tag-send-email-using-ms-flow","tag-send-email-using-power-apps","tag-sharepoint"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Send Email using MSFlow On Button Click from PowerApps - Softree Technology<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Send Email using MSFlow On Button Click from PowerApps - Softree Technology\" \/>\n<meta property=\"og:description\" content=\"In this article, I will explain how to send an email on button click from PowerApps through MSFlow. This article will help us in how to trigger a flow from PowerApps, passing dynamic values to Microsoft flows. I have divided this blog into mainly three subcategories and they are as mentioned below. 1- Creation of List 2- Creation of Power [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/\" \/>\n<meta property=\"og:site_name\" content=\"Softree Technology\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-30T09:19:23+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Send Email using MSFlow On Button Click from PowerApps - Softree Technology","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/","og_locale":"en_US","og_type":"article","og_title":"Send Email using MSFlow On Button Click from PowerApps - Softree Technology","og_description":"In this article, I will explain how to send an email on button click from PowerApps through MSFlow. This article will help us in how to trigger a flow from PowerApps, passing dynamic values to Microsoft flows. I have divided this blog into mainly three subcategories and they are as mentioned below. 1- Creation of List 2- Creation of Power [&hellip;]","og_url":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/","og_site_name":"Softree Technology","article_published_time":"2019-10-30T09:19:23+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/#article","isPartOf":{"@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/"},"author":{"name":"admin","@id":"https:\/\/softreetechnology.com\/blog\/#\/schema\/person\/98740297642f06debccdcee2de84086b"},"headline":"Send Email using MSFlow On Button Click from PowerApps","datePublished":"2019-10-30T09:19:23+00:00","mainEntityOfPage":{"@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/"},"wordCount":514,"commentCount":0,"publisher":{"@id":"https:\/\/softreetechnology.com\/blog\/#organization"},"image":{"@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/#primaryimage"},"thumbnailUrl":"","keywords":["Click a button in PowerApps to send an email","MSFlow","Notify on Button Click","PowerApps","PowerApps with Microsoft Flow","PowerApps with MS Flow","Send email using MS Flow","Send email using Power Apps","SharePoint"],"articleSection":["Microsoft Workflow","PowerApps"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/","url":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/","name":"Send Email using MSFlow On Button Click from PowerApps - Softree Technology","isPartOf":{"@id":"https:\/\/softreetechnology.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/#primaryimage"},"image":{"@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/#primaryimage"},"thumbnailUrl":"","datePublished":"2019-10-30T09:19:23+00:00","breadcrumb":{"@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/softreetechnology.com\/blog\/microsoft-workflow\/send-email-using-msflow-on-button-click-from-powerapps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/softreetechnology.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Send Email using MSFlow On Button Click from PowerApps"}]},{"@type":"WebSite","@id":"https:\/\/softreetechnology.com\/blog\/#website","url":"https:\/\/softreetechnology.com\/blog\/","name":"Softree Technology","description":"Celebrating 10+ Years in SharePoint Consulting !","publisher":{"@id":"https:\/\/softreetechnology.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/softreetechnology.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/softreetechnology.com\/blog\/#organization","name":"Softree Technology","url":"https:\/\/softreetechnology.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/softreetechnology.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/softreetechnology.com\/blog\/wp-content\/uploads\/2023\/03\/cropped-white-logo-soft.png","contentUrl":"https:\/\/softreetechnology.com\/blog\/wp-content\/uploads\/2023\/03\/cropped-white-logo-soft.png","width":844,"height":230,"caption":"Softree Technology"},"image":{"@id":"https:\/\/softreetechnology.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/softreetechnology.com\/blog\/#\/schema\/person\/98740297642f06debccdcee2de84086b","name":"admin","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/softreetechnology.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6fc78c8a7aa3fb0bf43c3b9a2e3962d7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6fc78c8a7aa3fb0bf43c3b9a2e3962d7?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/softreeconsulting.com"],"url":"https:\/\/softreetechnology.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/posts\/5903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/comments?post=5903"}],"version-history":[{"count":0,"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/posts\/5903\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/media?parent=5903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/categories?post=5903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softreetechnology.com\/blog\/wp-json\/wp\/v2\/tags?post=5903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}