Files, from the perspective of Microsoft Power Automate, are objects that can be both the product or result of a workflow (as we saw in Chapter 3, Working with Email, when we looked at the Expense Report flow) or moved around through one. In this section, we're going to build on the Expense Report flow from Chapter 3, Working with Email, and copy the file from the Expense Report document library to another SharePoint site for archival purposes.
We'll also use Power Automate with another business scenario: publishing content to an outside storage service.
Copying files to SharePoint
Suppose your organization has a requirement to make an archival copy of all the content that passes through a particular work process. In this example, we're going to build on the flow we created in Chapter 3, Working with Email, in order to save email attachments and copy those file attachments to a new folder. Follow these steps to do so:
- Launch the Power Automate web...