I want to create a condition in Microsoft Flow that searches for a certain string in an e-mail body.
I have tried it with "body contains string" and it worked, if the string was only in one line.
Unfortunately, the mail is not structured in a user-friendly way. It can happen that blanks are missing before or after the string or that the string is even spread over two lines. I simply lack the experience with this kind of queries.
Does anyone here have an idea how I can best approach this?
Here are two examples of the string I am looking for and how it could be in the mail:
The string I am looking for: "Business Function in Department: Technical Team"
The Mail can look like this:
Ticket: 12345678Location: [Ohio]Account: ABC Business Function in Department:
Technical TeamReason: New Hire
or like this:
Ticket: 12345678Location: [Ohio]Account: ABC Business Function
in Department: Technical TeamReason: New Hire
or like this:
Ticket: 12345678Location: [Ohio]Account: ABCBusiness Function in
Department: Technical TeamReason: New Hire
Any ideas and help welcome!