The purpose of this automation, if combined with the related flow Upload a file to SharePoint when a contract is executed in LawVu, is to back up a copy of each executed contract record.
Note: this flow is only triggered when a contract record is initially created directly into the executed lifecycle stage. See SharePoint contract workflows - suggested combinations for a list of SharePoint backup workflows that complement each other.
This scenario applies if your organization has configured the LawVu field Is the contract already signed? on the create form and a user creating a contract record ticks this box.

Trigger

Action(s)
How it works
1
Workflow is triggered when a contract record is created in LawVu.
2
Get information about the contract record and the main contract file, and grab a copy of that file.
3
Terminate this workflow if a condition (is the lifecycle stage of this contract record now executed) is not met; otherwise, proceed.
4
Save the file in SharePoint.
5
(Opional) Add a status message to the LawVu contract record to confirm that the automation has saved a copy of the file to SharePoint.
Getting started
To use this template, you must make some changes.
Modifying the template
Required:
Set the SiteAddress variable.
Set the ContractPath variable (which deals with both the Library URL and the top-level subfolder you wish to use or create underneath for contract backups).
Optional:
Set the FolderName variable, which is the naming format for the structure of the subfolder created for each contract record.
Modify the status message posted to that contract. This is the last action in the flow and acts as a notice on the contract record in LawVu that a copy of the file was successfully saved to SharePoint.
Folder structure and file naming
When backing up copies, think about naming conventions for the files and folder structures for the subfolders where each file is saved. Note: these templates back up all files with the file name they already have.
Saving a file in the same location with the same name will save it as a new version of that SharePoint file. Our suggested folder structure for saving files from the supplementary files tab of a contract record (see flow Upload a file to SharePoint when a new file is uploaded to a LawVu contract record) within a root SharePoint folder is:
Contract Backup
[contract type]
Contract record ID [ID] - [name]
The flows that back up the main contract file suggest having a subfolder for the main contract file and its subsequent versions. Changes to the file name in LawVu will result in separate files within this subfolder. Our suggested folder structure for saving the main contract document within a root SharePoint folder is:
Contract Backup
[contract type]
Contract record ID [ID] - [name]
Contract document
Other flows to combine with this flow
If you want to have every single version of any contract record backed up to SharePoint (or some analogous location), use a combination of the contract flows:
Upload a file to SharePoint when a contract document is updated in LawVu and
Upload a file to SharePoint when a new contract record is created in LawVu
If you want to have a copy of only the executed contracts backed up to SharePoint (or some analogous location), use a combination of the contract flows:
Upload a file to SharePoint when an already executed contract is uploaded to LawVu and
Upload a file to SharePoint when a contract is executed in LawVu
This is because the trigger for flow Upload a file to SharePoint when a contract is executed in LawVu only captures existing contract records that progress from another lifecycle stage to Executed. You’ll need the flow Upload a file to SharePoint when an already executed contract is uploaded to LawVu to also capture contract records created directly into that lifecycle stage.
Details
Pricing
Free
Author
LawVu
Categories
Contracts
File backup

Power Automate
Requirements
Power Automate, part of Microsoft 365 Power Platform, is a low-code automation platform which allows users to create bespoke workflows that customise and connect their legal workspace, creating effiicency through automation and standardized workflows.
The LawVu connector for Power Platform is required to use this workflow template.