Hi, the trigger of 'new mail arrives' seems have two active contents, 'attached file' and 'value'.
In 'apply to each' action, 'attached file' is working well.
But in case of 'value', always the flow fails.
Then "when new mail arrives" trigger is working only when new email has attached files.
Also, I wonder why 'value' is not translated in Japanease.
Is there any help/tips?
I have reproduced your issue.
When Apply to each is with Attachment, it will run successfully:
Flow will only work when there is attachment in email. This is because that you only pull in the attachment of the emails to be used in the Apply to each action below.
When flow is like below, it will fail with error.
I have reported your issue to the product team. If I got any update, I will notice you here.
Firstly, let's clarify the definition of Apply to each. Frequently, you will get a list of items returned by an action. For example, you could get a list of email attachments for new emails, or a list of search results from a search API. An apply to each loop makes it possible to control the list that you repeat over.
When it comes to "When a new email arrives" trigger, "Value" represents for the whole content of this new email, including the header, the body, etc. So if you put this to Apply to each, each run only have one "value". It will never contain a list of results. So the Apply to each is meaningless in this flow. That's the reason why it won't work.
Thank you for your updating. I have tried again as your suggestion.
1. Delete 'Apply to each' step. And add 'Action'
2. add acction "Insert row to Excel"
In this screen, I couldn't find timestamp of mail such as recieve date, send date. I tried to push 'More', but it doesn't work. no optoin was seen.
Then I used other parameters already appeared in the screen.
My new flow fails.
I've checked my flow settings, then error is shown.
Please tell me how I can use 'new mail arrives' trigger in flow when new mail doesn't have attachements ?
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!