For context, trying to build a flow that extracts information from documents to automate entry into our database. I created a custom AI builder model that extracts the information and now I want to add the data into two separate tables into an excel sheet.
I get this error when I ask PA to add information to two tables at the same time. I wasn't getting this error when using one table.
"The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerBody()['file']['contentBytes']' is of type 'String'. The result must be a valid array."
I am having the AI pull data from the document into the table and want to include data from a table from the document. Maybe there is a better way to do this? This whole process is new to me and I could be overlooking something simple. I just want to pull all the information from the specific boxes in the document into excel so I can easily import it. This would save hours of work per week. Thanks!