web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Cannot write a new exc...
Power Automate
Unanswered

Cannot write a new excel table from HTML table array

(0) ShareShare
ReportReport
Posted on by 11

I am trying to build the following workflow and having trouble adding dynamic content to a newly created excel file. 

 

The process

1) Users fill in a form. With the form submission they select an application. Each application has its own specific list of approvers (which is stored as a stand alone excel document called 'approval matrix').

 

2) The form data is added to a SharePoint list as a new item 

 

3) Next step is to attach a business case to this newly created item as an attachment. This attachment is created from template excel file where the content is copied to the new attachment. The file works fine and stores this as an attachment in the item.

 

4) I scan the 'Approval matrix' file and filter all the appprovers for the application in question. This is stored as an HTML table (as below) which works fine.

 

The Issue - I want to now append this HTML table of approvers directly into the newly created attachment. I cannot seem to get this working. 

 

The Flow as is

 

JW1989_3-1673883802521.png

Create Item - takes form responses and creates a new List Item

Create File - creates a new attachment with my template content (blank business case)

Create Table - creates a new table in the attachment. This is the table where I want to store all my approvers from the array below

JW1989_4-1673884008286.png

List rows present in a table - this takes all the approvers Name, Platform, Role & Email from the Approval Matrix

Filter Array - filters only those who match the criteria (in this case all approvers that match the Platform in question)

Create HTML Table - this stores all the approvers that I want to add to my newly created Table above in the attachment file. 

 

JW1989_1-1673883425452.png


As you can see it outputs the correct array highlighted in red.

 

How do I add this dynamic content into my newly created Excel table?I have tried adding them as new rows in a loop but its not working. 

 

Any help is greatly appreciated. 

 

 

Categories:
I have the same question (0)
  • Verified answer
    JW1989 Profile Picture
    11 on at

    Solved - I added the Add Row into the loop based on the HTML titles

     

    JW1989_0-1673910810125.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard