Help Centre › Functions & Formulas
This article describes the RPA Google Drive functionality to get a share link.
For a full list of available functions, please read Google Drive functions.
Description
The Google Drive Get share link function retrieves the shareable web view link for a file. This link can be shared with others to view the file in a browser.
Setting it up
To use the Google Drive Get share link function, follow these instructions:
{{popups:rpas/add:action=google-workspace-drive-get-share-link}}
Once on a process map:
- Navigate to the process where you would like to add the Google Drive Get share link 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 Get share link option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File ID | Yes | Text | - | The file ID to get the share link for |
| Variable | No | Text | - | State variable to store the link URL |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Text | The shareable web view URL |
Errors
| Error | Description |
|---|---|
| File not found | The specified file ID does not exist |
Tips
- The link respects the file's sharing permissions
- Use Share file first to set who can access the link