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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create outlook calenda...
Power Automate
Answered

Create outlook calendar event from Forms data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to make it so that people can select a date then from a "choice" question select a time slot.

For example in the excel doc it comes out like this:

 

Date: 4/6/2020

Time: 10:30 - 11:00

 

The time is 1 string so need to separate it into a start time and end time but this is a string and even if I have them select a start and end time in separate questions it is still a string so can't be used for the start and end time when creating the event.

So I'm looking for help with how to convert "10:30 - 11:00" to a start and end time in the correct format.

Categories:
I have the same question (0)
  • rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    Try using Compose action and place an expression with functions substring and IndexOf to get start time and end time.

     

    If you want to have the complete flow, MS already provided a template which you can use directly:

    https://us.flow.microsoft.com/en-us/galleries/public/templates/152bc30dde0442db8f12fafee8439ed7/create-an-event-in-office-365-outlook-when-a-microsoft-forms-is-submitted/

     

    You may need to change your format and the flow created from above template to meet your requirements.

     

    This will avoid working from scratch to build something which already exists. 

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Below is the error message that it comes back with. As well as showing that it has the [" "] in there as well.

    error.png

     

    This is the form that is being used to create the data:

     

    form.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am using that template already but I would still have the problem that the start and end time is in string format not DateTime.

  • Verified answer
    rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    Here is the flow:

     

    2.JPG

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Forgive me. But what is a split?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard