Google Drive upload file

Nintex external platform is required for this feature. For details, see Enable Nintex external platform features.

Uploads a file to Google Drive.

If the service encounters multiple folders with the same name, it will only access the most recently modified folder. If the service encounters another file with the same name and the overwrite check box is unchecked, it will create a file with the same name but a different ID.

Action settings

Following are the fields and options visible in the configuration settings dialog box for this action.

Field Description
File to upload

Select one of the following items.

  • Existing SharePoint Content: Use this option to upload an existing file from the current site. Enter a site-relative URL to the file.

    Example: Shared%20Documents/statement.docx

  • Content: Use this option to upload a file. Enter the text to insert into the file to be uploaded.

    For example, insert a reference to the initiator.

    Note: The file type is determined by the extension specified for the file name.

  • Current item (option available for workflows associated with lists): Use this option to upload the current file that the workflow is running on.
Destination folder

Specify the destination folder for the upload.

Example: Crestan\Depts

Note: If multiple folders of the same name exist, only the most recently modified folder is accessed.

Destination name

Specify the file name (including extension) of the file for the upload. For Existing SharePoint Content, specify the file extension that is listed in the URL.

Note: If multiple files of the same name exist, only the most recently modified file is accessed.

Overwrite file

When selected, overwrites any file with the same name that already exists in the destination folder. Default value: Not selected.

Convert to Google Docs format

When selected, converts the file from its existing format into an editable format called Google Docs. Files may include documents, presentations, spreadsheets and drawings. Default value: Not selected.

Convert PDF or image to text

When selected, converts the file (PDF or image) to GoogleDrive format. If PDF or image file contains text within images, Google Drive can perform an image-to-text conversion using Optical Character Recognition (OCR). Default value: Not selected.

PDF or image source language

Specify the language within the source PDF or image. Required if Convert PDF or image to text is enabled. 

Default value: English

Authorizing user

Specify an email address for the authorization request. External email addresses can be used.

Output

Store output for this action using the following selections.

  • Uploaded file ID: Specify a text variable to store the ID created for the uploaded file. Returns the ID for the file uploaded.
  • Uploaded file URL: Specify a text variable to store the URL created for the uploaded file. Returns the URL for the file uploaded.