I'm putting together a basic flow that should take certain excel email attachments and add rows to an Excel OneDrive Table with the same column headers. The flow can pick up the email and pass the basic subject and from info. I'm not clear how to extract the fields from the excel attachment into the fields/columns w/in Excel OneDrive Table.
I have tried to use the "Current Item", "Attachment Content" both which aren't magically returning a map to the right fields.
Expert users kindly provide some guidance/tips in terms of syntax or how to best approach this.
Did you have a look to this thread?
Hope this helps
The example you pointed me does provide some useful information but not able to bridge the gap yet.
The first link suggests to important 1st step is to save off the attached excel file to sharepoint (or onedrive).
Trying to be direct about the immediate issue:
I don't know how to reference a filename to use the "Create table in Excel" when that filename will change based on the incoming file from email that's saved in sharepoint.
Please let me know if you have any other details to guide.
Replying to my last post. I think can use the "File Identifier" as dynamic content for the filename and define a table name.
Currently, I think that's not an issue (subject to further validation) but now steps further in the flow might not be running since no new sharepoint item is being created.
Posting the overall flow so that experts can point out anything that either appears to be wrong logically or other clever simple ideas to implement instead.
Hi efialttes and fellow Power Automate expert users,
Good point, I'm likely making several poor decision in the process of trying to put together the pieces from various examples
My goal is the following:
Take emails with attachments that have some key subject. Use the attached excel file to update a master excel table (OneDrive) which has same columns.
Here is the latest that I have and uses O365, Sharepoint, and Excel OneDrive for Business.
1. When a new email arrives (V3) using O365.
Applied to a folder and filtered by subject
2. Create item using SharePoint.
This is placed in a List Name & Title'd by
3. Apply to each Attachment
4. Add Attachment using SharePoint
Now I have a SharePoint ID from #2.
Nor sure if I really need the SharePoint item, but idea was to have a table from attachment excel to map to a table in master Excel OneDrive table.
Do these steps seem logical and what might be the next step? My understanding is both data sets need to be in an excel table. Once we have a table from attachment I need clarity on how to pass the rows from this file into the master excel file table by column names.
Appreciate the help and tips so far..
>>It looks like you have an excel doc, with one 'main table' you use to add one row per attachment received.
You are correct, but I'm not able to figure out yet how to update this 'main table' using the attachment received.
My understanding was that both the data sets (Master Excel & attached Excel) had to be in the form of a Table. So I created a table even from the attached Excel sheet so that I could get back the names of the columns.
Maybe you have some suggestions on how to do the update to the main table?
For example if the main table has a column "Part ID" what needs to go in that field so that the newly added row from excel attachment matches under that column (which also has a "Part ID" column but it doesn't propagate as a clear column/field to put there).
Thanks a lot for the help so far! I did give one thumbs up for now..
Hi again also,
>>So the attachments are excel files, now on your main table you store attachmente related info, and on the table you create per attachment, you copy the rows from the attachment, right?
[mpanggabean] you are right. main table is just appended info from individual excel attached files.
>>So each excel attachment with N rows inside is represented by 1 row in the 'main table' and N rows in the particular table, right?
[mpanggabean] close, since main table is just cumulative entries of all rows in particular table/excel attachment.
If so, in order to match 'main table' row and 'particular table' I would suggest to store the name of the particular table in a column of the 'main table'
[mpanggabean] Hmm.. would you happen to have any example that you can point to as far as storing the names of the columns from the excel attachment or converted version in a table?.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.