web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Output Errors

(0) ShareShare
ReportReport
Posted on by 2

I keep getting the error below in my flow and I am not sure how to fix it

 

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/Created']' is of type 'String'. The result must be a valid array.

Categories:
I have the same question (0)
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @RoxyM ,

     

    Could you please share a screenshot of your flow. From the error message, you used a string in Apply to each action.

    In Apply to each action we have to use an array as loop.

     

    Best Regards,

    Dezhi

  • RoxyM Profile Picture
    2 on at

    RoxyM_0-1671439950686.png

     

  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @RoxyM ,

     

    Please can you tell me what requirement you want to achieve?
    The "When an item is created" trigger will only return the data of the currently created item, you don't need to use apply to each action.

     

    Best Regards,

    Dezhi

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard