The ‘For Each’ action requires an array as input. However, the SharePoint action, ‘When an item is created', only returns a single object and not in the format of an array. Therefore, you don’t need a 'For Each' action. I’m not sure what you have in your 'For Each' action, but you should be able to extract it from the ‘For Each’ action.
If you’re trying to create a new SharePoint item in another list, you can perform that action right under the trigger. Use the trigger outputs as needed to configure the inputs of the ‘Create a new item’ action.
I hope this helps!
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers!
Rick Hurt