Help Centre › Functions & 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:
- Navigate to the process where you would like to add the Google Drive Restore revision function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the Google Drive Restore revision option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File ID | Yes | Text | - | The file ID to restore |
| Revision ID | Yes | Text | - | The revision ID to restore to (from get_revisions) |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| File not found | The specified file ID does not exist |
| Revision not found | The 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