I'm a beginner, so this is my first flow.
I need to transfer an email and all attachments if the one of the attached files has a specific name.
Please help me.
Thank you
I'm a beginner, so this is my first flow.
I need to transfer an email and all attachments if the one of the attached files has a specific name.
Please help me.
Thank you
Hi, I to have run into a circumstance where i needed this script for power automate. It works great, but i want to add one more condition. If the email is sent 'from:' someone inside my organization i don't want it to run, or the opposite the email must come from outside my organization. Where would i put this condition? Thanks in advance! Ryan
If you're happy with the solution and it worked as you wanted, please mark the post as "Accept as Solution" - it helps other folks find it later on.
Hi There,
Thank you so much for your precious help and support! It works like a charm ! I'm definately a new user of this powerful power automate!
Hi there,
If all you need to do is forward the email if it has the attachment, that'll be much easier. No, you won't need to transfer them to SharePoint.
Welcome to the wonderful world of Power Automate -- the learning curve is tricky, so be kind to yourself. You'll get there.
I found a faster way to do it when I built this for you to help out -- check it out:
I've set the trigger to "with attachments only" so it doesn't run on any email.
Next, I decided to use the "Find text position", and it's looking at all attachments at the same time, using that expression I have there (I added it in the "note" part, highlighted in yellow). It's looking for the position of whatever word, string, paragraph you choose - I chose 'duck'. If it doesn't find it, the outcome is -1. If it does find it, it'll give you the position - which might be 80, it might be 300, whatever.
The condition is just then saying "hey if it was less than 0, it wasn't found. If it's more than 0, it found something."
Let me know if you have any questions.
Please find here attached my flow. It gives me an error if i try to forward multiple attachments. If i remove the attachments i will receive three forwarded emails. I just need to forward this email once.
I'm sorry to ask for help , but this is my fist flow. I'm a beginner. Could you help me with screenshots with the conditions mentionned above? (If possible) Thank you.
Thank you so much for your reply!
I just need to transfer all attachments in a mail if one of it's attachments contains a specific word. fro instance the word "Country" . then this email will be forwarded to specific email contact with all it's attachments.
Shoud i save these attachments to sharepoint first or can we get these attchments with a variable?
Hi there,
Sure - so, you'll need to check every email that comes in, so your trigger will be "when a new email arrives".
Then, you'll just need to identify if the attachment has the name you need, so you'll loop through them and use a condition to say "if you find the name X, do activity Y. If you don't, don't."
Another post shows how to set this up - in their scenario, they are adding the attachments to SharePoint.
Instead, you'll want to transfer yours - but, what do you mean by that? To a specific person? Another account? OneDrive? SharePoint?