Announcements
Dear community:
i get this error, do you know why?
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerBody()?['{Identifier}']' is of type 'String'. The result must be a valid array.
Hi @bebo987 ,
The input in the expression needs to be valid array whereas what you have specified is string so it is failing. You need to put an array in foreach .
Thanks
@bebo987
Can you explain what you are trying to do in your loop?
Usually, you don't need to add the loop yourself. My suggestion is to remove the loop and re-add your condition. If a loop is required, Power Automate will automatically add it for you.
hi guys,
I modified a parametres in the field so now works.
thanks for your inputs
I am having same issue. Can you expand on what you changed. My input is a list where I am filtering on items that a date column only matches "today's" date. That part works but when I go downstream of the condition to send the email it fails for the exact same reason.
@MillerTime23
It would be best if you would create a new post for your issue. Please include screen shots of your Flow as well as the error. If you @ mention me, I'll try to assist.
This is a terrible answer. Why not just answer it if you know?Was on the thread looking for help, now I need to go find it somewhere else.Thumbs down.
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 474
11manish 268
David_MA 243 Super User 2026 Season 1