Google Drive query files

Nintex external platform is required for this feature. For details, see Enable Nintex external platform features.

Queries files in Google Drive.

Note: If the service encounters multiple folders with the same name, it will only access the most recently modified folder. Likewise, if the service encounters multiple files with the same name, it will only return the most recently modified file.

Action settings

Following are the fields and options visible in the configuration settings dialog box for this action.

Field Description
Folder

Specify the folder containing the files to be queried.

All subfolders are recursively queried for the provided Google Drive account.

Note: If multiple folders of the same name exist, only the most recently modified folder is accessed.

Keyword search

Specify text for search within documents.

Keyword operators:

  • Quotes (""): Contains the exact phrase within the quotes.
  • AND: Contains all given words.
  • OR: Contains one or more of the given words.
  • Hyphen (-): Does not contain the word.

Examples:

  • "red apple" AND metro -nyc: Searches for documents containing the exact phrase "red apple" and the word "metro" but not containing the word "nyc".
  • green OR eager: Searches for documents containing either "green" or "eager." 
Filters

Specify whether or not a filter should be used.

  • Select all items
  • Select items only when the following is true: 
    • When item: Select an item property, select an operand, and enter a value.

    • Add filter rule: Click to add a filter rule.
Order by

Select the property by which to sort the files.

  • Modified
  • Name
  • File Size
Direction

Select the sort direction.

  • Ascending
  • Descending
Authorizing user

Specify an email address for the authorization request. External email addresses can be used.

Output

Store output for this action using the following selections.

  • Name: Specify a collection variable to store the item name.
  • ID: Specify a collection variable to store the ID of the item.
  • Modified: Specify a collection variable to store the modified date of the item.
  • File size (in bytes): Specify a collection variable to store the file size.
  • Type: Specify a collection variable to store the type of the item.
  • Result count: Specify an numeric variable to store the result count of the query.