# Get Comment

> `UiPath.Smartsheet.Activities.Comments.GetComment`

`UiPath.Smartsheet.Activities.Comments.GetComment`

Uses the Smartsheet [Get Comment](https://smartsheet-platform.github.io/api-docs/?csharp#get-comment) API to get a comment from a sheet.

## How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-setup) steps.
2. Add the [Smartsheet Application Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-scope) activity to your project.
3. Add the **Get Comment** activity inside the **Smartsheet Application Scope** activity.
4. Create and enter values for the [Input](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-get-comment#get-comment) properties.
5. Create and enter values for [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-get-comment#get-comment) properties.
6. Create and enter an `ResponseStatus` variable for the [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-get-comment#get-comment) property.

## In the Body of the Activity

* **SheetId** - The Id of the Sheet. Enter a `Int64` or `Int64` variable.
* **CommentId** - The Id of the comment. Enter a `Int64` or `Int64` variable.
* **Folder Path** - The folder to download the file to. Enter a `String` or `String` variable.
* **File Name** - The file name with extension to download the attachment as. Enter a `String` or `String` variable.
* **Comment** - The comment object. Enter a `Comment` variable.

## Properties

### Common

* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Misc

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

### Output

* **ResponseStatus** - The status of the request (success/failure information). Enter a `ResponseStatus` variable.
