top of page

Power Automate - Create columns in an Excel using JSON

Just came up against a very interesting Power Automate problem that I had never come across before. I needed to be able to create an excel file and populate a different data set in a spreadsheet dependent on some criteria.

I thought it would be a matter, of creating an Excel template and then copying it over to a new file location, but not that simple. I had to first create the Excel file, then get the content metadata and store that in a compose step. This gave me a blank Excel file content, which I could then save anywhere I wanted. After that I created the file with that file content from the compose step, in SharePoint and gave it a name. Then use Create a table action:

Then, and this is the cool bit, I had to add a row into that table, because I didn't have any row information, I used JSON to create the row based on the values supplied and into the columns I had created. Using key value pairs from the manual trigger and the table column names:

Nice !!

50 Comments


Rapp lxl
Rapp lxl
Aug 10

kientoto

kientoto


Keep up the good work; I really like this article.

Like

Rapp lxl
Rapp lxl
Aug 10

logototo


logototo


logototo


logototo


logototo


I really like the articles you provide; they have greatly broadened my horizons.

Like

Rapp lxl
Rapp lxl
Aug 10

bejototo


bejototo


bejototo


I really like the articles you provide; they have greatly broadened my horizo

Like

Rapp lxl
Rapp lxl
Aug 10

jaditoto

I really like the articles you provide; they have greatly broadened my horizon

Like

Rapp lxl
Rapp lxl
Aug 10

akuntoto

I really like the articles you provide; they have greatly broadened my

Like

Subscribe Form

©2019 by Jon Does Flow. Proudly created with Wix.com

bottom of page