Google Drive Get revisions function

The Google Drive Get revisions function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Drive functionality to get revisions.

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


Description

The Google Drive Get revisions function retrieves the version/revision history of a file, including revision IDs, modified times, and which user made each change.


Setting it up

To use the Google Drive Get revisions function, follow these instructions:

{{popups:rpas/add:action=google-workspace-drive-get-revisions}}

Once on a process map:

  1. Navigate to the process where you would like to add the Google Drive Get revisions 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 Get revisions option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File IDYesText-The file ID to get revisions for
VariableNoText-State variable to store the list of revisions

Output variables

VariableTypeDescription
VariableListList of revision objects with id, modifiedTime, and lastModifyingUser

Errors

ErrorDescription
File not foundThe specified file ID does not exist

Tips

  • Use the revision ID with Restore revision to roll back to a previous version
  • Google Workspace files may have many revisions

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.