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 / Populate a calendar ev...
Power Automate
Unanswered

Populate a calendar event from an email body

(0) ShareShare
ReportReport
Posted on by 4

Hello,

 

I'm working on building a flow to populate events in the calendar of the attendees as they register for training on Teams. I've attached screenshots of the email body and the flow. For some reason, the flow fails at extracting the end time. 

 

 

Demo.PNGDemo2.PNG


 
 
 
Categories:
I have the same question (0)
  • Monkeyman Profile Picture
    325 on at

    Can you provide a screenshot of the error ?

  • GS1 Profile Picture
    4 on at

    Sure, please see below: 

     

    demo 3.PNG

  • Monkeyman Profile Picture
    325 on at

    What is the value in that it is complaining about ?

     

    you could use the Convert time step to format the date time correctly and then pass it back to the Creat Event step ?

  • GS1 Profile Picture
    4 on at

    It's the same time zone but now it doesn't pick up the date time.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It looks like your datetime is in the wrong format. Can you click on 'End Time' in your test and screen shot the outputs?

    Create events likes Datetime to formatted like below.

    Billy_Woods_0-1648014103003.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You will need to create another 2xComposes with the functions:

    formatDateTime(outputs('Start_Time'), 'yyyy-MM-ddTHH:mm:ss')

    formatDateTime(outputs('End_Time'), 'yyyy-MM-ddTHH:mm:ss')

     

    This is assuming that your 'Start Time' and 'End Time' are in formats that formatDateTime recognises.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 570

#2
Valantis Profile Picture

Valantis 405

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard