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.
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.
Here is the whole flow.
As 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?
Check out how to claim yours today!
Check out new user group experience and if you are a leader please create your group
Test your skills now with the Cloud Skill Challenge.