Hello, I've been playing around with power automate and really found some useful case within my team. So we've been receiving hundreds or thousands of emails of system alerts and want to filter the most important ones to send it to teams chat. The email is in Rich Text format and not HTML.
So sample email is:
# Organization = BLA BLAH
# Machine Address = USA
# Machine City = BLA BLAH
# Machine State = BLA BLAH
# Machine Zip = BLA BLAH
# Machine Country = BLA BLAH
# Contact Name = BLA BLAH
# Alternate Contact Name = BLA BLAH
# Contact Phone Number = BLA BLAH
# Alternate Contact Phone Number = BLA BLAH
# Offshift Phone Number = N/A
# Alternate Offshift Phone Number = N/A
# Contact Email = BLA BLAH
# Machine Location = BLA BLAH
# Record Type = BLA BLAH
# Machine Type = BLA BLAH
# Serial Number = BLA BLAH
# Machine Part Number =
# Component =
# Component Release =
# Group Name =
# Hardware MT =
# Hardware SN =
# Error ID = FAILED HARDWARE
# Error Code = BLA BLAH BLA BLAH BLA BLAH
# Error Type = software
# System Version = SystemVersion
# FRU = None
# System Name = SystemName
And I want to get only the following lines or information to send to teams chat:
# System Name = SystemName
# Error ID = FAILED HARDWARE
# Error Code = BLA BLAH BLA BLAH BLA BLAH
and other information if required.