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

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
Anonymous

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?

Thanks a lot for sharing this, it is very useful as currently it appears Microsoft won't reléase any Bookings connector son. The 'edit in advanced mode' for the Condition is not possible anymore but it should work with the boolean values. Does this mechanism work with the new updates on Microsoft Flow?

Thank you again!

Regards, 

Alonso

Great article. 

I'm trying to implement a similar approach to your, however, the fields Optional Attendees and Required attendees are always empty. I'm not sure what is happening since email are sent to both the service provider and the customer that booked an appointment. Any ideas?

 Very useful instructions. Thanks a lot!
However, I have the same problem pointed out above... That the Customer e-mail address is not present in any of the attendees fields. As a result, the survey is only sent to myself (the service provider) and to the e-mail address of the Microsoft Bookings calendar. 
 How can I solve this? How can I fetch my customer's e-mail from the body of the calendar event?
Any help would be super appreciated. 🙂

Agreed. April, don't get me wrong, the fact that you even made this post is great leadership on your part, however, like others said, it doesn't really work and I'm wondering if you even tried it. I've been using your post as a jumping off point and appending the steps found in this video but even then the email isn't populating to even send a survey to users after the fact. (2) 📅 Email Daily Summary Of Bookings Using Power Automate 📅 | Microsoft Bookings Series - YouTube

I also encountered this issue  - And i woudl ideally like it to work direct on any Bookings "calendars", I am still working on it !

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/