I want to enter a sender email adress in the trigger - see below
It does not recognize any valid email adress and after saving it is gone away - the thing worked before perfectly with three other flows
thanks for help
Solved! Go to Solution.
this trigger condition works fine for me:
I am also having a similar issue. I created a cloud flow to save emails when a new email arrives from specific emails (to include attachments). The flow works seamlessly with internal emails, but once i add external emails, the emails dont stay in the flow, they disappear after saving. Any idea what the disconnect is? or if it is true that the emails have to be connected to a 365 account, aka cannot use gmail emails?
Had the same problem with a lot of my flows.
My solution was:
- Add compose action
- Write the external E-Mail Adress there
- reference the output of this compose action wherever you want.
Hope this helps
I am sorry. I misread the question.
For a trigger that wont work. What you can do is change the trigger condition.
1. Click on the trigger
2. Settings (on the bottom of the settings are the trigger conditions)
3. Set the trigger condition to the email you want
If you are having problems with the syntax of the trigger conditions use the Filter array action. I attached you a picture.
Hello Ramspevi !
thank you for the nice solution - the problem is, that the trigger is allways executed - what i do not understand is the fact that the trigger works well with a valid email adress in three flows and now i cannot write a similar flow - I allways use the standard template - it seems thatthe trigger changed - why ????? that drives me crazy
A check of the email adress i can also do in a condition after the trigger - or not ??
If you set trigger conditions to your Email trigger, the flow will only execute if those trigger conditions match.
Of course. You can set a condition after the trigger that filter the incoming 'trigger matching emails' but working with trigger conditions is - most of the times - the better solution.
It works perfectly with one sender email adress - if I want to enter a second or a third one they are always removed - even with the JSON editor - it seems i do not understand the syntax
Just use the trigger conditions.
to be more precise:
1. it only works if the from: field is empty
2. it works with one e-mail adress but not with two - is it maybe possible that there is an AND instead of an OR
and setting an or before did not help - syntax seem to clean but it is not executed the way i want it
here the condition
@OR(equals(triggerOutputs()?['body/from'], 'firstname.lastname@example.org'), equals(triggerOutputs()?['body/from'], 'email@example.com'))
another try: entering more than one email adress in the JSON definition file
than you see in the display both email adresses but not separated with semicolon and each adress is stored in a separate line
and now no idea anymore
I want to run the flow if a mail comes from one of let's say 10 email adresses - nothing else
the alternatve is to create a flow for each vendor sending invoices
Thank you for the solid attempts at trying to remedy our issues. I am starting to think its an internal issue and our company has certain domains blocked. Our IT department is looking into that as the issue. In the interim, still looking for any other potential remedies.
OK - maybe it helps when i write what I need:
I want that if a mail arrives from external mailsender 1 or external mailsender 2 (or 3 or 4) and the subject contains the word Invoice OR the word Rechnung then the trigger should start and save the attachment (it would be nice only the PDF - no images from the html text or other attachment formats - but thats a nice goody) into a specific folder in onedrive.
Other requiremnt like renaming the file with the two first letters of the domain as prefix I managed myself in the meantime. It seems that the trigger "on new email V3" provided by the power automate system does not work like documented.
In the meantime i create a flow for each vendor sending invoices - but that's not productive.
no solution worked with one than more e-mail sender
for one email sender i had to enter the external e-mail adress by hand into the defintions.json
only my own e-mail adress (the tenant owner - the tenant has only one user) worked in the application - i tooked the following template:
Office 365-E-Mail-Anlagen in angegebenem OneDrive for Business-Ordner speichern | Microsoft Power Au... as starting point of my work
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.