Files and documents
Google Drive
Description
Agents search, read and upload files in their users' Google Drive, and work on Google Docs and Sheets.
Show full descriptionShow less
Each user connects their own Google Workspace account the first time the agent needs it: from then on the agent searches their Drive and shared drives, reads Docs, Sheets, Slides and text files, hands PDFs and other files to other tools as attachments, uploads files to a folder, finds or creates folders, creates new Google Docs, from text or as a copy of a template with its placeholders filled in, and reads, appends and updates rows in Google Sheets. It always acts with the connected user's permissions, never deletes files and never changes sharing.
It requires an OAuth client created in your organization's Google Cloud project, with the Google Drive and Google Sheets APIs enabled (and the Google Docs API for createFromTemplate): the client ID and secret go in the agent's tool settings. No tool sends anything externally; the ones that write (uploadFile, createDocument, createFromTemplate, createFolder, appendSheetRows, updateSheetCells) are separate, so you can enable search and reading only.
Google Drive is a trademark of Google LLC. This integration is developed by Exelab and is not affiliated with, sponsored by, or endorsed by Google.
Tools
appendSheetRowsAdds rows at the end of a table in a Google Sheets spreadsheet.
createDocumentCreates a new Google Docs document in the connected Drive.
createFolderFinds or creates a folder in the connected Google Drive.
createFromTemplateCreates a Google Doc as a copy of a template and fills in its placeholders.
readFileReads a file from the connected Google Drive.
readSheetReads a range of cells from a Google Sheets spreadsheet.
searchFilesSearches the connected Google Drive for files and folders.
updateSheetCellsOverwrites cells of a Google Sheets spreadsheet.
uploadFileUploads files to the connected Google Drive.
Versions
New createFolder tool: finds a folder by name inside a parent folder and creates it only when it is not there, so repeated calls never leave duplicates.
New createFromTemplate tool: creates a Google Doc as a copy of a template, keeping its layout, styles and headers, and fills in its placeholders. It needs the Google Docs API enabled in the Google Cloud project of the OAuth client.
Security fix: writing to spreadsheets now refuses values that start a formula.
Every tool now has a short description and every field a label, in English and Italian, shown in the reader's language. Requires Polyant engine 1.3.0.
First release. Agents search, read and upload files in their users' Google Drive, and work on Google Docs and Sheets.