I am currently trying to build a flow to move an excel attachment on an email to a SharePoint document library via a list. Sending the email to the SharePoint list seems to work OK and sending the attachment to the document library I thought was going OK until it appeared its now a *txt document and not an *xls file! Can you help?
Solved! Go to Solution.
If you post a picture of what you are currently doing that may help. I think the issue is the File Name and File Contect when you create the file in SharePoint. I am going to asume you may be missing the "Get Attachment" action. Talke a look at my screenshot and lot me know if that helps.
Hi, yes for some reason I can't add an attachment to the message?
Anyway, I've summarised as best as I can in text per below:
Add Attachment. Id = ID, File Name = Attachments Name, File Content = Attachments Content
Get Attachment content - Id = ID, File Identifier = Id
Create File - File Name = Subject, File Contect = Attachment Content.
Hi, its just coming through as a text file not an excel file, other than that it reaches the correct destinations in terms of from email to list to document library.
Hi Again, just tried again and now seems to work and is an excel file - very bizarre!
Thanks anyway for your assistance,
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
We've given our badges an overhaul and also added some brand new ones!
Learn how to build the business apps that you need.
Find out where you can attend!
Watch & learn from the Power Automate Community Video Gallery!