Help Centre › Functions & Formulas
This article describes the RPA Google Drive functionality to create a shortcut.
For a full list of available functions, please read Google Drive functions.
Description
The Google Drive Create shortcut function creates a shortcut (link) to an existing file or folder. The shortcut appears as a reference and does not duplicate the original content.
Setting it up
To use the Google Drive Create shortcut function, follow these instructions:
{{popups:rpas/add:action=google-workspace-drive-create-shortcut}}
Once on a process map:
- Navigate to the process where you would like to add the Google Drive Create shortcut 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 Create shortcut option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File or folder ID | Yes | Text | - | The file or folder ID to create a shortcut to |
| Shortcut name | No | Text | Shortcut | Name for the shortcut |
| Destination folder ID | No | Text | - | Folder ID where the shortcut will be placed |
| Variable | No | Text | - | State variable to store the shortcut ID |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Text | The ID of the newly created shortcut |
Errors
| Error | Description |
|---|---|
| Target not found | The target file or folder ID does not exist |
| Permission denied | Insufficient permissions to create a shortcut |
Tips
- Shortcuts do not count towards storage quota
- Deleting a shortcut does not delete the original file