web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow to create calenda...
Power Automate
Unanswered

Flow to create calendar entry from forms

(0) ShareShare
ReportReport
Posted on by 4

This may just be me being extremely dense around a syntax issue, but I can't get it to work. Hoping someone here can help...

 

I have created a flow to pull responses from a microsoft form and create an event in an outlook calendar. As forms do not currently have a time field as it does a date I had a look around to see if this could be included and found this work around: https://powerusers.microsoft.com/t5/General-Flow-Discussion/Using-Forms-to-create-an-Outlook-event-at-a-specific-time/td-p/110563

 

It's not exactly what I want to do, as I am not interested in sending emails once the event has been created, but close enough that I thought I might be able to adapt it to get the event start and end times entered on to the calendar

 

Basically it suggests using concat to combine a date and time that can then be entered into the start and end field as an output, and thereby give the correct details on the calendar entry. 

 

My issue is that when I try and enter the concat formula into the compose box, it either won't include the 2 fields I want (one of them disappears after I have selected the other) or I get an invalid formula error. 

 

I did get it working with just the date; 

 

concat(body('Get_response_details')?['rf2dd8e22ccdf4cfa9ecb18df8426421e'])

 

but this put the events in the calendar as all day affairs and it is likely that a lot of the events I am notified for by form responses will be much shorter, and I dont want to have to manually update each calendar entry from the form as that means I might as well do the whole thing manually and not use the flow at all! 

 

However, when I try to add in the time I either get an invalid formula error, the formula won't save properly, or I get an error when I run the test. 

 

Below is the formula that I thought would work. 'text_1' is the date and 'text_2' is the time. I have tried it with 'text_1:' and 'text_2:', as well and received an error that an unexpected ":" had stopped it from working, so I took them out again. 

 

concat (text_1(body('Get_response_details')?['rf2dd8e22ccdf4cfa9ecb18df8426421e']), text_2(body('Get_response_details')?['r1ae0ae3b78f14fe788a46e1796784c4a']))

 

I wasn't sure if it would give me the result I want as the 't' and'z' shown either side of the date in the above link are omitted, but I cant even get that far to find out.

 

Any help on getting this working, or alternative options would be greatly appreciated! 

 

B

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @BurntRose :

    Have you considered using a PowerApp to collect the information rather than Forms?  Using PowerAps will overcome the issues you are experiencing and give you greater flexibility while still integrating with Flow.

     

     

  • BurntRose Profile Picture
    4 on at

    @ScottShearer

     

    Thanks for the reply. I have never used PowerAps so have no idea! The work I am doing is for a charity on a voluntary basis, so I don't know if that is available to me or not. 

     

    I will have a look into it. 

     

    B

  • BurntRose Profile Picture
    4 on at

    @ScottShearer 

     

    Hi Scott, 

     

    I had a look at poweraps, but I have no idea how they work. If I would need to build an app I dont think I have the skills to be able to do that. Unless there is a way to use an app someone else has created for this purpose already. 

     

    B

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard