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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to trigger the ...
Power Automate
Unanswered

Unable to trigger the mail action

(0) ShareShare
ReportReport
Posted on by

Hi guys ,

 

I am currently doing my project using power automate to automate my email flows , While running i got this error " The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@{triggerBody()?['entity']?['Power BI values']} ' is of type 'String'. The result must be a valid array." How can convert this to array expression should be like this "@triggerBody()?['entity']??{}['Power BI values']" two question mark.

 

help me guys........

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

    Hi @Ramsonthosh17 ,

     

    Could you please show the outputs of '@{triggerBody()?['entity']?['Power BI values']} ' ?

    If the expression output string is separated by a certain character, such as a space, you can use the spilt function to cut it into an array.

    spilt(triggerBody()?['entity']?['Power BI values'],' ')

     

     

    Best regards,

    Rimmon

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard