cancel
Showing results for 
Search instead for 
Did you mean: 
aprildunnam

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!
About the Author
  • Experienced Consultant with a demonstrated history of working in the information technology and services industry. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Strong consulting professional with a Bachelor of Engineering (B.E.) focused in Information Technology from Mumbai University.
  • I am a Microsoft Business Applications MVP and a Senior Manager at EY. I am a technology enthusiast and problem solver. I work/speak/blog/Vlog on Microsoft technology, including Office 365, Power Apps, Power Automate, SharePoint, and Teams Etc. I am helping global clients on Power Platform adoption and empowering them with Power Platform possibilities, capabilities, and easiness. I am a leader of the Houston Power Platform User Group and Power Automate community superuser. I love traveling , exploring new places, and meeting people from different cultures.
  • Read more about me and my achievements at: https://ganeshsanapblogs.wordpress.com/about MCT | SharePoint, Microsoft 365 and Power Platform Consultant | Contributor on SharePoint StackExchange, MSFT Techcommunity
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • Founder of SKILLFUL SARDINE, a company focused on productivity and the Power Platform. You can find me on LinkedIn: https://linkedin.com/in/manueltgomes and twitter http://twitter.com/manueltgomes. I also write at https://www.manueltgomes.com, so if you want some Power Automate, SharePoint or Power Apps content I'm your guy 🙂
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 15 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • Big fan of Power Platform technologies and implemented many solutions.
  • Passionate #Programmer #SharePoint #SPFx #M365 #Power Platform| Microsoft MVP | SharePoint StackOverflow, Github, PnP contributor
  • Web site – https://kamdaryash.wordpress.com Youtube channel - https://www.youtube.com/channel/UCM149rFkLNgerSvgDVeYTZQ/