append data from a mail attachment to an existing Excel file in SharePoint using Power Automate
1) New email received trigger
2) Get attachments
3) Parse CSV content to JSON
4) Add data to Excel
(3) Parsing CSV content
There are are few different ways. Natively, you can use expressions to parse CSVs but it can get quite complicated. A no code option is Encodian's Parse CSV action that returns the CSV data in JSON format ready for the next step.
(4) Adding data to Excels
Natively, you can use the Excel connector to add rows to an excel table. Whether this is a viable solution will depend whether your data is in a table content type in the destination excel and how large the data set that you are adding is. This action requires you to loop through each row so is not suitable for large data sets. Alternatively, you can use Encodian's Add Rows to Excel action to add bulk data in a single step and it can add data to tables and unstructured data alike.
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.