Tilbage til Google Drive
Forbind Knoon AI med Google Drive (Google) for at automatisere AI-arbejdsgange.
Upload a text file to Google Drive from plain text content (e.g. JSON, logs, or simple text). Maximum supported file size is 100MB.
googleDriveUploadText
BETA
Tilladelser
Valgfrie tilladelser
Parametre
| Navn | Type | Beskrivelse | Obligatorisk |
|---|---|---|---|
| parentFolderId | file | Optional. Select a Google Drive folder to upload the file into. If not set, the file will be created in the root of Google Drive. | Nej |
| fileName | mustache | Name of the file in Google Drive (e.g. "data.json", "notes.txt"). | Ja |
| mimeType | mustache | Optional. MIME type to assign to the file in Drive (e.g. "application/json", "text/plain", "text/markdown"). Defaults to "text/plain" if omitted. | Nej |
| content | mustache | Plain text content for the file. This can include JSON, logs, or any UTF-8 text. The encoded file size must not exceed 100MB. | Ja |
Retur
| Navn | Type | Beskrivelse |
|---|---|---|
| status | string | UPLOADED or ERROR. |
| sensitive.fileId | string | Google Drive file ID of the uploaded file. |
| sensitive.name | string | Name of the uploaded file in Google Drive. |
| sensitive.mimeType | string | MIME type of the uploaded file as stored in Drive. |
| sensitive.size | string | Size of the uploaded file in bytes as a string, or null if unavailable. |
| confidential.webViewLink | string | Link to open the file in Google Drive (if available). |
| confidential.webContentLink | string | Direct download link for the file content (if available). |




