Flow / Power Automate - SharePoint: Automate File Movement to an Archive Library Tutorial
Learn to automate file movement in a SharePoint archive library using variables, conditional elements, and Power FX functions. Imagine maintaining source folder structure in the target library. Set up a recurring flow to retrieve and process files, and recreate the original structure in the archive library. This tutorial provides a comprehensive guide for efficient archiving between SharePoint libraries!
- 05:20
- 215 views
-
OneDrive - What is OneDrive ?
- 01:14
- Viewed 1692 times
-
Copilot - Use Copilot with Right-Click
- 01:45
- Viewed 984 times
-
Outlook - Create and modify a group
- 2:19
- Viewed 4452 times
-
OneDrive - Edit, Delete a Share
- 02:16
- Viewed 1107 times
-
Power BI - Introduction to Power Bi
- 1:29
- Viewed 6447 times
-
Teams Premium - Activate the features of Teams Premium
- 3:48
- Viewed 13825 times
-
Teams Premium - Optimize Teams Premium settings in Administration
- 1:27
- Viewed 2656 times
-
Viva Engage - The role of an administrator
- 2:22
- Viewed 4899 times
-
Create automatic reminders
- 4:10
- Viewed 8005 times
-
Introducing PowerAutomate
- 1:53
- Viewed 3749 times
-
Save Automatically an attachment
- 4:32
- Viewed 3309 times
-
Automate Teams notifications
- 3:32
- Viewed 3259 times
-
Create a Scheduled Flow with Power Automate
- 01:29
- Viewed 607 times
-
SharePoint: Link Microsoft Forms and Lists in a Power Automate Flow
- 04:43
- Viewed 427 times
-
Retrieve Data from a Web Page and Include it in Excel
- 04:35
- Viewed 406 times
-
Create an Approval Flow with Power Automate
- 03:10
- Viewed 384 times
-
Dropbox: Create a SAS Exchange Between SharePoint and Another Storage Service
- 03:34
- Viewed 373 times
-
Create an Instant Flow with Power Automate
- 02:18
- Viewed 360 times
-
Create a Desktop Flow with Power Automate from a Template
- 03:12
- Viewed 354 times
-
Create an Automated Flow with Power Automate
- 03:28
- Viewed 349 times
-
Create a Simple Flow with AI Copilot
- 04:31
- Viewed 326 times
-
Access Power Automate for the Web
- 01:25
- Viewed 316 times
-
Understand the Steps to Create a Power Automate Flow
- 01:51
- Viewed 307 times
-
Create a Flow Based on a Template with Power Automate
- 03:20
- Viewed 298 times
-
Understand the Benefits of Power Automate
- 01:30
- Viewed 263 times
-
Add Conditional “Switch” Actions in Power Automate
- 03:58
- Viewed 247 times
-
Excel: Link Excel Scripts and Power Automate Flows
- 03:22
- Viewed 242 times
-
Excel: List Files from a Channel in an Excel Workbook with Power Automate
- 04:51
- Viewed 238 times
-
The Power Automate Mobile App
- 01:39
- Viewed 217 times
-
Understand the Specifics and Requirements of Desktop Flows
- 02:44
- Viewed 217 times
-
Manipulate Dynamic Content with Power FX
- 03:59
- Viewed 216 times
-
Understand the Concept of Variables and Loops in Power Automate
- 03:55
- Viewed 215 times
-
Share Power Automate Flows
- 02:20
- Viewed 208 times
-
Familiarize Yourself with the Different Types of Flows
- 01:37
- Viewed 206 times
-
Discover the “Build Space”
- 02:26
- Viewed 205 times
-
Discover the Power Automate Home Interface
- 02:51
- Viewed 204 times
-
Leverage Variables with Power FX in Power Automate
- 03:28
- Viewed 195 times
-
Add Conditional “IF” Actions in Power Automate
- 03:06
- Viewed 185 times
-
Create automatic reminders
- 4:10
- Viewed 8005 times
-
Answering a scheduling poll
- 1:14
- Viewed 7023 times
-
Create a scheduling poll
- 4:12
- Viewed 5164 times
-
Discovering the interface
- 4:51
- Viewed 5147 times
-
Creating compartments to organise tasks
- 6:45
- Viewed 4597 times
-
Enrich tasks content
- 5:48
- Viewed 4394 times
-
Creating the project tasks
- 5:18
- Viewed 4288 times
-
Use the scheduling poll dashboard
- 2:42
- Viewed 4252 times
-
Deleting a task, a compartment or a plan
- 3:25
- Viewed 4163 times
-
Creating a project
- 3:49
- Viewed 4084 times
-
Advanced tasks
- 3:18
- Viewed 3752 times
-
Manage the most important tasks
- 1:38
- Viewed 3723 times
-
Planner Tasks in To Do
- 1:52
- Viewed 3693 times
-
Planner and transverse applications
- 4:43
- Viewed 3681 times
-
Save, publish, and share
- 2:22
- Viewed 3526 times
-
Add dates and deadlines to your tasks
- 1:12
- Viewed 3516 times
-
Outlook tasks in To Do
- 2:51
- Viewed 3491 times
-
Organize your daily tasks
- 1:56
- Viewed 3457 times
-
Manage Your Working Time in MyAnalytics
- 0:34
- Viewed 3442 times
-
Create a new task in To Do
- 2:21
- Viewed 3427 times
-
Intro to Microsoft To Do Interface
- 2:41
- Viewed 3371 times
-
Schedule sending emails in Outlook
- 0:54
- Viewed 3347 times
-
Create and share to-do lists with others
- 2:34
- Viewed 3333 times
-
Save Automatically an attachment
- 4:32
- Viewed 3309 times
-
Setting delegates
- 0:34
- Viewed 3291 times
-
Customising the interface
- 3:10
- Viewed 3271 times
-
Manage permissions
- 1:10
- Viewed 3261 times
-
Automate Teams notifications
- 3:32
- Viewed 3259 times
-
What is Microsoft To Do?
- 0:45
- Viewed 3242 times
-
Temporarily turn off notifications
- 0:23
- Viewed 3223 times
-
Displaying the progress of your plan
- 4:17
- Viewed 3204 times
-
Fill in your work schedules in Outlook
- 1:29
- Viewed 3192 times
-
Manage your availabilities
- 1:42
- Viewed 3190 times
-
Clutter
- 1:31
- Viewed 3140 times
-
Create and share lists with others
- 2:50
- Viewed 2986 times
-
Extensions
- 1:31
- Viewed 2969 times
-
Manage Requests of Holidays and Leaves of Absences
- 0:58
- Viewed 2962 times
-
Save, publish, and share
- 2:24
- Viewed 2957 times
-
Intro to Microsoft To Do on Mobile
- 2:06
- Viewed 2946 times
-
Understanding the new interface
- 1:30
- Viewed 2943 times
-
Remove a member from a group
- 0:29
- Viewed 2876 times
-
Check your day planning
- 0:30
- Viewed 2854 times
-
Publish your Booking page
- 2:54
- Viewed 2842 times
-
Shift and its imbrication with Teams
- 1:03
- Viewed 2795 times
-
The mobile App with Teams
- 0:48
- Viewed 2696 times
-
Create a meeting in the group calendar
- 1:12
- Viewed 2655 times
-
Rank your custom lists into groups
- 0:56
- Viewed 2646 times
-
Redefine privacy for highly secure meetings
- 2:37
- Viewed 2603 times
-
Immersive Reader
- 2:51
- Viewed 2593 times
-
The Outlook tasks in To Do
- 2:47
- Viewed 2576 times
-
Quickly find your files
- 2:07
- Viewed 2569 times
-
Add dates and deadlines to your tasks
- 1:17
- Viewed 2562 times
-
Pin your important files
- 0:34
- Viewed 2481 times
-
Progressive Web Apps
- 3:11
- Viewed 2349 times
-
Install Office on your smartphone
- 1:02
- Viewed 2341 times
-
Manage the most important tasks
- 1:28
- Viewed 2340 times
-
Take ownership of the taskbar
- 2:10
- Viewed 2281 times
-
Organize your daily tasks
- 2:19
- Viewed 2268 times
-
Create video chapters
- 0:52
- Viewed 2258 times
-
Virtual Appointments
- 1:44
- Viewed 2221 times
-
Overall view of your licences and subscription
- 0:46
- Viewed 2189 times
-
Planner Tasks in To Do
- 1:49
- Viewed 2177 times
-
Create a new task in To Do
- 2:21
- Viewed 2160 times
-
Rank your custom lists into groups
- 0:51
- Viewed 2130 times
-
Break up lengthy surveys and quizzes into sections
- 2:24
- Viewed 2103 times
-
Preparing for time away from the office
- 1:24
- Viewed 2064 times
-
Create a Task List or Plan with Copilot
- 1:49
- Viewed 1554 times
-
Harnessing Advanced Options in Your Loop
- 02:14
- Viewed 1552 times
-
View events
- 2:21
- Viewed 1492 times
-
Leveraging OneDrive Logic in Your Loop
- 01:01
- Viewed 1388 times
-
Creating your new workspace
- 01:24
- Viewed 1313 times
-
Exchange and Communicate Using Discussions in Loop
- 01:14
- Viewed 1250 times
-
How to Work with the Microsoft Loop Interface?
- 02:36
- Viewed 1200 times
-
Edit, Delete a Share
- 02:16
- Viewed 1107 times
-
What is Microsoft Loop ?
- 2:09
- Viewed 1073 times
-
Generate and Organize Ideas with Copilot
- 2:06
- Viewed 956 times
-
Enhance your pages using the "/" Command
- 03:24
- Viewed 939 times
-
Search and tag people with “@”
- 02:15
- Viewed 913 times
-
Use Connectors to Receive Notifications
- 0:48
- Viewed 906 times
-
Use the filter pane in a library
- 2:00
- Viewed 878 times
-
Pin a document to the top of a document library
- 1:32
- Viewed 851 times
-
Manage Storage Spaces on Teams
- 2:05
- Viewed 833 times
-
Centralize Important Events in a Single Channel Calendar
- 0:42
- Viewed 832 times
-
Filter Your Document Display
- 1:10
- Viewed 803 times
-
Transforming Your Section into a Component and Collaborating
- 02:34
- Viewed 667 times
-
Create a Scheduled Flow with Power Automate
- 01:29
- Viewed 607 times
-
Organize Your Messages with Rules
- 02:01
- Viewed 543 times
-
Use Document History or Restore a Document to a Previous Version
- 02:11
- Viewed 479 times
-
Use Documents in a Synchronized Library Folder
- 01:32
- Viewed 430 times
-
SharePoint: Link Microsoft Forms and Lists in a Power Automate Flow
- 04:43
- Viewed 427 times
-
Retrieve Data from a Web Page and Include it in Excel
- 04:35
- Viewed 406 times
-
Edit or delete an appointment, meeting or event
- 01:50
- Viewed 403 times
-
Use Recycle Bins to Restore Documents
- 01:49
- Viewed 397 times
-
Manage Storage Space
- 02:08
- Viewed 385 times
-
Create an Approval Flow with Power Automate
- 03:10
- Viewed 384 times
-
Discover the Meaning of OneDrive Icons
- 02:16
- Viewed 381 times
-
Sync OneDrive with a Computer
- 02:38
- Viewed 375 times
-
Dropbox: Create a SAS Exchange Between SharePoint and Another Storage Service
- 03:34
- Viewed 373 times
-
Grant delegate access in Microsoft 365 administration
- 01:23
- Viewed 367 times
-
Power and Manage OneDrive
- 01:36
- Viewed 365 times
-
Create an Instant Flow with Power Automate
- 02:18
- Viewed 360 times
-
Send invitations or reminders with Copilot
- 00:53
- Viewed 359 times
-
Synchronize Your Teams and SharePoint Files on Your Computer
- 01:29
- Viewed 354 times
-
Create a Desktop Flow with Power Automate from a Template
- 03:12
- Viewed 354 times
-
Create an Automated Flow with Power Automate
- 03:28
- Viewed 349 times
-
Set Your Work Hours in Outlook
- 02:02
- Viewed 333 times
-
Create a Simple Flow with AI Copilot
- 04:31
- Viewed 326 times
-
Use the Meeting Dashboard
- 02:48
- Viewed 325 times
-
Create your reservation page for appointment booking (Bookings)
- 03:17
- Viewed 321 times
-
Access Power Automate for the Web
- 01:25
- Viewed 316 times
-
Create different types of events
- 01:46
- Viewed 311 times
-
Understand the Steps to Create a Power Automate Flow
- 01:51
- Viewed 307 times
-
Create an appointment or meeting
- 01:44
- Viewed 306 times
-
Presentation and introduction to the calendar
- 01:35
- Viewed 304 times
-
Create a Flow Based on a Template with Power Automate
- 03:20
- Viewed 298 times
-
Manage new message notifications
- 01:40
- Viewed 296 times
-
Create a Meeting Poll
- 02:48
- Viewed 296 times
-
Create a task or reminder
- 01:50
- Viewed 288 times
-
Create a task from a message
- 02:00
- Viewed 283 times
-
Change the default font of your emails
- 01:05
- Viewed 276 times
-
Manage Views
- 02:36
- Viewed 271 times
-
Create an Email Template
- 01:40
- Viewed 266 times
-
Recall or replace an e-mail message
- 01:45
- Viewed 263 times
-
Understand the Benefits of Power Automate
- 01:30
- Viewed 263 times
-
Send Automatic Out-of-Office Replies
- 02:22
- Viewed 259 times
-
Organizing OneNote with Copilot
- 00:46
- Viewed 251 times
-
Use a Shared Mailbox
- 01:18
- Viewed 247 times
-
Add Conditional “Switch” Actions in Power Automate
- 03:58
- Viewed 247 times
-
Use the Scheduling Assistant
- 01:42
- Viewed 246 times
-
Excel: Link Excel Scripts and Power Automate Flows
- 03:22
- Viewed 242 times
-
Create and Manage Appointments in Delegated Calendars
- 02:04
- Viewed 240 times
-
Automate Routine Actions
- 02:19
- Viewed 238 times
-
Excel: List Files from a Channel in an Excel Workbook with Power Automate
- 04:51
- Viewed 238 times
-
View Other Calendars
- 00:50
- Viewed 234 times
-
Use Categories
- 02:51
- Viewed 233 times
-
Calendar Delegation Setup
- 01:21
- Viewed 233 times
-
Clean Up Your Inbox
- 01:18
- Viewed 229 times
-
Delay Email Delivery
- 01:10
- Viewed 222 times
-
Mailbox Delegation Setup
- 01:59
- Viewed 222 times
-
Use Conversation View
- 01:47
- Viewed 219 times
-
The Power Automate Mobile App
- 01:39
- Viewed 217 times
-
Understand the Specifics and Requirements of Desktop Flows
- 02:44
- Viewed 217 times
-
Manipulate Dynamic Content with Power FX
- 03:59
- Viewed 216 times
-
Understand the Concept of Variables and Loops in Power Automate
- 03:55
- Viewed 215 times
-
Streamline Note-Taking with OneNote and Outlook
- 01:03
- Viewed 211 times
-
Respond to invitations as a delegate
- 02:55
- Viewed 210 times
-
Share Power Automate Flows
- 02:20
- Viewed 208 times
-
Familiarize Yourself with the Different Types of Flows
- 01:37
- Viewed 206 times
-
Discover the “Build Space”
- 02:26
- Viewed 205 times
-
Discover the Power Automate Home Interface
- 02:51
- Viewed 204 times
-
Easily Sort Your Mails
- 01:38
- Viewed 202 times
-
Display Three Time Zones
- 01:52
- Viewed 202 times
-
Respect Your Colleagues' Off Hours (Viva Insights)
- 01:27
- Viewed 197 times
-
Leverage Variables with Power FX in Power Automate
- 03:28
- Viewed 195 times
-
Add Conditional “IF” Actions in Power Automate
- 03:06
- Viewed 185 times
-
Initiate a project budget tracking table with Copilot
- 02:54
- Viewed 66 times
-
Develop and share a clear project follow-up with Copilot
- 02:18
- Viewed 72 times
-
Organize an action plan with Copilot and Microsoft Planner
- 01:31
- Viewed 86 times
-
Structure and optimize team collaboration with Copilot
- 02:28
- Viewed 85 times
-
Copilot at the service of project reports
- 02:36
- Viewed 75 times
-
Initiate a tracking table with ChatGPT
- 01:35
- Viewed 70 times
-
Distribute tasks within a team with ChatGPT
- 01:26
- Viewed 115 times
-
Generate a meeting summary with ChatGPT
- 01:24
- Viewed 76 times
-
Project mode
- 01:31
- Viewed 77 times
-
Create an agent for a team
- 01:53
- Viewed 126 times
-
Install and access Copilot Studio in Teams
- 01:38
- Viewed 128 times
-
Analyze the Copilot Studio agent
- 01:25
- Viewed 74 times
-
Publish the agent and make it accessible
- 01:39
- Viewed 131 times
-
Copilot Studio agent settings
- 01:33
- Viewed 69 times
-
Add new actions
- 01:54
- Viewed 124 times
-
Create a first action
- 01:59
- Viewed 122 times
-
Manage topics
- 01:51
- Viewed 98 times
-
Manage knowledge sources
- 01:11
- Viewed 68 times
-
Create an agent with Copilot Studio
- 01:52
- Viewed 123 times
-
Access Copilot Studio
- 01:09
- Viewed 121 times
-
Get started with Copilot Studio
- 01:25
- Viewed 69 times
-
Introduction to PowerBI
- 00:60
- Viewed 187 times
-
Introduction to Microsoft Outlook
- 01:09
- Viewed 180 times
-
Introduction to Microsoft Insights
- 02:04
- Viewed 184 times
-
Introduction to Microsoft Viva
- 01:22
- Viewed 186 times
-
Introduction to Planner
- 00:56
- Viewed 193 times
-
Introduction to Microsoft Visio
- 02:07
- Viewed 186 times
-
Introduction to Microsoft Forms
- 00:52
- Viewed 188 times
-
Introducing to Microsoft Designer
- 00:28
- Viewed 257 times
-
Introduction to Sway
- 01:53
- Viewed 165 times
-
Introducing to Word
- 01:00
- Viewed 185 times
-
Introducing to SharePoint Premium
- 00:47
- Viewed 166 times
-
Create a call group
- 01:15
- Viewed 231 times
-
Use call delegation
- 01:07
- Viewed 149 times
-
Assign a delegate for your calls
- 01:08
- Viewed 228 times
-
Ring multiple devices simultaneously
- 01:36
- Viewed 152 times
-
Use the "Do Not Disturb" function for calls
- 01:28
- Viewed 141 times
-
Manage advanced call notifications
- 01:29
- Viewed 157 times
-
Configure audio settings for better sound quality
- 02:08
- Viewed 190 times
-
Block unwanted calls
- 01:24
- Viewed 158 times
-
Disable all call forwarding
- 01:09
- Viewed 160 times
-
Manage a call group in Teams
- 02:01
- Viewed 150 times
-
Update voicemail forwarding settings
- 01:21
- Viewed 147 times
-
Configure call forwarding to internal numbers
- 01:02
- Viewed 141 times
-
Set call forwarding to external numbers
- 01:03
- Viewed 164 times
-
Manage voicemail messages
- 01:55
- Viewed 214 times
-
Access voicemail via mobile and PC
- 02:03
- Viewed 232 times
-
Customize your voicemail greeting
- 02:17
- Viewed 143 times
-
Transfer calls with or without an announcement
- 01:38
- Viewed 139 times
-
Manage simultaneous calls
- 01:52
- Viewed 149 times
-
Support third-party apps during calls
- 01:53
- Viewed 183 times
-
Add participants quickly and securely
- 01:37
- Viewed 151 times
-
Configure call privacy and security settings
- 02:51
- Viewed 144 times
-
Manage calls on hold
- 01:20
- Viewed 152 times
-
Live transcription and generate summaries via AI
- 03:43
- Viewed 144 times
-
Use the interface to make and receive calls
- 01:21
- Viewed 153 times
-
Draft a Service Memo
- 02:33
- Viewed 198 times
-
Extract Invoice Data and Generate a Pivot Table
- 03:26
- Viewed 186 times
-
Formulate a Request for Pricing Conditions via Email
- 02:32
- Viewed 276 times
-
Analyze a Supply Catalog Based on Needs and Budget
- 02:41
- Viewed 243 times
-
SharePoint Page Co-Editing: Collaborate in Real Time
- 02:14
- Viewed 97 times
-
Other Coaches
- 01:45
- Viewed 198 times
-
Agents in SharePoint
- 02:44
- Viewed 160 times
-
Prompt coach
- 02:49
- Viewed 186 times
-
Modify, Share, and Install an Agent
- 01:43
- Viewed 178 times
-
Configure a Copilot Agent
- 02:39
- Viewed 169 times
-
Describe a copilot agent
- 01:32
- Viewed 194 times
-
Rewrite with Copilot
- 01:21
- Viewed 170 times
-
Analyze a video
- 01:21
- Viewed 193 times
-
Use the Copilot pane
- 01:12
- Viewed 185 times
-
Process text
- 01:03
- Viewed 173 times
-
Create an insights grid
- 01:19
- Viewed 291 times
-
Generate and manipulate an image in PowerPoint
- 01:47
- Viewed 182 times
-
Interact with a web page with Copilot
- 00:36
- Viewed 205 times
-
Create an image with Copilot
- 00:42
- Viewed 301 times
-
Summarize a PDF with Copilot
- 00:41
- Viewed 197 times
-
Analyze your documents with Copilot
- 01:15
- Viewed 196 times
-
Chat with Copilot
- 00:50
- Viewed 185 times
-
Particularities of Personal and Professional Copilot Accounts
- 00:40
- Viewed 281 times
-
Data Privacy in Copilot
- 00:43
- Viewed 198 times
-
Access Copilot
- 00:25
- Viewed 306 times
-
Use a Copilot Agent
- 01:24
- Viewed 206 times
-
Modify with Pages
- 01:20
- Viewed 208 times
-
Generate and manipulate an image in Word
- 01:19
- Viewed 202 times
-
Create Outlook rules with Copilot
- 01:12
- Viewed 196 times
-
Generate the email for the recipient
- 00:44
- Viewed 187 times
-
Action Function
- 04:18
- Viewed 151 times
-
Search Function
- 03:42
- Viewed 206 times
-
Date and Time Function
- 02:53
- Viewed 186 times
-
Logical Function
- 03:14
- Viewed 283 times
-
Text Function
- 03:25
- Viewed 213 times
-
Basic Function
- 02:35
- Viewed 178 times
-
Categories of Functions in Power FX
- 01:51
- Viewed 201 times
-
Introduction to Power Fx
- 01:09
- Viewed 180 times
-
The New Calendar
- 03:14
- Viewed 306 times
-
Sections
- 02:34
- Viewed 190 times
-
Customizing Views
- 03:25
- Viewed 182 times
-
Introduction to the New Features of Microsoft Teams
- 00:47
- Viewed 304 times
-
Guide to Using the Microsoft Authenticator App
- 01:47
- Viewed 203 times
-
Turn on Multi-Factor Authentication in the Admin Section
- 02:07
- Viewed 159 times
-
Manual Activation of Multi-Factor Authentication
- 01:40
- Viewed 113 times
-
Concept of Multi-Factor Authentication
- 01:51
- Viewed 190 times
-
Use the narrative Builder
- 01:31
- Viewed 235 times
-
Microsoft Copilot Academy
- 00:42
- Viewed 197 times
-
Connect Copilot to a third party app
- 01:11
- Viewed 206 times
-
Share a document with copilot
- 00:36
- Viewed 198 times
-
Configurate a page with copilot
- 01:47
- Viewed 196 times
-
Use Copilot with Right-Click
- 01:45
- Viewed 984 times
-
Draft a Service Memo with Copilot
- 02:21
- Viewed 209 times
-
Extract Invoice Data and Generate a Pivot Table
- 02:34
- Viewed 237 times
-
Summarize Discussions and Schedule a Meeting Slot
- 02:25
- Viewed 300 times
-
Formulate a Request for Pricing Conditions via Email
- 02:20
- Viewed 373 times
-
Analyze a Supply Catalog Based on Needs and Budget
- 02:52
- Viewed 354 times
Objectifs :
This tutorial aims to teach you how to automate the movement of files in a SharePoint archive library, taking into account various constraints. You will learn to use variables, conditional elements, and Power FX functions to create a recurring flow that organizes files based on their age while maintaining the original folder structure.
Chapitres :
-
Introduction to File Automation
Welcome to this tutorial where you will learn to automate the movement of files in an archive library. This process involves a more complex flow that must consider a series of constraints. -
Understanding the Task
In this video, you will use variables, conditional elements, and Power FX functions. Imagine needing to move files from a folder in a SharePoint library based on their age. The goal is to move these files while maintaining the source folder and file structure, ensuring an identical organization of your content in the target library, which is your archive library. -
Setting Up Your SharePoint Libraries
In this SharePoint site, you will find a standard library named 'Documents' containing a folder titled 'Files to Move.' This folder has a series of files of varying ages. Optionally, you can add a column for the file creation or modification date, which isn’t shown by default. Your second library, named 'Archives,' is currently empty and will need to be automatically populated. -
Creating a Recurring Flow
To begin, you will initiate a recurring flow that runs on the first of each month at 6 a.m. The first action will be to retrieve files from the folder containing potential files to be moved. While you could process the entire contents of your document library, this tutorial will focus on a specific folder. -
Configuring Advanced Settings
Enable advanced settings to apply a query that limits the flow to the chosen folder, including files in the subfolders. Enter the parameters related to nested items and specify the folder to be processed. In this example, you will only move files created two years ago or more. -
Setting Filter Criteria
The filter query will specify this criterion. Enter the name of the created column for the file creation date. You can also use 'modified' for the date of the last modification of the file. Set your criterion to 'le' (less than or equal) and enter an apostrophe to reference your deadline relative to the file creation date. -
Using Power FX Functions
Use the Power FX button to enter a formula that references the current date (UTC now) associated with the 'A day' function, defining minus 730 days (about two years). This will allow you to subtract 730 days from the current date. -
Processing Files
When SharePoint lists the files, it will include the names of the subfolders. To recreate the original structure in your archive library, constrain this action by adding a query parameter that excludes folder-type objects from the result. Initialize a text variable named 'folder' and populate it during future processing. -
Looping Through Files
Files dated over two years will be listed. Begin their processing by initializing an 'Apply to Each' loop that retrieves the dynamic content body value, which is the list of items to process. Within the loop, populate your 'folder' variable by retrieving the access path of each file. -
Managing File Paths
Choose the action related to variables to set your 'folder' variable. The access path of the file to be moved will contain the name of the library 'Shared Documents' and the subfolder 'Files to Move.' Use a Power FX formula to replace this path with empty space in your variable to retrieve only the relative path inside the folder to be processed. -
Handling Folder Structure
The last character of your 'folder' variable will contain a slash, which will cause an issue when moving the file to be archived. Use the 'slice' function to retrieve the path string from position index zero to index minus one, corresponding to the slash to be removed. If the file is at the root of your 'Files to Move' folder, the variable will contain empty space; otherwise, it will contain the path of the folder where the file is placed. -
Creating Folders in SharePoint
Manage an 'if' condition to test if the 'folder' variable is empty. If so, add the SharePoint action to create folders in your SharePoint site within your archives library, using the relative path of the folder corresponding to the file being processed. -
Moving Files to Archive
After creating or not creating the folder, still within the loop, add the action to move the processed file. Refer to the file to be moved by its complete original path and set the destination folder corresponding to your archives library, followed by the path stored in your variable. If another file already exists, choose to replace it. -
Conclusion
Finally, save and test your flow. Files over two years old will be moved to the root of your archives library, and for files stored in subfolders, the original structure will be recreated. This is how to create a complete archiving flow between SharePoint libraries.
FAQ :
What is the purpose of automating file movement in SharePoint?
Automating file movement in SharePoint helps maintain organization, ensures timely archiving of old files, and reduces manual effort in managing file storage.
How do I set up a recurring flow in Power Automate?
To set up a recurring flow in Power Automate, you can use the 'Recurrence' trigger, specify the frequency (e.g., monthly), and set the time for the flow to run.
What are Power FX functions?
Power FX functions are formulas used in Microsoft Power Platform to perform calculations, manipulate data, and automate tasks within applications.
How can I filter files based on their creation date in SharePoint?
You can filter files based on their creation date by using a filter query in your flow that specifies the date criteria, such as files created two years ago or more.
What should I do if a file already exists in the destination folder?
If a file already exists in the destination folder, you can choose to replace it during the file movement process in your flow.
Quelques cas d'usages :
Automating Document Archiving
In a corporate environment, a company can automate the archiving of old project files from a SharePoint library to an archive library. By setting up a flow that runs monthly, the company ensures that all files older than two years are moved, maintaining the original folder structure, which helps in easy retrieval of archived documents.
Managing Compliance Records
A legal firm can use this automated flow to manage compliance records by moving files that are no longer active to an archive library. This helps in keeping the active library clutter-free while ensuring that all compliance documents are stored securely and can be accessed if needed.
Streamlining File Organization
An educational institution can implement this flow to regularly archive student records and course materials that are no longer in use. By automating the process, the institution can ensure that their document library remains organized and that important historical data is preserved in an accessible manner.
Glossaire :
SharePoint
A web-based collaboration platform developed by Microsoft that integrates with Microsoft Office. It is used for storing, organizing, sharing, and accessing information from any device.
Power FX
A low-code programming language used in Microsoft Power Platform to create custom business logic and automate processes.
Flow
A feature in Microsoft Power Automate that allows users to automate workflows between applications and services.
UTC
Coordinated Universal Time, a time standard that is the basis for civil timekeeping worldwide.
Variable
A storage location identified by a name that can hold data which may change during the execution of a program.
Loop
A programming construct that repeats a block of code as long as a specified condition is true.
If Condition
A conditional statement that executes a block of code if a specified condition is true.
Folder Structure
The organization of folders and subfolders within a file system, which helps in managing and locating files.
Filter Query
A set of criteria used to limit the data retrieved from a database or service based on specific conditions.