Back to Google Drive

Connect Knoon AI with Google Drive (Google) to automate AI workflows.

Read the contents of a text-based file (e.g. JSON, plain text, Markdown) from Google Drive as a string. Maximum supported file size is 10MB.
googleDriveReadText
BETA
Permissions
  • https://www.googleapis.com/auth/drive.file
Optional permissions
  • https://www.googleapis.com/auth/drive
Parameters
NameTypeDescriptionRequired
fileIdfile Select the Google Drive file to read. The file must be text-based and must not exceed 10MB.Yes
encodingstring Encoding used to decode file contents.No
Returns
NameTypeDescription
statusstring DONE.
contentstring File contents decoded as text.
sensitive.fileIdstring Google Drive file ID.
sensitive.namestring Name of the file.
sensitive.mimeTypestring MIME type of the file.
sensitive.sizestring Size (bytes).