The Google Drive Search Files action is used to search for files on Google Drive. Users can filter and list files in Drive by entering a specific search query. This action is particularly useful for finding files in large Drive spaces, managing reports, or retrieving documents based on specific criteria.
Technical Specifications
Search Process: Performs query-based searches on Google Drive files.Parameters: settings (Object – required): Configuration information required for Google Drive integration.query (String – required): Search criteria. E.g.: “name contains ‘Report’”, “mimeType=‘application/pdf’”.pageSize (Int32 – optional): Maximum number of files to return.Result: Returns multiple (Many) → lists files matching the criteria.Value Binding: Parameters can be entered as fixed values. Symbol Picker can be used for dynamic value binding (e.g., creating a query based on user input).Web & Mobile Support: Can be used in both web and mobile applications.Google Drive Search Files Application Steps 1. Adding an Action
Open your project on the Kuika platform. Add a search field in the UI Design module. Add the + ADD ACTION → Google → Google Drive Search Files action to the search button. 2. Configuring Parameters
settings (required): Select settings for Google Drive integration.query (required): Simple usage → “name contains ‘2025’”. Advanced usage → “mimeType=‘application/vnd.google-apps.spreadsheet’ and name contains ‘Budget’”. pageSize (optional): Determines how many files will be listed (e.g., 20).Usage Scenario: “Search PDF Reports” In a business application, the user wants to find PDF reports on Drive.
Steps:
Type ‘Report’ in the search box. query: “mimeType=‘application/pdf’ and name contains ‘Report’”.The Google Drive Search Files action runs. The returned results are displayed in the Table element . Google Drive Search Files Advanced Customizations Dynamic Query: Text entered by the user in the search box → can be linked to the query parameter.Pagination: The file list can be controlled with pageSize.Chained Operation: Returned file IDs → can be passed to the Google Drive Get File Content action.Technical Risks and Controls
If the query is left blank, all files in Drive may be returned → performance decreases. Incorrectly written mimeType or filters may not return results. Very large pageSize values (e.g., 1000+) may cause performance issues.