Zurück zu Google Drive

Verbinde Knoon AI mit Google Drive (Google), um KI-Workflows zu automatisieren.

Export a Google Workspace file from Google Drive to another format and save it as an attachment. Maximum supported exported file size is 10MB.
googleDriveExportFileToAttachment
Beta
Berechtigungen
  • https://www.googleapis.com/auth/drive.file
Optionale Berechtigungen
  • https://www.googleapis.com/auth/drive
Parameter
NameTypBeschreibungErforderlich
fileIdfile Select the Google Workspace file to export. Supported examples include Google Docs, Sheets, Slides, and Drawings.Ja
exportMimeTypemustache Export MIME type to request from Google Drive (e.g. "application/pdf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "text/csv", "image/png"). Supported values depend on the Google Workspace file type.Ja
Rückgaben
NameTypBeschreibung
statusstring DONE.
contentstring Attachment.
sensitive.sourceFileIdstring Original Google Drive file ID.
sensitive.sourceMimeTypestring Original Google Drive MIME type before export.
sensitive.namestring Name of the saved exported attachment.
sensitive.mimeTypestring MIME type of the saved attachment.
sensitive.sizestring Size (bytes).