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 / Get the "E-Mail send t...
Power Automate
Answered

Get the "E-Mail send time" as a variable with the [When an email is flagged (V3)] trigger.

(0) ShareShare
ReportReport
Posted on by 10

Hi all,

 

I'm creating a calendar entry when I flag E-Mails in my "sent objects" folder. I use [Current time] to catch the time. This is my appointment start-time in the calendar- Problem is, I need the actual send time of the e-mail which I've flagged in my sent objects folder. Is there a way to get this from the [When an email is flagged (V3)] trigger? 

 

 
 
 

ms-flow.png

 

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hi there,

     

    You can get the received date from the email, which in your case would be the sent date as it is coming from your sent folder.

     

    Instead of trying to insert the date directly into the 'Create Event' action where the property is not available, you first need to pull the 'Received Time' property into a variable. This will then become available to your action and will work as required after  formatting the date correctly (using the 'FormatDateTime' expression).

     

    EmailDateToVar.png

     

    Expression for the 'Start Time' field (which contains to the 'EmailCreated' variable created earlier in the flow):

    formatDateTime(variables('EmailCreated'))

     

  • Verified answer
    jenssgb Profile Picture
    10 on at

    Hi @Anonymous ,

    Thank you! This works - However, I've changed the flow a little bit and I assume this can be helpful for other users. 

    Instead of using the "Get Future Time" I've used this Expression for the End Time: 

     
    addMinutes(variables('EmailCreated'),10)

     

    The Get Future time created an appointment from the start of the event till the current date + 10 Minutes. Means, when I flag an E-Mail wich, was sent 3 days ago- the flow created an appointment over the last 3 days. 

    The addMinutes + Variable did solve the issue for me. 

     

    power-flow.png

     
     

     

     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard