Hi Team,
So currently I'm building a flow where i need to distinguish between the original received email and the replied mail, To perform this i've used "RE" in the subject line so that i can have 2 different conditions and perform different steps as per the email (new or replied)
The current problem i'm facing is that in the replied email part i need to fetch the latest email received only but it is giving me the entire email even the details of previous email to which it is replied to. As can be seen in the image below,
Body preview part is used in compose
Can someone help me over this i've used some string fuctions but no success so far.
Solved! Go to Solution.
Hi @SaifAli,
You can use the split() function to convert the Email body into an array, then get the first member.
Then use trim() function to remove leading and trailing whitespace, and return the updated string.
trim(split(outputs('Compose_2'),'From')[0])
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @SaifAli,
You can use the split() function to convert the Email body into an array, then get the first member.
Then use trim() function to remove leading and trailing whitespace, and return the updated string.
trim(split(outputs('Compose_2'),'From')[0])
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Same concept as above but you need to replace the word 'From' with the word of the signature you are receiving, for example 'Best'
trim(split(outputs('Compose_2'),'Best')[0])
User | Count |
---|---|
88 | |
37 | |
25 | |
13 | |
13 |
User | Count |
---|---|
121 | |
55 | |
36 | |
24 | |
21 |