Find Files or Folder

Estimated reading: 3 minutes 1062 views

This activity allows users to search for and retrieve the File ID of a specific file or folder within a designated Google Drive account.

Properties

Configuration

Each activity requires a connection with Google Drive API. Once you select the respective project name where Google Drive has been integrated, the activity will automatically retrieve the available connections for that project.

Below are the properties available after the project has been integrated:

Google DriveThis parameter indicates the account name associated with the integration.

INPUT

FolderID: *This parameter indicates to provide the Folder ID against which the details need to be retrieved. It offers multiple ways to choose the folder:

1. Browse Option: When selecting the “Click on Browse” option, it will automatically list the folders available for the specified account. The user must manually select the spreadsheet each time when using this option.
2. Three-Line Menu: Clicking on the “Three lines” icon will open a context menu with the following two options.
a. Reload Folder Picker: Refreshes the selected folder to select another folder if required.
b. Use Variable: Allows you to provide the “Folder Name” as a variable in “String” format. You can either hardcode the values as a string or use a variable of the “String” datatype. Below are the values that can be provided as variable,
     i. URL or ID: After creating the folder in the specified Google account, you will receive the Folder’s URL and ID. You can use these as a reference to add a new folder.

MaxResult: Specifies to provide the size of files or folders to be retrieved from the provided input. It accepts values in “String” datatype. 

What to Return: Select an option from the dropdown to specify whether to retrieve files or folders from the designated Google account. 

MISC

DisplayName: Displays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”

True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used.

OUTPUT

File or Folder ID: It helps you to return the output of the activity as the file or folder ID retrieved from the specified folder and it returns in “String” datatype. 

File or Folder List: It helps to view the output of the activity as the list of files or folders ID retrieved from the specified folder.

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”
True: Indicates that the activity has been executed successfully without any errors.

False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

* Represents mandatory fields to execute the workflow.

Share this Doc

Find Files or Folder

Or copy link

CONTENTS