Skip to content
Gallery
Export to Google Workspace Guide
Share
Explore
Formulas

icon picker
Upload to Google Drive

The UploadToGoogleDrive formula allows you to upload files from your Coda doc to Google Drive, provided they are less than 5 MB. By combining this formula with the Export formula from the Export Tables or Export Tables Pro pack, you can also upload your Coda tables directly to Google Drive (see ).

Parameters

Required Parameters

There are 2 required parameters for this formula:
account : The Google account you want to use (automatically populated by Coda once your account is connected)
fileUrl : The file you want to upload. Files can be found in tables under the “File” or “Image” column types.

Optional Parameters

There are 5 optional parameters for this formula:
driveFolderUrl : The URL or ID of the Google Drive folder you want the Google Sheet to be created in (shared folders allowed). If omitted, they will go into your main drive folder
nameForUpload : Include this if you want to customize the name of your uploaded file. If omitted, your table name or original file name will be used
shareWith: Include this if you want to share the upload with any email addresses. This should be a list of emails to share with
permissionType : Use this to specify the permission type that emails defined in shareWith should have. The options are “Reader”, “Writer”, “Commenter”
doNotThrowErrors : Set this to true() if you want to supress errors for failed uploads. This can be useful if using the formula in an automation

Playground

fileUrl* :
Blank
driveFolderUrl :
nameForUpload :
shareWith :
None
permissionType :
Blank
doNotThrowErrors :

Upload to Google Drive

Feedback

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.