Hi, I'm having trouble trying to create a flow that will extract plain text from an email and adding the information to Power BI
I have the link between Flow and Power BI working but im stuck on the expression so I can add the relevant text to the datafield.
The email is already arriving in plain text, example below:
CUSTOMER: Bill Gates
REFERENCE: REF1234
TYPE: Fuel
USAGE: Domestic
QUANTITY: 1250 litres
PRICE: £506.25
I've tried using: substring(body('Html_to_text'),add(lastIndexOf(body('Html_to_text'),'CUSTOMER '), 10),25)
But I dont need to use the HTML converter as the email body is already plain text
Any help would be appriciated