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 a specific email a...
Power Automate
Unanswered

Get a specific email and forward

(0) ShareShare
ReportReport
Posted on by 2

I have a flow that is taking MS form submissions, creating an email, sending that email to our help desk system, where a ticket is created, and an email reply is generated with a requestID. Since flow is so credential based the emails are all being sent to the same address. I'm trying to use the Get emails (v2) action to find the email in the sent folder and then forward it to the individual that sent the form. 

 

I think I need to enter an ODATA search query to find the email, but am not having any success. 

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    Hi @JacksThyme,

     

    Could you share a screenshot of the Flow configuration?

    I am not sure how your search query is configured.

    Could you give an example of the characteristics of a message that matches the search criteria?

    Some fields of the Get emails(V2) action can also be used as filtering criteria to narrow the search.

    Please provide more details, Which should be helpful for me to share a further suggestion.

     

    Best Regards,

    Barry

  • JacksThyme Profile Picture
    2 on at

    @v-bacao-msft,

    Here is the whole flow.

     

    2018-11-30 10_13_33-Clipboard.pngAs of yet I don't have any search query configured, because I'm not sure how to write ODATA filter queries. I don't really understand the syntax and how to use it.

     

    As you can see in the flow, the submission of a new MS Form response is the trigger. Since MS forms pulls the the wrong name into the output I'm using the Get user profile (V2) to get the display name to use in the email that is sent to the ServiceDesk. That is where all the easy stuff ends. 

     

    The Service Desk email is being sent with the ServiceDesk credentials and our helpdesk software (SDM) automatically creates a request ID with ServicDesk as the requester. Then SDM replies to the ServiceDesk credentials with an email that contains the Request ID.

     

    As a work around I was hoping to use the Get emails (V2) action to find the reply email and parse out the relevant details to construct a whole new email to send to the user that responded to the MS Form.

     

    Below is a screenshot of the email sent from ServiceDesk to ServiceDesk as a reply to the email sent from the flow. I'd ultimately want to pull out the request ID to craft the email to the user.

     

    Does that all make sense?

    2018-11-15 14_58_03-Microsoft Edge.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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard