activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 21, 2024

Create Document

UiPath.GSuite.Activities.CreateDocumentConnections

Description

Creates a new Google Docs document or uses an existing one.

Scopes

This activity requires the following scopes:

  • https://www.googleapis.com/auth/drive.file

OR

  • https://www.googleapis.com/auth/documents

OR

  • https://www.googleapis.com/auth/drive

Project compatibility

Windows | Cross-platform

Configuration

  • Google Drive connection - The connection for the Google Workspace account to use in the activity.
  • Folder - The folder where to create the new Docs file. Click the Folder folder icon to browse your Google Drive folders. If left empty, the document is created in the root folder. Click the See more see more button menu to switch to Use variable (GDriveRemoteItem type) or Url or ID input modes.
    • Folder URL or ID - The folder URL or ID where to create the new docs file. This field is visible if you select URL or ID input mode. This field supports String type input.
    • Select the Reload File Data option if you've updated your files and need to retrieve the latest data.

  • Document name - Enter the name of the new Docs file. This field supports String type input.
Additional options
  • If existing - What is the expected behavior when a file with the same name already exists in the destination folder:
    • Add as a separate file - Adds the file without renaming it even if an item with the same name exists.
    • Don't replace - Fails if an existing item is found. Default value.
    • Auto rename - Auto renames the new item by appending a number.
    • Replace - Replaces the existing item. Fails if multiple items with the same name exist.
    • Use existing - Use existing file.
Output
  • Document - Automatically generated output variable.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.