Google Drive Restore revision function

The Google Drive Restore revision function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Drive functionality to restore a revision.

For a full list of available functions, please read Google Drive functions.


Description

The Google Drive Restore revision function restores a file to a previous version/revision. The current version becomes a new revision in the history.


Setting it up

To use the Google Drive Restore revision function, follow these instructions:

{{popups:rpas/add:action=google-workspace-drive-restore-revision}}

Once on a process map:

  1. Navigate to the process where you would like to add the Google Drive Restore revision function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the Google Drive Restore revision option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File IDYesText-The file ID to restore
Revision IDYesText-The revision ID to restore to (from get_revisions)

Output variables

This action does not produce output variables.


Errors

ErrorDescription
File not foundThe specified file ID does not exist
Revision not foundThe specified revision ID does not exist

Tips

  • Use Get revisions first to get available revision IDs
  • The current version is preserved as a revision, so you can undo the restore

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.