cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Speez
Level: Powered On

Question on Functionality for Recording Outlook Emails in Excel Sheet

First time using flow, previous (occassional) IFTTT user (for personal stuff).

 

I have created a flow to save all attachments from certain senders to a folder in dropbox, and also to log the time, subject, sender, and attached file name for said emails as they come in within an excel sheet in the same dropbox folder. It took about 25-30 minutes of tinkering, but then I was up and running.

 

My question is with regards the excel log and the table sizing. Initially I made the table (4 columns) the length of the whole sheet, but that exceeds the 100000 row limit as I soon learned. I then made the table ~20 rows tall to start testing. I then sent a series of emails with 1 or more attachments to test functionality. This worked fine, and the "__PowerAppsId__" column was added to the table on the far right, NBD.

 

However, what I noticed was that on the first email, with one attachment, the entry was added to the excel table at the bottom of the table (row 21) and rows 2-20 were all blank save for the __PowerAppsId__ column, which had a randomized entry on each row. Subsequent emails just appended themselves to a new last line in the table (I guess it created row 22 and added the entry for the next email/attachment combo).

 

In light of this, I then recreated the table having only 1 initial row (header in row 1, first empty entry in row 2) and received an error 413 RequestEntityToLarge in the flow run history (file save worked, email entry failed). I then redid the table again and restarted everything and now it seems to work.

 

Before I roll this out to some colleagues and start using this for our workflow, I just want to understand what was going on with both the first empty rows in a table being filled with blanks and only populating the __PowerAppsId__ column, and also what the 413 error means (haven't found a solid answer yet). My fix seems to obviously be starting with a 1-row table, but I want to make sure it won't present an issue down the road. 

 

Really cool otherwise.

 

Thanks, 

1 REPLY 1
Community Support Team
Community Support Team

Re: Question on Functionality for Recording Outlook Emails in Excel Sheet

Hi @Speez,

 

Could you please share a screenshot of your flow’s configuration?

 

When you insert records into an Excel file with Excel connector, it will insert a column called _PowerAppsId_ into the table automatically, the _PowerAppsId_ column is used to keep track of changes in the row. Besides, even though, there is something error occurred when you insert records into the table (Records are not inserted into the table successfully), the _PowerAppsId_ column would also be populated with a value.

 

The 413 error told that the server cannot process the request because the request URL is longer than the server can interpret. This issue is related to the size of inserted records of the table.

 

More details about HTTP Status Code, please check the following article:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa383887(v=vs.85).aspx

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors
Users online (6,103)