Contact Us 1-800-596-4880

Search in Google Drive

Search for files or folders in your Google Drive, including your shared drives. This action step returns the number of matches found, the file or folder IDs, and the names of the files or folders found.

You can add variables, filters, and operators to your search query.

Configure Authentication Settings

Configure your authentication settings for the Google API service account in the Authentication Settings panel. Select Pin credentials to specify the activity parameter containing the credentials, or select Use custom settings to provide the information inline. You can either import a JSON file with your Google API credentials information or specify the authentication information manually.

Configure Search Settings

To configure search settings in the wizard:

  1. Enter your search terms in the Search Query textbox.

    The Insert filters and Insert operators dropdown lists contain the most common filters and operators. However, you can use any supported Google search query terms and operators.

  2. To search in all shared drives, in addition to My Drive, select Include all files from share drives.

  3. Select the criteria to sort your results in the Order by dropdown list.

Properties

  • Authentication Settings

    • Auth Provider x509 Cert URL

      Authentication provider certificate URL for the Google API credentials.

    • Auth URI

      OAuth2 authentication URI for the Google API credentials.

    • Client Email

      Client email of the Google API credentials.

    • Client ID

      Client ID of the Google API credentials.

    • Client x509 Cert URL

      Client certificate URL for the Google API credentials.

    • Credential Type

      Type of Google API credentials. For example, service_account.

    • Google API Service Account Credentials

      Activity parameter containing all Google API credentials.

    • Project ID

      Project ID of the Google API credentials.

    • Token URI

      OAuth2 token URI for the Google API credentials.

    • Universe Domain

      Universe domain of the Google API credentials.

  • Common

    • Include all files from shared drives

      Option to search files and folders in your shared drives in addition to My Drive

    • Search Query

      String containing the search query

      Use the wizard for assistance while building your query. You can use any of the supported Google search query terms and operators.

Inbound Variables

  • {A} replaced by …​ {Z} replaced by

  • Credential Type

  • Project ID

  • Private Key ID

  • Private Key

  • Token URI

  • Auth Provider x509 Cert URL

  • Auth URI

  • Client Email

  • Client ID

  • Client x509 Cert URL

  • Universe Domain

  • Google API Service Account Credentials

Outbound Variables

  • Amount found matches

    Number of files or folders found

  • IDs of files or folders found

    Array of strings containing the IDs of the files or folders found

  • Names of files or folders found

    Array of strings containing the names of the files or folders found

  • Success

    Boolean indicating if at least one result was found (true)