Announcements
Hi,I have a flow where users can set some start parameters and also add a file to the flow (manually started on a SharePoint list item). This flow will update the list item (no problem there) and attach the file to the object (also works). But how do I get the name and file-extension of the supplied file? At the moment I use a static file name but that won't work since users will uses different kind of file formats. I feel as if I'm missing something obvious here.//Mattias
FYI - I recommend posting Flow questions to the Flow Community (https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity
As to your question, you didn't specify exactly how they are submitting the file, but if they are simply uploading it a sharepoint folder, you can pick up the file name in the Dynamic content created from the "When a file is created in a folder" under Filename. (Other triggers related to getting a file should similarly provide the name of the file).
Hmm, I guess that the purple header color should have caught my attention 🙂
Thank you for answering but unfortunately it's not that simple. I reposted my question with some screen shots, https://powerusers.microsoft.com/t5/Building-Flows/Addding-image-from-Sharepoint-attachments/m-p/272145.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 396 Most Valuable Professional
11manish 134 Super User 2026 Season 2
MS.Ragavendar 101 Super User 2026 Season 2