Hello,
I have an HTML email that i received in specific created folder, I would need to parse the text within the email to SharePoint list where i have already set my headers to correspond the value in each email.
Request Number , Invoice Number , Invoice Date, Fees, Saddad Number, Biller Number
The typical Paragraph in the email is as follows :
Fees Payment
Dear \ XXXXXXXXXXXXXXXXXXX
An invoice has been issued for the request number 2020-105913 for service New Marketing Permission
Invoice Number : XXXXXXXXXX (Numbers)
Invoice Date : 31/10/2020 (Dates)
Fees: 15000.0 (Numbers)
Sadad Number : XXXXXXXXXX (Numbers)
Biller number : XXX (numbers)
Connectors i tried using When an email arrives, HTML to email, Compose ( then could not pass the compose ones)
Compose
length(body('Html_to_text'))= return 1730 character in the initial email received
Compose (Request number )
add(indexOf(body('Html_to_text'),'Request Number'),15) = output 675
Compose ( Invoice Number)
Int(indexOf(body('Html_to_text'),'Invoice Number')) = output 725
Compose (substract request Number from Invoice Number)
Sub(outputs('Request_Number'),outputs('Invoice_Number'))= output -50
I hope you could assist in this one urgently,
Regards,
Sherif