Skip to main content
googleDrive.exportFile export a Google Workspace file to another format.

Example

Inputs

Provide fileId and the destination mimeType. name is optional. A second argument with account selects a Google Account.

Output

Returns a File containing the exported bytes. Google limits available formats by source file type and caps exported content at 10 MB. If an export exceeds that limit, try a more compact supported format or split the source into smaller files before retrying.