Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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 🙂

 

  • BarneyHillman Profile Picture
    11 on at
    Re: Microsoft flow to sharepoint list

    Thank you 

    @Mira_Ghaly 

     

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

  • BarneyHillman Profile Picture
    11 on at
    Re: Microsoft flow to sharepoint list

    BarneyHillman_0-1634207984113.png

    it now looks like this i will give it  try

     

     

  • Verified answer
    Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Re: Microsoft flow to sharepoint list

    @BarneyHillman 

    Try moving the create Item outside the apply as well

  • BarneyHillman Profile Picture
    11 on at
    Re: Microsoft flow to sharepoint list

    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.

  • BarneyHillman Profile Picture
    11 on at
    Re: Microsoft flow to sharepoint list

    Wow thank you for such a fast reply

     

    BarneyHillman_0-1634207661059.png

     

    you mean like this?

     

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Re: Microsoft flow to sharepoint list

    @BarneyHillman 

    This step needs to be moved outside the Apply to Each

    Mira_Ghaly_0-1634207589204.png

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow