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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,939)