How to read data from different tabs/sheet in an excel workbook

Hi,

I have two tables: Data and Template. The Data table contains multiple tabs, and the Template table contains mapping information. I want to rename all the column names in my Data tables according to the mapping in the Template table. I created a workflow for this, but the loop is not working. Can anyone suggest what the issue might be or provide an alternative solution?