cancel
Showing results for 
Search instead for 
Did you mean: 

Automated Bookings Feedback

Hello Flow Community!

 

As an owner of a small consulting company, I use Microsoft Bookings to allow potential clients to schedule an introductory requirements gathering call with me.  This works out great because it automatically syncs with my Outlook calendar and allows me to define the parameters for when I want to allow people to book appointments. 

 

As potential clients start using this feature, I want to be able to gather feedback on how they think the call went.  I thought this would be a great use for Microsoft Forms so I built this simple two question feedback form:

 

DiscoveryCallForm.png

 

 

 

The last piece of the puzzle is to automate this process so I don't have to manually follow up with each prospect.  That's where Flow comes in!  There isn't a Flow connector for Bookings but since the appointments are added to my Outlook calendar, we can use Office 365 Outlook "When a new event is created" trigger.

 

FlowNewEvent.png

 

This trigger will execute every time a new event is added but we only want to send an email if it's a Bookings event.  We can tell if the event comes from Bookings by the organizer e-mail which is unique to Bookings.  We can also refine it further by restricting by the event subject which will tie back to the Bookings service name.  To filter the non-Bookings events out, we will insert a Condition and apply the formula below:

 

@and(contains(triggerBody()?['Subject'], 'Discovery Call'),equals(triggerBody()?['Organizer'], 'bookings@mycompany.com'))

 

If the outcome of this condition is Yes then we need to use the Compose action to format the date and time that we want to send the e-mail with the survey link.  I want to send the e-mail an hour after the bookings appointment end date.  The function to format this date variable will look like this:

 

formatDateTime(addHours(triggerBody()?['End'],1),'yyyy-MM-ddThh:mmZ')
 
Compose.png

 

 
We need to use the formatDateTime function to make sure the End variable is in the correct UTC format that the Delay Until function expects.  We are also using the addHours function to add one hour to the end date.  
 
Next step is to insert a Delay Until action and set the value to the output of our Compose action.  This will pause our Flow until one hour after the Bookings appointment end date.  An important thing to note here is that you can only delay a Flow for a maximum of 30 days.  I have my Bookings set up so that you can only schedule an appointment 15 days in the future so this will not be an issue in this case.
 
DelayUntil.png

 

 
The final step is to add our Send E-mail action.  We will set the To field to the required and optional attendees from our Event added trigger and finish filling out the subject and body.

 

 

SendEmail.png

Now we have a fully automated way to gather client feedback after a Microsoft Bookings appointment thanks to Flow!

 

Comments

This is super helpful, thanks!

 

I wonder when we will get an actual Bookings connector?

Really like this approach but I do have one question. How do you account for bookings that are subsequently cancelled or amended?

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 https://plumsail.com, 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 http://www.davidlozzi.com. 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 ( https://triad.co.uk)