Cloud storage service for file backup, sharing, and collaboration
googledrive.downloadFile
itemId
(TEXT, Required): The unique identifier of the file you want to download from Google Drivegoogledrive.getCurrentUser
id
: User IDemail
: User email addressname
: User display namepicture
: User profile picture URLverified_email
: Whether the email is verifiedgoogledrive.searchFiles
query
(TEXT, Optional): A query string for filtering the file results. If no query string is passed, it returns the most recent files. This searches through the full text and the titles of the filesgoogledrive.getFolder
folderName
(TEXT, Required): Search term used to find folders that contain this text in their names. For example, you can search for ‘Projects’, ‘Marketing’, or ‘Documents’ to find folders with those terms in their namesid
: Folder IDname
: Folder namemimeType
: Folder MIME type (application/vnd.google-apps.folder)parents
: Array of parent folder IDscreatedTime
: Creation timestampmodifiedTime
: Last modification timestampwebViewLink
: Link to view the folder in Google Drivegoogledrive.searchFilesAdvanced
pageToken
(TEXT, Optional): The token for continuing a previous list request on the next page. This should be set to the value of ‘nextPageToken’ from the previous response
query
(TEXT, Optional): A query string for filtering the file results. If user asks to get recent files without a specific search query, leave this field empty.orderBy
(TEXT, Optional): A comma-separated list of sort keys. Valid keys are:
createdTime: When the file was created.
folder: The folder ID. This field is sorted using alphabetical ordering.
modifiedByMeTime: The last time the file was modified by the user.
modifiedTime: The last time the file was modified by anyone.
name: The name of the file. This field is sorted using alphabetical ordering, so 1, 12, 2, 22.
name_natural: The name of the file. This field is sorted using natural sort ordering, so 1, 2, 12, 22.
quotaBytesUsed: The number of storage quota bytes used by the file.
recency: The most recent timestamp from the file’s date-time fields.
sharedWithMeTime: When the file was shared with the user, if applicable.
starred: Whether the user has starred the file.
viewedByMeTime: The last time the file was viewed by the user.
Each key sorts ascending by default, but can be reversed with the ‘desc’ modifier. Example usage: folder,modifiedTime desc,namefolderId
(TEXT, Optional): Unique identifier of the folder in which you want to search.files
: Array of file objects containing:
id
: File IDname
: File namemimeType
: File MIME typecreatedTime
: Creation timestampmodifiedTime
: Last modification timestampsize
: File size in byteswebViewLink
: Link to view the fileowners
: Array of owner informationparents
: Array of parent folder IDsnextPageToken
: Token for pagination (if more results available)googledrive.downloadGoogleDriveFile
itemId
(TEXT, Required): The unique identifier of the file you want to download from Google Drive.googledrive.listFilesinFolder
folderId
(TEXT, Required): The unique identifier of the Google Drive folder to list files from. This will include files from the folder and all its subfoldersgoogledrive.uploadFile
file
(FILE, Required): The file to upload to Google Drive
folderId
(TEXT, Optional): The ID of the folder where you want to upload the file. If not provided, the file will be uploaded to the root of your Google DrivefileName
(TEXT, Optional): Optional custom name for the file. If not provided, the original filename will be usedid
: File IDname
: File namemimeType
: File MIME typesize
: File size in byteswebViewLink
: Link to view the filecreatedTime
: Upload timestampgoogledrive.newFile
folderIds
(TEXT, Optional): Comma-separated list of folder IDs to monitor for new filesgoogledrive.updatedFile
fileIds
(TEXT, Optional): Comma-separated list of file IDs to monitor for updates
folderIds
(TEXT, Optional): Comma-separated list of folder IDs to monitor for updatesgoogledrive.newFolder
parentFolderId
(TEXT, Optional): Comma-separated list of parent folder IDs to monitor for new foldersIssue | Solution |
---|---|
Authentication failed | Verify your OAuth credentials |
Rate limit exceeded | Reduce request frequency |
Data not found | Check permissions and data availability |
Connection timeout | Verify network connectivity |