# Get Document

> Get Document activity that returns the document you specify in the request, including embedded content such as images and charts in Google Workspace.

`UiPath.GSuite.Activities.GetDocument`

## Description

Returns the document you specify in the request, including embedded content such as images and charts.

### Scopes

This activity requires the following scopes:

* https://www.googleapis.com/auth/drive.readonly

OR

* https://www.googleapis.com/auth/documents.readonly

OR

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

OR

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

OR

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

## Project compatibility

Windows - Legacy | Windows

## Configuration

### Properties panel

#### Common

* **ContinueOnError** - If set, the remaining activities are executed if the current activity fails. This field supports Boolean values.
* **DisplayName** - The display name of the activity. This property supports `String` variables and string formatted values.

#### Input

* **DocumentID** - The ID of the document that you want to retrieve. This property supports `String` variables and string formatted values. When entering your value, use the exact Document ID, or the output property variable from a previous [Create Document](https://docs.uipath.com/activities/other/latest/user-guide/uipath-adobe-pdfservices-create-document) activity.

#### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.

#### Output

* **Document** - The details of the specified document, including embedded elements such as images and charts. The returned Google Document object exposes inline objects, such as images, and references to them from document paragraphs. This way, automations can retrieve and process embedded content. This property supports Google `Document` variables. You can use this variable as an input property value in other Google Workspace activities.
