Hi all,
I have a problem almost identical to this thread: https://powerusers.microsoft.com/t5/Connecting-To-Data/Extract-data-from-excel-email-attachment-and-update-central/m-p/345931#M6191 . However, the solution wasn't explicated in that thread and the attached thread throws up an invalid link. So I will ask it again.
Aim:
To extract rows (all bar the first/title row) from a CSV in a series of email attachments, and append these to an Excel workbook stored in a communal SharePoint file location.
Task:
- I have a scraper that accesses an API at pulls some data and outputs this into CSV (in a consistent format).
- The code then sends this CSV in an attachment to my inbox.
- My outlook rules know to handle this and store it in a folder 'Form-D Filings'
- I want a Flow to detect this (When a new email arrives V3) which I can do
- Then I want the flow to copy the attachment and paste this in a designated folder. This is the method I am using, is it correct?
- Then I want the flow to open the copied CSV file, and extract all rows that are NOT NULL, aside from the first/title row. How do I set up the Excel connector to extract this dynamically? What does this mean? The data will be from CSV and, hence, no formatting?
- Then I want the flow to append these rows under current data in a file that exists in one directory up (ie parent folder). How do I achieve this? What connector? What format?
I would appreciate any and all help, as I am new to Power Automate (worked with other Flow software before but not this).
Thanks in advance.