{"id":77886,"date":"2020-04-14T13:43:20","date_gmt":"2020-04-14T11:43:20","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate"},"modified":"2020-04-14T13:43:20","modified_gmt":"2020-04-14T11:43:20","slug":"power-automate-vs-logic-apps-kejsy-power-automate","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate","title":{"rendered":"Power Automate VS Logic Apps. Power Automate Cases","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Good afternoon everyone! <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/496714\/\">In the previous article dedicated to studying Power Automate and Logic Apps<\/a><\/noindex>, we have looked at the main differences between Power Automate and Logic Apps. Today, we would like to move further and showcase interesting capabilities that can be implemented using these products. In this article, we will explore several cases that can be realized with Power Automate.<\/p>\n<h3>Microsoft Power Automate<\/h3>\n<p>\nThis product offers a wide range of connectors to various services, as well as triggers for the automatic and instant starts of flows triggered by specific events. It also supports scheduling flows or starting them with the push of a button. <\/p>\n<h4>1. Automatic Registration of Requests <\/h4>\n<p>\nOne of the cases could be the automatic registration of requests. The trigger for the flow, in this case, would be receiving an email notification to a specific inbox, after which the further logic is processed:<br \/>\n<img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Power Automate Cases\" src=\"\/wp-content\/uploads\/2020\/04\/d091153cea38f7d135c0440182b0bf0b.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nWhen setting up the trigger 'When a new email arrives', you can use various filters to determine the required event to start the trigger:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Power Automate Cases\" src=\"\/wp-content\/uploads\/2020\/04\/c2bc4796c8188f7b436c6ccc3aa1acca.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nFor instance, you can start the flow only for emails with attachments or for emails that are marked as high importance. Additionally, you can trigger the flow if an email arrives in a specific folder of the mailbox. Furthermore, it's possible to filter emails by a specific substring in the email subject.<br \/>\nOnce the necessary calculations are completed and all required information is obtained, you can create an item in the SharePoint list using substitutions from other actions:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Power Automate Cases\" src=\"\/wp-content\/uploads\/2020\/04\/76f6870a22c18ad1b289e2e023f7af21.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nUsing such a flow, you can easily capture necessary email notifications, break them down into components, and create records in other systems.<\/p>\n<h4>2. Triggering an Approval Flow with a Button from PowerApps<\/h4>\n<p>\nOne of the standard scenarios is sending an object for approval to the approvers. To implement such a scenario, you can create a button in PowerApps that triggers a Power Automate flow when pressed:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Power Automate Cases\" src=\"\/wp-content\/uploads\/2020\/04\/5e2416deaf821bb11248abe3e2a75d95.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nAs you can see, in this flow, the starting trigger is PowerApps. A distinctive feature of this trigger is that you can request information from PowerApps while inside the Power Automate flow:<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Power Automate Cases\" src=\"\/wp-content\/uploads\/2020\/04\/7d70276ebbe201d5b95ec23031a3341d.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nHere's how it works: when you need to retrieve any information from PowerApps, you click on the 'Ask in PowerApps' option. After that, a variable is created that can be used in all actions of this Power Automate flow. You just need to pass the value for this variable inside the flow when launching the flow from PowerApps.<\/p>\n<h4>3. Starting the flow using an HTTP request<\/h4>\n<p>\nThe third case I would like to discuss is starting a Power Automate flow using an HTTP request. In some cases, especially for various integration scenarios, it is necessary to start a Power Automate flow via an HTTP request, passing various parameters into the flow. This is quite simple to do. The action 'When an HTTP request is received' is used as a trigger.<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Power Automate Cases\" src=\"\/wp-content\/uploads\/2020\/04\/f74b0ffbb216d0a5a0022087a6296ec4.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nThe HTTP POST URL is automatically generated upon the first save of the flow. This is the address to which the POST request must be sent to start the flow. Various information can be passed as parameters when starting, for example, in this case, the SharePointID attribute is being passed externally. To create a similar schema, you need to click on the 'Use sample payload to create schema' option, and then insert a sample JSON that will come into the flow.<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Power Automate Cases\" src=\"\/wp-content\/uploads\/2020\/04\/657da43fc06da6266c752a3bf8b3554e.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nAfter clicking on 'Done', a JSON request schema is generated for this action. Now the SharePointID attribute can be used in all actions of this flow as a substitution.<\/p>\n<p><img decoding=\"async\" alt=\"Power Automate VS Logic Apps. Power Automate Cases\" src=\"\/wp-content\/uploads\/2020\/04\/96d8ed2fdc793014bd7ca800518352cd.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n <br \/>\nIt is worth noting that the trigger 'When an HTTP request is received' falls under the Premium connectors category and is only available with the purchase of a separate plan for this product.<\/p>\n<p>In the next article, we will discuss various cases that can be implemented using Logic Apps.<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/496716\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435\u043c! \u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u043e\u0439 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044e Power Automate \u0438 Logic Apps, \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043e\u0442\u043b\u0438\u0447\u0438\u044f \u043c\u0435\u0436\u0434\u0443 Power Automate \u0438 Logic Apps. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0434\u0432\u0438\u043d\u0443\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435 \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u0438\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0435\u0439\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Power Automate. Microsoft Power [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":77887,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-77886","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435\u043c!\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Power Automate VS Logic Apps. \u041a\u0435\u0439\u0441\u044b Power Automate | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435\u043c!\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-04-14T11:43:20+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-14T11:43:20+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Power Automate VS Logic Apps. Power Automate Cases | ProHoster","description":"Good afternoon everyone!","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Power Automate VS Logic Apps. \u041a\u0435\u0439\u0441\u044b Power Automate | ProHoster","og:description":"\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u0441\u0435\u043c!","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/power-automate-vs-logic-apps-kejsy-power-automate","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-04-14T11:43:20+00:00","article:modified_time":"2020-04-14T11:43:20+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"77886","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 17:09:33","updated":"2022-09-28 22:50:37","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/77886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=77886"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/77886\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/77887"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=77886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=77886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=77886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}