Hello!
I need help with a flow that reads incoming emails and updates the status and comments on a SharePoint list. The status is captured 100%, but the comments are not, and I don't know how to fix the function to make it work 100%.
Here is the flow and the function. The comments are always very similar, like: IPN666666 Call 1 13 March 2024 AP.
When I read the output from "HTML to text," one thing I notice is:
Thank you!
I have tried removing the trim () but it now capture the entire email contents.split(split(replace(outputs('Html_to_text')?['Body'], '\n', ' '), 'Comments: |')[1], '|')[0]
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492