Index a folder
Agents answer from the docs, sheets, and text files in the folder.
Name
Service account key
Google Drive service account key
Create a
Google Cloud project
and enable the
Google Drive API
. Then create a
service account key
and store the JSON file as a credential.
Folder ID
In the folder's URL:
drive.google.com/drive/folders/
ID
. Share the folder with the service account's email, with at least the Viewer role.
Included file IDs
(optional)
Comma-separated. Only these files are read.
Excluded file IDs
(optional)
Query
(optional)
A
Drive search query
that narrows which files are read.
Department
Organization-wide (no department restriction)
Only this department's agents read the folder.
Audience
Everyone
Assistant only
Cancel
Index folder