Add Comment to File

Add a comment to a file inside Google Drive.

Input

Field Definition Type Required
File
File ID

Unique ID of the file. The ID of a file can be found by navigating to the Google Drive web. Right-click on the file and select get sharable link. The File ID is the last part of that link, after id=. Example: https://drive.google.com/open?id=1avkd2a. Make sure to select the entire ID (about 20 characters long).

Alternatively, use the Search Files action card to find the file by name. See Search Files. The Search Files card has a File ID output field that can be dragged into this input field.

String TRUE
Comment
Content Comment that will be associated with the file String TRUE

Output

Field Definition Type
Comment ID Unique ID for the new comment String
Created Time Date of the comment String
Author Person who created the comment String

Related topics

Google Drive connector

About the elements of Okta Workflows

G Suite API documentation