u/Ok_Seaworthiness7458

Power Automate Variable Help
▲ 9 r/PowerAutomate+1 crossposts

Power Automate Variable Help

I am setting up an automation that will read the body of an email I receive and extract an email in the body of the text to then send a thank you email to. I was using this expression:

trim(
last(
split(
first(
split(
triggerOutputs()?['body/body'],
' '
)
),
'Purchaser Email'
)
)
)

when I realized this won't work as the email is on a separate line:

https://preview.redd.it/fnm12ff60svg1.png?width=341&format=png&auto=webp&s=4f051493dce99f1dd7dbe99ea49a09c4a381a85f

Any recommendations on edits to my expression?

reddit.com
u/Ok_Seaworthiness7458 — 5 days ago