Showing results for 
Search instead for 
Did you mean: 

Automated Running Late Notice With Flow and Flic Button

Hi Fellow Flow Fans!
A couple weeks ago I stumbled upon an article here on the Flow blog about using Flic buttons with Flow.  My head started spinning with ideas on how I could use this smart button.  I thought about a recent struggle I had. One of my meetings ran over and I was driving frantically to the other meeting across town when I hit some unexpected traffic.  An intense wave of panic came over me when I realized that my normally punctual self was going to be at least 5 - 10 minutes late for my next meeting.   Wouldn't it have been great if I was able to simply press my little green Flic button and it automatically notify the meeting attendees that I was going to be a few minutes late?
Getting Started
Before we start building the Flow we need to make sure our Flic button is set up.  The important thing to know about the Flic button is it has to be tied to your cell phone.  You have to download the Flic App on your IOS or Android device, create an account and run through the wizard to add your Flic button.  Once you have that configured, you have to tell it that you want to use Microsoft Flow for the action (Click, Double Click, or Hold).  Just click the Plus (+) button next to the action you want to trigger on and scroll down to the "Advanced" section on the next screen and select "Microsoft Flow".
Ok, now that the Flic button is set up we can move on to building our Flow.  First thing we need to do is create a Blank Flow and search for Flic in the Triggers.  We will use the "when a Flic is pressed" Trigger.
Find the Flic Trigger
If this is your first time using the Flic connector you will need to login to your Flic account to complete the set up.  In the settings you'll select the Flic button you want to tie this to and the event is should be tied to (single click, double click, hold, etc).  
Flic Trigger Configuration

Now that our Trigger is configured, we need to find the next upcoming event on your calendar and get the event information.  To do that, we'll use the "Get Calendar View of Events" Office 365 Outlook Action.  This Action allows us to return events from our calendar within a given date range.

It's safe to assume that since you'll only be triggering this Flow if you are running late that we can filter the events between the moment you press the button and within an hour of that.  Select your calendar from the Calendar Id dropdown list.  For Start Time we will add an Expression with UTCNow() to get the current date/time at button press.  For End Time we will add an expression to get the current date/time plus 1 hour.

That expression will look like this:
Get Calendar View of Events End Time Configuration
If we expand the properties of the Get Calendar View of Events Action, we have several more settings we can configure.  We will want to Order By Start asc and use a Top Count of 1.  This will ensure we get the most recent event and only return that event.
Get Calendar View of Events Settings
Now that we have the information for the meeting we are running late to, all that's left is to add a "Send Email" action so we can notify the attendees.  The "To" field will be the attendees property from our Get Events Action.  The Subject will use the "Subject" field from our Get Events Action and we will add "Running Late".  Then we will fill out the body with a sincere apology and will let them know you'll be there soon.  
Email Set Up

And we're done... just save and test it out!   This is one Flow that I hope I never have to use but it sure will come in handy if I do!
Meet Our Blog Authors
  • Working daily with Microsoft Cloud to deliver the needs of my company, my customers and various Microsoft communities and forums. | Office 365 | Flow | PowerShell | PowerApps | SharePoint |
  • Co-founder of, Office 365 and SharePoint expert. Passionate about design and development of easy to use, convenient and flexible products.
  • Microsoft Business Apps MVP. Owner of ThriveFast, an Office 365 consulting company.
  • 7x Microsoft Business Solutions MVP (CRM)
  • Solution Architect with Slalom, and organizer of the Boston Office 365 User Group, and long term SharePoint/Office 365 veteren. Find more at Follow @DavidLozzi
  • I'm keen in MS technologies, SharePoint, Office 365 and development for them
  • Daniel is a Business Productivity Consultant & Microsoft Business Solutions MVP who is very enthusiastic about all things Office 365, Microsoft Flow, PowerApps, Azure & SharePoint (Online). Since the preview, Daniel has been working with Microsoft Flow and later on with Microsoft PowerApps. That led to him being awarded an MVP Award for Business Solutions. He loves to blog, present and evangelize about improving productivity in the modern workspace with these amazing tools!
  • Michelle is an Office 365 solution architect in Twin Cities, MN. She has been delivering business collaboration solutions for years with her focus on SharePoint and Office 365. Michelle is a recent board member of the Minnesota Office 365 User Group and has been a member of the SharePoint community since 2009. She is a frequent speaker at MNSPUG and SharePoint Saturday and co-chaired the Legal SharePoint User Group for 4 years. Her most frequent projects have involved rolling out a large deployment of Office 365, SharePoint Online intranet, build of a "CHAMPS" Office 365 user adoption program and most recently, SharePoint On-Premise to Online Migration. Michelle is very excited about cloud technology as it is shifting her IT Pro focus to collaboration strategy and technical adoption.
  • I'm a Microsoft Office Servers and Services MVP with a special interest in SharePoint, Office 365, Microsoft Flow, Microsoft Teams and PowerApps. I work at Triad Group Plc (