cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Build excel file from string of bytes

I have a use case where a service will email an excel file to a service account's mailbox. 

Once the email received with excel attachment, it should open up and loop every single row.

weilies_0-1605768282895.png

 

I am able to get my flow to detect and open up the attachment, read the attachment bytes into a variable, but how could i loop through the rows in the excel attachment?

 

At first i tried to "Get Worksheet" but i stuck. The options only allowed me to grab the excel file from OneDrive and SharePoint. My only way to grab the source file is via email.

weilies_1-1605768487618.png

 

 

5 REPLIES 5
bradleyhorton
Resolver II
Resolver II

@Anonymous  as part of the flow you could save the attachment to OneDrive or SharePoint, then use that file and then delete it after?

Anonymous
Not applicable

yeah, that's inspring after i post this thread. I managed to push to SP and pull out the excel

weilies_0-1605771475790.png

 

Next step, how could i loop the rows out? 

 

@Anonymous if the information is in a table you can use 'list rows present in a table' and then apply to each from the output. I'm afraid I don't know how to get it if the information isn't in table.

Anonymous
Not applicable

@bradleyhorton That's exactly what i am facing. 🙂 

I probably have to re-think my process.

 

Thanks anyway!

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (2,018)