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 / Microsoft flow to shar...
Power Automate
Answered

Microsoft flow to sharepoint list

(0) ShareShare
ReportReport
Posted on by 11

Hello there,

 

I have tried to create a flow to make a ticketing system where people submit a form and it automatically gets put into a SharePoint list.

 

When my flow runs I get the following error:

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

 

BarneyHillman_2-1634207305064.png

BarneyHillman_3-1634207325161.png

The SharePoint List is Called Issue Tracker List.

The Form is called Submit a Ticket.

 

Any help would be greatly appreciated.

Thanks in advance 🙂

 

Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @BarneyHillman 

    This step needs to be moved outside the Apply to Each

    Mira_Ghaly_0-1634207589204.png

     

  • BarneyHillman Profile Picture
    11 on at

    Wow thank you for such a fast reply

     

    BarneyHillman_0-1634207661059.png

     

    you mean like this?

     

  • BarneyHillman Profile Picture
    11 on at

    I still get this error 😞

     

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

  • Verified answer
    Mira Ghaly Profile Picture
    11,415 Moderator on at

    @BarneyHillman 

    Try moving the create Item outside the apply as well

  • BarneyHillman Profile Picture
    11 on at

    BarneyHillman_0-1634207984113.png

    it now looks like this i will give it  try

     

     

  • BarneyHillman Profile Picture
    11 on at

    Thank you 

    @Mira_Ghaly 

     

    It works, is there any way i can give you a rating or something? I'm new to this 

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 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard