Skip to main content
Community site session details

Community site session details

Session Id : 7p3zmfCCbwqCsk1DSMT/U6
Power Automate - Building Flows
Answered

Extract an Email Received Date/Time and Update in Sharepoint List

Like (0) ShareShare
ReportReport
Posted on 19 Nov 2021 11:41:49 by 195

Hi All....

Please help me with this one - it's driving me scatty!

 

My flow receives and email. I would like to extract the ReceivedDateTime data and simply update a record with this value into a Date and Time field in a Sharepoint list. Can someone advise me how best to complete this bit of wizardry please?

 

I am based in the UK, so not too sure what this means in terms of formatting of the data. In Sharepoint though, it would need to read as dd/MM/yyyy HH:mm:ss

 

If you can help - I'd be very grateful!!

Thanks all.

 

PJBruen_0-1637321939467.png

 

 

 

 

 

  • Verified answer
    PJBruen Profile Picture
    195 on 26 Nov 2021 at 11:02:22
    Re: Extract an Email Received Date/Time and Update in Sharepoint List

    @v-chenzhi  - Thanks again for your reply on this. we've now managed to complete this task a slightly different way.

    This is what we ended up doing...

    PJBruen_0-1637924532793.png

     

     

  • v-chenzhi Profile Picture
    on 24 Nov 2021 at 09:37:11
    Re: Extract an Email Received Date/Time and Update in Sharepoint List

    Hi @PJBruen ,

     

    Could you please check your site time zone?

    Site setting→Regional settings→Time zone

    ReceiveDateTime is UTC time, when updating, SharePoint may be automatically converted according to your time zone.

    The other point, Could you please show me what do you fill in the Create Item, when some dynamic content is referenced, it will be put in apply to each.

     

     

    Best Regards,

    Zhi Chen

     
     
     

     

  • PJBruen Profile Picture
    195 on 22 Nov 2021 at 16:55:12
    Re: Extract an Email Received Date/Time and Update in Sharepoint List

    Hi @v-chenzhi 

    Thanks for your reply.

    I have tried what you have suggested and that works fine, however with the example I have the Email ReceivedDateTime appears to show a time of (for example 17:00:00), however, when I write the value into sharepoint it records as 10:00:00. I guess some sort of date conversion is required, but I'm not sure why?

     

    The other point is that the CreateItem into Sharepoint is in an Apply To Each - which seems to make the difference. If doing outside of this, simply passing the receivedTime works fine (as per your example).

     

    I hope that makes some sense.

    Regards

     

  • v-chenzhi Profile Picture
    on 22 Nov 2021 at 03:03:55
    Re: Extract an Email Received Date/Time and Update in Sharepoint List

    Hi @PJBruen ,

     

    Do you want to update Received Time to SharePoint List?

    I have a test for your reference, please try the following workaround.

    vchenzhi_0-1637550200385.png

     

    As you show in the screenshot, ReceiveDateTime is UTC time format.

    I set the region of my SharePoint site like this, and it is displayed as dd/MM/yyyy HH:mm:ss.

    vchenzhi_1-1637550200387.png

     

    vchenzhi_2-1637550200389.png

     

     

    Best Regards,

    Zhi Chen

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete