Hello Power Automate Community,
I am seeking assistance with a manually triggered flow I am working on. My goal is to read data from an Excel spreadsheet, match each row with a list in SharePoint named 'ListGerel' using OData to compare the 'Prefix' column, then create an HTML table with those matched rows to send a personalized message to each manager via Microsoft Teams.
Here’s what my current flow does:
- Manual trigger is initiated.
- Lists rows from a table in an Excel file named 'Report.xlsx'.
- Retrieves items from the 'ListGerel' list in SharePoint by matching the 'Prefix' column from Excel with the 'Prefix' (Title) column in SharePoint using an OData filter.
- Creates an HTML table with the fetched rows that correspond to each prefix.
The part I am struggling with is how to efficiently iterate through each row of the Excel spreadsheet, generate a separate HTML table for each set of rows sharing the same prefix, and send that table to the corresponding manager in Teams using the email from the 'email' column in the SharePoint list.
I am looking for guidance on the best way to:
- Efficiently iterate through each row of the Excel spreadsheet.
- Generate a separate HTML table for each group of rows with the same prefix.
- Send this table to the appropriate manager on Teams, grabbing the manager's email from the 'ListGerel' list in SharePoint.
Any insights, suggestions on approaches, or examples of how to set up these steps in Power Automate would be incredibly helpful.
I appreciate any assistance you can provide!