Announcements
Hi all.
I'm looking forward an email after it's been received but before it's forwarded, remove certain data in this case a reference that starts "ab-" and is followed by 6 numbers.
Any ideas on if that's possible? Any help is appreciated.
Hi @Mbates83 ,
Here's a flow for you to consider implementing! In this example, I use "Send email (V2)" action because the Forward Email action does not allow for a custom subject but this essentially does the job!
Here's the flow and then I will describe it below. If this was helpful, please mark as a solution so others can find this answer also!
The first action is a compose where I want to build our custom, dynamic subject. There are a lot of ways to do this and this is just one example.
You can use the Format data by examples feature and add in some sample subject lines and this will build the expression for you too.
As discussed, this does not use the Forward email action because there is no way to modify the subject line. You could also add the "Fwd: " to your subject line too, if desired by adding that to your concat expression:
concat('Fw: ', split(triggerOutputs()?['body/subject'], '-')[0], '-XXXXXX')
The results:
Let me know if helps you get started this morning!
You would build a similar compose to replace the case reference number in the body of the original email with AB-XXXXXX but need specific examples to write the expression. But I think this is some good framework to get you started. Have a great day over there!
Are you doing this in cloud flows or desktop flows? @trice602 's solution works for cloud flows. But you posted the question in the forums for desktop flows.
Thanks both, will test and come back if further help is needed
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 484
11manish 282
David_MA 280 Super User 2026 Season 1