Hi there,
A simple one I suppose, but I can't get it to work. I'm not very experienced in Power Automate and it may show.
I'm using:
"When a new email arrives" > Condition (subject does not contain RE:) > if YES
"Get Tables" (I pick an existing spreadsheet in Sharepoint)
"Apply to each" is shown below
It fails with:
Action 'Apply_to_each' failed
Error Details
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@{outputs('Get_tables')?['body/value']}@{triggerOutputs()?['body/receivedDateTime']}@{triggerOutputs()?['body/from']}@{triggerOutputs()?['body/subject']}' is of type 'String'. The result must be a valid array.
If you are using the Apply to Each loop to go through each of the tables retrieved in the Get Tables action then you only need to use the Value property in the Loop. The other values will be used in the Add row as you have them.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional