Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

  • BurntRose Profile Picture
    4 on at
    Re: Flow to create calendar entry from forms

    @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

  • BurntRose Profile Picture
    4 on at
    Re: Flow to create calendar entry from forms

    @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

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Flow to create calendar entry from forms

    @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.

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow