Back to Integrations
integrationGoogle Drive node
integrationOdoo node

Google Drive and Odoo integration

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

How to connect Google Drive and Odoo

  • 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 Drive and Odoo integration: Create a new workflow and add the first step

Step 2: Add and configure Google Drive and Odoo nodes

You can find Google Drive and Odoo 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 Drive and Odoo nodes one by one: input data on the left, parameters in the middle, and output data on the right.

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

Step 3: Connect Google Drive and Odoo

A connection establishes a link between Google Drive and Odoo (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 Drive and Odoo integration: Connect Google Drive and Odoo

Step 4: Customize and extend your Google Drive and Odoo 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 Drive and Odoo with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

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

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

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Google Drive to Odoo 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 Drive and Odoo integration: Test and activate your Google Drive and Odoo 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 Drive and Odoo 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 Drive and Odoo integration

Create custom Google Drive and Odoo 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 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

Odoo supported actions

Create
Create a new contact
Delete
Delete a contact
Get
Get a contact
Get Many
Get many contacts
Update
Update a contact
Create
Create a new item
Delete
Delete an item
Get
Get an item
Get Many
Get many items
Update
Update an item
Create
Create a new note
Delete
Delete a note
Get
Get a note
Get Many
Get many notes
Update
Update a note
Create
Create a new opportunity
Delete
Delete an opportunity
Get
Get an opportunity
Get Many
Get many opportunities
Update
Update an opportunity

FAQs

  • Can Google Drive connect with Odoo?

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

  • Can I use Odoo’s API with n8n?

  • Is n8n secure for integrating Google Drive and Odoo?

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

Need help setting up your Google Drive and Odoo integration?

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

Looking to integrate Google Drive and Odoo in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Google Drive with Odoo

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