office-365 Flow

What is a Microsoft Office 365 Flow and What Does it Do?

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:-

  1. Get notification
  2. Synchronize files
  3. Collect data
  4. Automate approvals
  5. Create multiple sub-site automatically
  6. Hit “http” service on demand
  7. The main action words that you will see are “Get”, “List”, “Create”, “Edit”, “delete”, “Send”, “Translate” along with the service it pertains to.
  8. You can add multiple actions to the workflow and reorder them by simply dragging them where you want them.

Flow Conditions: –

  1. A condition allows the workflow to perform a task only when something is true.

Flow Triggers: –

  1. Triggers are the events that start a workflow when they occur.
  2. Flow can be triggered from an event in any of the services it synchronizes with.
  3. User can manually trigger based on user action using dedicated flow button and other apps.
  4. Run flow on a schedule.

Below I have created an example to using flow for

“How to Create sub-sites automatically when inserting an item in list”

Just check figures below.

  1. I have created a list “Office” and attached flow to the list. When an item is created in the list, Flow will create a new sub-site.

office 365 Create a Flow

2. You have to choose template “When an item is created”. 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 “List Name” field dropdown.

3.Then add Get Items panel to get new created item from list.

4. After getting the item we will use “Send an HTTP request to SharePoint” panel.

a)-Add site address in the site address field.

b)-Choose “Get” method in Method field.

c)- Add “/_api/web” in the URI. We are using this API to tell SharePoint to add a sub-site in the Site collection.

Are You Looking for SharePoint 365 Consultation?

d)-Add header for post JSON request to HTTP.

e)-Finally, we are going to add JSON Body.

“As you can see, I have mention below JSON body code and figure.”

office 365 JSON body code

5- After the above steps, click save button to save Flow against the “Office” list.

6-When you create a new item in the “Office” list, Flow can trigger automatically and create sub-site for the user.

Related Blog: Say Hello to the New Features in SharePoint 2019


Contributed By:

Biswajit Mishra

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge