web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Saving a specific file...
Power Automate
Unanswered

Saving a specific file from a shared drive to sharepoint

(0) ShareShare
ReportReport
Posted on by 8

I'm working on a task where I need to automatically save files from a folder on my shared drive to SharePoint whenever a new file is added or modified. The challenge I'm encountering is that the folder contains a large number of files, but I'm only interested in saving just one file when it is modified: lets say the file name is Accounts_Extracted. I'm new to power automate so I'm not sure what I'm doing. Is the below image sufficient for this task. The processI followed: When a file is added/modified ( here i put on the split on and include this in the triger output: @contains(triggerOutputs()?['body/Name'], 'Accounts_Extracted.csv')) -----get file content --- create file(sharepoint). Is this the correct way to achieve this task? Find the image below:

Categories:
I have the same question (0)
  • Verified answer
    NV-28080856-0 Profile Picture
    13 on at
    1. Trigger: When a file is created or modified (properties only)
      Folder Path: /SharedFolder/
      Condition: Name contains Accounts_Extracted.csv
      If Yes:
      Action 1: Get file content using the Identifier (dynamic content from trigger)
      Action 2: Create a file in SharePoint
      Site Address: https://yourcompany.sharepoint.com/sites/yoursite
      Folder Path: /Shared Documents/TargetFolder/
      File Name: Accounts_Extracted.csv
      File Content: Use the File Content (dynamic content from the "Get file content" action)

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard