{"id":2614,"date":"2019-03-15T19:25:53","date_gmt":"2019-03-15T13:55:53","guid":{"rendered":"https:\/\/www.idslogic.com\/blog\/?p=2614"},"modified":"2025-02-24T15:19:47","modified_gmt":"2025-02-24T09:49:47","slug":"what-is-a-microsoft-office-365-flow-and-what-does-it-do","status":"publish","type":"post","link":"https:\/\/www.idslogic.com\/blog\/what-is-a-microsoft-office-365-flow-and-what-does-it-do","title":{"rendered":"What is a Microsoft Office 365 Flow and What Does it Do?"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">Microsoft flow helps you work smarter by automating workflows across your apps and services. Flow is part of a powerful business platform<\/span><\/p>\n<p><span style=\"color: #000080; font-size: 14pt;\"><em><strong>You can do multiple things using Microsoft Flow:-<\/strong><\/em><\/span><\/p>\n<ol>\n<li><span style=\"font-size: 14pt;\">Get notification<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Synchronize files<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Collect data<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Automate approvals<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Create multiple sub-site automatically<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Hit &#8220;http&#8221; service on demand<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">The main action words that you will see are &#8220;Get&#8221;, &#8220;List&#8221;, &#8220;Create&#8221;, &#8220;Edit&#8221;, &#8220;delete&#8221;, &#8220;Send&#8221;, &#8220;Translate&#8221; along with the service it pertains to.<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">You can add multiple actions to the workflow and reorder them by simply dragging them where you want them.<\/span><\/li>\n<\/ol>\n<p><span style=\"color: #003366; font-size: 14pt;\"><strong>Flow Conditions: &#8211;<\/strong><\/span><\/p>\n<ol>\n<li><span style=\"font-size: 14pt;\">A condition allows the workflow to perform a task only when something is true.<\/span><\/li>\n<\/ol>\n<p><span style=\"color: #003366; font-size: 14pt;\"><strong>Flow Triggers: &#8211;<\/strong><\/span><\/p>\n<ol>\n<li><span style=\"font-size: 14pt;\">Triggers are the events that start a workflow when they occur.<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Flow can be triggered from an event in any of the services it synchronizes with.<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">User can manually trigger based on user action using dedicated flow button and other apps.<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Run flow on a schedule.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-size: 14pt;\">Below I have created an example to using flow for<\/span><\/p>\n<blockquote>\n<p style=\"box-shadow: 0 0 16px #cccccc; padding: 10px;\"><span style=\"color: #008080; font-size: 14pt;\"><strong>&#8220;How to Create sub-sites automatically when inserting an item in list&#8221;<\/strong><\/span><\/p>\n<\/blockquote>\n<p><span style=\"font-size: 14pt;\">Just check figures below.<\/span><\/p>\n<ol>\n<li><span style=\"font-size: 14pt;\">I have created a list \u201cOffice\u201d and attached flow to the list. When an item is created in the list, Flow will create a new sub-site.<br \/>\n<\/span><\/li>\n<\/ol>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2619\" src=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Create-a-Flow-1.png\" alt=\"office 365 Create a Flow\" width=\"1341\" height=\"317\" srcset=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Create-a-Flow-1.png 1341w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Create-a-Flow-1-300x71.png 300w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Create-a-Flow-1-768x182.png 768w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Create-a-Flow-1-1024x242.png 1024w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Create-a-Flow-1-560x132.png 560w\" sizes=\"auto, (max-width: 1341px) 100vw, 1341px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><br \/>\n2. You have to choose template \u201cWhen an item is created\u201d. After choosing a template, you will see Site Address field. Please enter your site address in the Site address field, and choose a list name in the \u201cList Name\u201d field dropdown.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2620\" src=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-List-Name-2.jpg\" alt=\"\" width=\"1249\" height=\"319\" srcset=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-List-Name-2.jpg 1249w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-List-Name-2-300x77.jpg 300w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-List-Name-2-768x196.jpg 768w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-List-Name-2-1024x262.jpg 1024w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-List-Name-2-560x143.jpg 560w\" sizes=\"auto, (max-width: 1249px) 100vw, 1249px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><br \/>\n3.Then add Get Items panel to get new created item from list.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2621\" src=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Get-item-panel-1.jpg\" alt=\"\" width=\"1342\" height=\"326\" srcset=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Get-item-panel-1.jpg 1342w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Get-item-panel-1-300x73.jpg 300w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Get-item-panel-1-768x187.jpg 768w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Get-item-panel-1-1024x249.jpg 1024w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-Get-item-panel-1-560x136.jpg 560w\" sizes=\"auto, (max-width: 1342px) 100vw, 1342px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><br \/>\n4. After getting the item we will use \u201cSend an HTTP request to SharePoint\u201d panel.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">a)-Add site address in the site address field.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">b)-Choose \u201cGet\u201d method in Method field.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">c)- Add \u201c\/_api\/web\u201d in the URI. We are using this API to tell SharePoint to add a sub-site in the Site collection.<\/span><\/p>\n<div style=\"margin: 40px auto; border: 2px solid #065beb; padding: 20px 25px; border-radius: 6px; background: 0;\">\n<div style=\"display: inline-block; vertical-align: middle; width: 62%;\"><span style=\"font-size: 14pt;\"><strong>Are You Looking for SharePoint 365 Consultation?<\/strong><\/span><\/div>\n<div style=\"display: inline-block; vertical-align: middle; width: 36%;\"><span style=\"font-size: 14pt;\"><a style=\"padding: 10px 22px; margin-bottom: 0; line-height: 1.3em; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; color: #ffffff; background-color: #065beb; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; display: block;\" href=\"https:\/\/www.idslogic.com\/office-365-consultation-services\/\" target=\"_blank\" rel=\"noopener noreferrer\">Call us today!<\/a><\/span><\/div>\n<\/div>\n<p><span style=\"font-size: 14pt;\">d)-Add header for post JSON request to HTTP.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">e)-Finally, we are going to add JSON Body.<\/span><\/p>\n<blockquote><p><span style=\"color: #0000ff; font-size: 14pt;\"><em>\u201cAs you can see, I have mention below JSON body code and figure.\u201d<\/em><\/span><\/p><\/blockquote>\n<pre><textarea class=\"xml\" name=\"code\">{ 'parameters':\n{ '__metadata':\n{ 'type': 'SP.WebInfoCreationInformation' },\n'Url':'@{items('Apply_to_each')['Title']}',\n'Title':'@{items('Apply_to_each')['Title']}',\n'Description':'@{items('Apply_to_each')['Description']}',\n'Language':'1033',\n'WebTemplate':'STS#0'\n'UseUniquePermissions':false\n}\n}\n&lt;span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\"&gt;&lt;\/span&gt;<\/textarea><\/pre>\n<p><span style=\"font-size: 14pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2622\" src=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-JSON-body-code.jpg\" alt=\"office 365 JSON body code\" width=\"1339\" height=\"434\" srcset=\"https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-JSON-body-code.jpg 1339w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-JSON-body-code-300x97.jpg 300w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-JSON-body-code-768x249.jpg 768w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-JSON-body-code-1024x332.jpg 1024w, https:\/\/www.idslogic.com\/blog\/wp-content\/uploads\/2019\/03\/office-365-JSON-body-code-560x182.jpg 560w\" sizes=\"auto, (max-width: 1339px) 100vw, 1339px\" \/><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><br \/>\n5- After the above steps, click save button to save Flow against the \u201cOffice\u201d list.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">6-When you create a new item in the \u201cOffice\u201d list, Flow can trigger automatically and create sub-site for the user.<\/span><\/p>\n<blockquote>\n<p style=\"box-shadow: 0 0 16px #cccccc; padding: 10px;\"><span style=\"font-size: 14pt;\"><strong>Related Blog:<\/strong>\u00a0<span style=\"color: #000080;\"><a style=\"color: #000080;\" href=\"\/blog\/say-hello-to-the-new-features-in-sharepoint-2019\">Say Hello to the New Features in SharePoint 2019<\/a><\/span><\/span><\/p>\n<\/blockquote>\n<p><span style=\"color: #800000; font-size: 14pt;\">\u00a0<\/span><\/p>\n<p><span style=\"color: #800000; font-size: 14pt;\"><strong>Contributed By:<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Biswajit Mishra<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft flow helps you work smarter by automating workflows across your apps and services. Flow is part of a powerful business platform You can do multiple things using Microsoft Flow:- Get notification Synchronize files Collect data Automate approvals Create multiple&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2623,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[643],"tags":[779,780,778,278],"class_list":["post-2614","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sharepoint","tag-office-365","tag-office-365-consultations","tag-office-365-flow","tag-sharepoint-development"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/2614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/comments?post=2614"}],"version-history":[{"count":9,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/2614\/revisions"}],"predecessor-version":[{"id":11719,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/posts\/2614\/revisions\/11719"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/media\/2623"}],"wp:attachment":[{"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/media?parent=2614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/categories?post=2614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.idslogic.com\/blog\/wp-json\/wp\/v2\/tags?post=2614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}