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 / How to write Search Qu...
Power Automate
Unanswered

How to write Search Query in Get Emails (v3)?

(0) ShareShare
ReportReport
Posted on by
-1

I am writing a Power automate to copy emails from an Outlook mailbox to SharePoint. I am using Get emails (V3) and want to retrieve emails received on a particular date. I have tried the below filter expressions in the 'Search Query' box but none seem to work. The flow does not return any emails with any of the below expressions, although there are emails in the mailbox on or after this date. If i leave the search query box empty it returns all emails, but i need to fetch emails for a particular day. Any ideas pls? 

 

receivedDateTime gt '2025-06-29T00:00:00Z'
ReceivedDateTime gt '2025-07-01T00:00:00+00:00' 
formatdatetime(ReceivedDateTime, 'dd/MM/yyyy') eq '01/07/2025'

 

 

getemails.PNG
Categories:
I have the same question (0)
  • Tomac Profile Picture
    4,048 Moderator on at
     
    The pattern is received>2022-01-01 AND received<2024-01-31 or if you want a specific day use a : instead of < or >

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 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard