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?