Many organizations need to manage file uploads across different cloud storage systems while maintaining security and compliance. Although Google Drive provides APIs for integration, organizations often don’t have the technical experts to interact with these APIs directly. Organizations need an intuitive way to handle file uploads using natural language, without requiring specialized knowledge of the underlying systems or APIs.
Amazon Quick Suite is an enterprise AI platform that provides generative AI-powered capabilities for workplace productivity and business intelligence. It brings AI-powered research, business intelligence, and automation capabilities into a single workspace and can tackle a wide range of tasks—from answering questions and generating content, to analyzing data and providing strategic insights. To extend its capabilities beyond basic data searching, Amazon Quick Suite offers action connectors, powerful components that allow interaction with external enterprise systems. With these action connectors, users can perform actions and access information from various business tools while staying within the Amazon Quick Suite interface.
Amazon Quick Suite supports external service connectors, AWS service connectors, and custom connectors. External service connectors provide ready-to-use integrations with common enterprise applications, helping organizations quickly implement standard functionalities. However, for specialized needs like integrating with Google Drive or building custom workflows like uploading a file to a drive, Amazon Quick Suite offers custom connectors that helps organizations to execute complex tasks through simple conversational commands and create a unified workspace by connecting various tools through OpenAPI specifications, alleviating the need to constantly switch between different interfaces.
This approach significantly reduces the technical barrier to entry for organizations while making sure they maintain control over security and access permissions. By using Amazon Quick Suite custom connectors, organizations can transform file management operations into simple, conversation-based interactions that authorized user can perform.
In this post, we demonstrate how to build a secure file upload solution by integrating Google Drive with Amazon Quick Suite custom connectors using Amazon API Gateway and AWS Lambda.
This solution addresses common challenges organizations face when managing file operations across cloud storage systems, such as maintaining security compliance, managing user permissions, and reducing the technical barriers for users. With the natural language understanding capabilities and custom connectors available in Amazon Quick Suite, organizations can transform Google Drive operations into simple, conversation-based interactions while supporting secure file uploads to the folders the user has access to. The solution demonstrates the power of combining agentic AI capabilities of Amazon Quick Suite with enterprise storage systems to create a more efficient and user-friendly file management experience. Although this post covers the use case of uploading a file to Google Drive, you can use a similar approach to upload files to other enterprise storage systems like Amazon Simple Storage Service (Amazon S3), Box, Dropbox, SharePoint, and more.
The following example demonstrates how manufacturers can use an Amazon Quick Suite to upload text files to shared drive in Google Drive.
The following diagram illustrates the solution architecture that uses AWS services and integrations to provide a seamless and user experience. It illustrates the key components and the flow of the solution.

The architecture consists of the following key components:
In the following sections, we explore the technical approach for building an Amazon Quick Suite custom connectors to upload files to Google Drive. For step-by-step guidance, refer to the GitHub repository.
Verify you have the following prerequisites:
In this section, you configure and set up the Google Workspace and Google Drive.
Before you can integrate the Google Drive functionality into the Amazon Quick Suite solution, you must first set up the necessary configurations within the Google Workspace environment. Complete the following steps:
https://www.googleapis.com/auth/drive.readonlyhttps://www.googleapis.com/auth/drive.metadata.readonlyhttps://www.googleapis.com/auth/admin.directory.group.readonlyhttps://www.googleapis.com/auth/admin.directory.user.readonlyhttps://www.googleapis.com/auth/cloud-platformTo demonstrate the access control functionality, create two test users in the Google Workspace admin console, called test user1 and test user2.
To configure the shared drive access permissions in Google Drive:
test user1 the Content Manager role to allow full file management capabilities.test user2 without any access permissions to the shared drive.This setup makes it possible to validate that the solution correctly enforces access controls based on Google Drive permissions.
In this section, we walk through the steps to configure AWS settings and resources.
Create corresponding users in IAM Identity Center that match the test users created in Google Workspace:
test user1.test user2.Alternatively, for enterprise deployments, manage users through your enterprise identity provider (IdP). Configure System for Cross-domain Identity Management (SCIM) for automated user provisioning and lifecycle management. For more information, see How to connect to an external identity provider.
To store the Google service account credentials securely:
This secure credential management approach offers the following capabilities:
To create and configure the Amazon Quick Suite account:
To configure Amazon Cognito, complete the following steps:
<cognito-domain-name>/oauth2/idpresponse.https://<your-region>.quicksight.aws.amazon.com/sn/oauthcallback.Ensure all URIs and callback URLs are correctly formatted and match your application’s configuration.
In this section, we walk through the steps to configure the Lambda function which contains the logic for validating user permissions, interacting with the Google Drive API and uploading the files to the designated folder.
COGNITO_USER_POOL_ID – The user pool ID from your Amazon Cognito configuration.REGION_NAME – Your AWS Region.SECRET_NAME – The Amazon Resource Name (ARN) of the secret for Google service account credentials stored in Secrets Manager.Complete the following steps to configure an API resource:
api-gateway-spec.yaml file, which can be found in the GitHub repository.openid, email, profile, and aws.cognito.signin.user.admin.In this step, we create the custom action connector within Amazon Quick Suite:
<your-api-gateway-url-with-stage><your-cognito-domain-name><your-region><your-user-pool-id><your-cognito-app-client-id>test user1.openapischema.json.<your-cognito-domain-name>/oauth2/token<your-cognito-domain-name>/oauth2/authorizehttps://<your-region>.quicksight.aws.amazon.com/sn/oauthcallbackUsers can now upload files to Google Drive through natural language interactions.
There are two ways to interact with the chat agent
test user2 by searching the user’s email address and provide viewer permissions to the chat agent.Now you’re ready to test the file upload capabilities with appropriate permissions.
test user1.
When prompted to authorize, log in to the Google account.

After you are successfully authorized, verify the fields you entered and modify them if necessary.

Once the action is completed, you’ll see a success message with the link to the file uploaded to Google Drive.

Copy and paste the link in a new browser tab to see the file uploaded.

Access the chat agent using Amazon Quick Suite account as test user2, then try to run the same prompt to upload the file to the shared drive. Because test user2 doesn’t have access to the shared drive, you’ll get an error message similar to that shown in the following screenshot.

If you no longer require the resources deployed as part of this solution, and you want to avoid incurring ongoing costs associated with those resources, complete the following steps to clean up and delete the relevant components:
This post demonstrated how organizations can use Amazon Quick Suite action connectors to build a secure and intuitive file upload solution that integrates with Google Drive. By using AWS services like API Gateway, AWS Lambda, Amazon Cognito, and Secrets Manager, along with the natural language capabilities of Amazon Quick Suite, businesses can transform file management tasks into simple, conversation-based interactions. With this secure file upload solution using Amazon Quick Suite, users can manage their Google Drive content through natural language interactions.
The key benefits of this approach include:
For step-by-step guidance, refer to the GitHub repository. Try out the solution for yourself and share your feedback and questions in the comments.
Naimisha Pinna is a Solutions Architect at AWS, responsible for helping Enterprise customers on their journey in the cloud. She graduated with a Master’s degree in Computer Science from Old Dominion University. Her area of specialization is in AI and ML. She enjoys painting and gardening.
Josh Demuth is a GenAI Solutions Architect with 20 years in the tech industry, with several years specializing in systems integration. He thrives on creating solutions that make disparate systems work together and discovering innovative approaches to business problems. The rapid evolution of AI and automation has him excited about the transformative solutions on the horizon.
Manuel Rioux est fièrement propulsé par WordPress