Back to Integrations
integrationGoogle Chat node
integrationGoogle Drive node

Google Chat and Google Drive integration

Save yourself the work of writing custom integrations for Google Chat and Google Drive and use n8n instead. Build adaptable and scalable Communication, HITL, and Data & Storage workflows that work with your technology stack. All within a building experience you will love.

How to connect Google Chat and Google Drive

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Google Chat and Google Drive integration: Create a new workflow and add the first step

Step 2: Add and configure Google Chat and Google Drive nodes

You can find Google Chat and Google Drive in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Google Chat and Google Drive nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Google Chat and Google Drive integration: Add and configure Google Chat and Google Drive nodes

Step 3: Connect Google Chat and Google Drive

A connection establishes a link between Google Chat and Google Drive (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Google Chat and Google Drive integration: Connect Google Chat and Google Drive

Step 4: Customize and extend your Google Chat and Google Drive integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Google Chat and Google Drive with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Google Chat and Google Drive integration: Customize and extend your Google Chat and Google Drive integration

Step 5: Test and activate your Google Chat and Google Drive workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Google Chat to Google Drive or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Google Chat and Google Drive integration: Test and activate your Google Chat and Google Drive workflow

Import Odoo Product Images from Google Drive

Objective
This workflow automatically imports product images from Google Drive and associates them with product models and variants in Odoo.

Main Features
Identifies images stored in a specific Google Drive folder.
Filters files to process only .png and .jpg images.
Extracts information from file names to associate each image with a product or model in Odoo.
Updates image fields in Odoo.
Cleans up old images and notifies the completion of the process.

Workflow Steps

  1. Triggering the Workflow
    Type**: Schedule Trigger & Manual Trigger
    Details**:
    Manually triggered via the "Click Manual" node.
    Automatically scheduled every 10 minutes via the "Schedule Trigger" node.

  2. Finding Files in Google Drive
    Node**: Find Files
    Action**: Searches for files in the specified Google Drive folder (input).

  3. Filtering Images
    Node**: Filter Images
    Action: Only **.png and .jpg images are kept for processing.

  4. Decorating File Data
    Node**: Decorate Images
    Action**: Extracts information from the file name to retrieve:
    The model (model).
    The SKU (sku).

  5. Identifying Image Type
    Node**: Switch
    Action: Determines whether the image is for a **product model (template) or a product variant (product).

  6. Searching for the Product or Model in Odoo
    Nodes**:
    Find Templates: Searches for the product model in Odoo.
    Find Products: Searches for the product variant in Odoo.

  7. Downloading and Converting Images
    Nodes**:
    Download Images Templates: Downloads images for product models.
    Download Images Products: Downloads images for product variants.
    Convert Base64 Images Templates: Converts images to base64 format for Odoo.
    Convert Base64 Images Products: Converts images to base64 format for Odoo.

  8. Updating Images in Odoo
    Nodes**:
    Update Images Templates: Updates images for product models.
    Update Images Products: Updates images for product variants.

  9. Cleaning and Finalizing the Process
    Nodes**:
    Search Old Images: Searches for old images in the destination folder.
    Drop Old Images: Deletes outdated images.
    Move Images: Moves processed images to a done folder on Google Drive.

  10. Sending Process Completion Notification
    Nodes**:
    Sum Images: Counts the total number of processed images.
    Announce: Sends a Google Chat notification with the total imported images.

Required Configuration

  1. Connectors & API Credentials
    Google Drive API** (OAuth2) with the necessary permissions to access files.
    Odoo API** with permissions to read and update product models and variants.

  2. File Naming Structure
    Files must be named as follows:
    <model>_<sku>.<png|jpg>
    Example:
    Product Model**: template_12345.jpg
    Product Variant**: product_67890.png

Data Flow Summary

A trigger (manual or automatic) initiates the process.
The workflow fetches image files from Google Drive.
It filters and identifies the images to be processed.
It extracts the necessary information (model, SKU).
Each image is associated with a product or model in Odoo.
Images are downloaded, converted, and updated in Odoo.
Old images are deleted, and new ones are moved to the processed folder.
A notification is sent upon completion.

Use Cases
Automating product image imports for Odoo.
Updating images without manual intervention.
Centralizing images on Google Drive before integrating them into Odoo.

Nodes used in this workflow

Popular Google Chat and Google Drive workflows

Import Odoo Product Images from Google Drive

Objective This workflow automatically imports product images from Google Drive and associates them with product models and variants in Odoo. Main Features Identifies images stored in a specific Google Drive folder. Filters files to process only .png and .jpg images. Extracts information from file names to associate each image with a product or model in Odoo. Updates image fields in Odoo. Cleans up old images and notifies the completion of the process. Workflow Steps Triggering the Workflow Type**: Schedule Trigger & Manual Trigger Details**: Manually triggered via the "Click Manual" node. Automatically scheduled every 10 minutes via the "Schedule Trigger" node. Finding Files in Google Drive Node**: Find Files Action**: Searches for files in the specified Google Drive folder (input). Filtering Images Node**: Filter Images Action: Only **.png and .jpg images are kept for processing. Decorating File Data Node**: Decorate Images Action**: Extracts information from the file name to retrieve: The model (model). The SKU (sku). Identifying Image Type Node**: Switch Action: Determines whether the image is for a **product model (template) or a product variant (product). Searching for the Product or Model in Odoo Nodes**: Find Templates: Searches for the product model in Odoo. Find Products: Searches for the product variant in Odoo. Downloading and Converting Images Nodes**: Download Images Templates: Downloads images for product models. Download Images Products: Downloads images for product variants. Convert Base64 Images Templates: Converts images to base64 format for Odoo. Convert Base64 Images Products: Converts images to base64 format for Odoo. Updating Images in Odoo Nodes**: Update Images Templates: Updates images for product models. Update Images Products: Updates images for product variants. Cleaning and Finalizing the Process Nodes**: Search Old Images: Searches for old images in the destination folder. Drop Old Images: Deletes outdated images. Move Images: Moves processed images to a done folder on Google Drive. Sending Process Completion Notification Nodes**: Sum Images: Counts the total number of processed images. Announce: Sends a Google Chat notification with the total imported images. Required Configuration Connectors & API Credentials Google Drive API** (OAuth2) with the necessary permissions to access files. Odoo API** with permissions to read and update product models and variants. File Naming Structure Files must be named as follows: <model>_<sku>.<png|jpg> Example: Product Model**: template_12345.jpg Product Variant**: product_67890.png Data Flow Summary A trigger (manual or automatic) initiates the process. The workflow fetches image files from Google Drive. It filters and identifies the images to be processed. It extracts the necessary information (model, SKU). Each image is associated with a product or model in Odoo. Images are downloaded, converted, and updated in Odoo. Old images are deleted, and new ones are moved to the processed folder. A notification is sent upon completion. Use Cases Automating product image imports for Odoo. Updating images without manual intervention. Centralizing images on Google Drive before integrating them into Odoo.

Build your own Google Chat and Google Drive integration

Create custom Google Chat and Google Drive workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Google Chat supported actions

Get
Get a membership
Get Many
Get many memberships in a space
Create
Create a message
Delete
Delete a message
Get
Get a message
Send and Wait for Response
Send a message and wait for response
Update
Update a message
Get
Get a space
Get Many
Get many spaces the caller is a member of

Google Drive supported actions

Copy
Create a copy of an existing file
Create From Text
Create a file from a provided text
Delete
Permanently delete a file
Download
Download a file
Move
Move a file to another folder
Share
Add sharing permissions to a file
Update
Update a file
Upload
Upload an existing file to Google Drive
Search
Search or list files and folders
Create
Create a folder
Delete
Permanently delete a folder
Share
Add sharing permissions to a folder
Create
Create a shared drive
Delete
Permanently delete a shared drive
Get
Get a shared drive
Get Many
Get the list of shared drives
Update
Update a shared drive

FAQs

  • Can Google Chat connect with Google Drive?

  • Can I use Google Chat’s API with n8n?

  • Can I use Google Drive’s API with n8n?

  • Is n8n secure for integrating Google Chat and Google Drive?

  • How to get started with Google Chat and Google Drive integration in n8n.io?

Need help setting up your Google Chat and Google Drive integration?

Discover our latest community's recommendations and join the discussions about Google Chat and Google Drive integration.
hubschrauber
Jon
David O'Neil

Looking to integrate Google Chat and Google Drive in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Google Chat with Google Drive

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon