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 / Getting Search Query t...
Power Automate
Unanswered

Getting Search Query to Work

(0) ShareShare
ReportReport
Posted on by
Hey all!
 
I have been working on this flow for a little bit of time, but I am having some issues getting the Search Query to work properly. Once the form is submitted, I need to send an email letting the person who filled out the form know that their form has been approved. After the approval email has gone out, I need to upload the approval email into a Sharepoint so that the entire office can see the approved form because the approved form needs to be printed out by anyone with Sharepoint access.
 
I have the email sent from the shared inbox sent to all people involved in filling out the form and I have sent back to the shared inbox. After a minute, I use the Get emails (v3) action to get the email that was just sent to the shared inbox to find that email and upload it into a Sharepoint. However, the Search Query I am using does not seem to find the email that the shared inbox just received. I have: received>=addMinutes(utcNow(),-5) as my Search Query but it does not seem to find the email. I just need the search query to find the email that was sent within the last five minutes. Is there any way to adjust it to properly find the email?
Screenshot 2026-02-25 144658.jpg
Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    We will need more information. And your image does not appear to align with what you posted. You will also need to clarify:
    1. I am having some issues getting the Search Query to work. What search query and in what action. Show how it is configured.
    2. I have the email sent from the shared inbox sent to all people involved in filling out the form and I have sent back to the shared inbox. Unless something has changed, how is this working? Only one person can fill out a Microsoft forms form.        
    3. I use the Get emails (v3) action to get the email that was just sent to the shared inbox to find that email and upload it into a Sharepoint. However, the Search Query I am using does not seem to find the email that the shared inbox just received. The get e-mails action access the e-mail of the owner of the flow. I don't have time to check, but you'll need to use another method to get e-mails sent from a shared mailbox than the get e-mails action. 
    4. I need to send an email letting the person who filled out the form know that their form has been approved. I don't see an approval action in your flow. How does this work?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard