Use this efficient n8n workflow to automatically sync product images from Google Drive to Odoo product templates and variants, ensuring data consistency and automation using multiple n8n nodes.
Download this n8n workflow template and start using it instantly.
Managing product images across different systems can be time-consuming. This specialized n8n workflow solves the common challenge of ensuring that product and product template images stored in Google Drive are automatically synchronized and updated within Odoo ERP. By defining a clear naming convention (e.g., model_sku.jpg), the n8n automation can identify the target Odoo record, download the image, convert it to the necessary Base64 format, and update the corresponding Odoo fields.
The value proposition of this n8n solution is hands-free data consistency. It runs on a schedule (using the n8n trigger), ensuring that new or updated image files are processed, uploaded to Odoo, and then archived in a 'done' folder, providing a complete, auditable integration using powerful n8n node configurations.
This n8n workflow starts with a scheduled n8n trigger, running every 10 minutes, or can be initiated manually.
Find Files Google Drive n8n node scans a designated 'input' folder for new files.Filter Images n8n node ensures only files ending in .png or .jpg are processed.Decorate Images Code n8n node is crucial. It parses the filename to extract two key variables: model (identifying if the target is a product or template) and sku (which maps to the Odoo defaultcode). For example, a file named templateSKU123.jpg is transformed into structured data items.Switch n8n node evaluates the model variable and routes the execution flow into two parallel branches: one for product templates and one for product variants.Find Templates or Find Products) to locate the specific Odoo record based on the extracted sku.Convert Base64 Images n8n node converts the binary file into a Base64 property, as required by Odoo's image fields.Update Images Templates/Update Images Products) updates multiple image size fields (1920, 1024, 512, 256, 128) using the Base64 image data.Search Old Images, Drop Old Images), and then moves the newly processed image to the 'done' folder (Move Images).Summarize n8n node counts the processed items, and the Announce Google Chat n8n node sends a confirmation message detailing the total number of images successfully updated.To utilize this highly functional n8n workflow, follow these steps:
Find Files, Move Images, Download Images Templates, and Download Images Products Google Drive n8n node configurations.Find Templates, Update Images Templates, Find Products, and Update Images Products Odoo n8n node is correctly configured to your ERP instance.Announce Google Chat n8n node.Find Files and Move Images Google Drive n8n node parameters to point to your actual 'input' and 'done' folders. Schedule Trigger / Manual Trigger n8n trigger: Initiates the workflow either on a fixed schedule (every 10 minutes) or on demand.
Find Files (Google Drive n8n node): Retrieves a list of all files from the configured input folder, setting the stage for the rest of the n8n workflow.
Decorate Images (Code n8n node): Executes custom JavaScript logic to dynamically extract image type (model) and Odoo SKU from the filename, creating necessary metadata for routing and database lookup.
Switch (n8n node): Acts as a router, sending items to either the 'product template' branch or the 'product variant' branch based on the derived model field.
Odoo (n8n node): Used multiple times for finding (using default_code) and updating records (product.template and product.product). It handles the core business logic connection in this n8n automation.
Download Images (Google Drive n8n node): Downloads the actual image file content as binary data.
Convert Base64 Images (ExtractFromFile n8n node): Converts the downloaded binary data into a Base64 string property, a requirement for updating image fields within Odoo via the API.
Move Images (Google Drive n8n node): Manages file lifecycle by moving successfully processed files from the input folder to an archive folder, providing completion assurance for this specific n8n workflow.
Import Google Keep notes exported via Takeout into Google Sheets automatically using a robust n8n workflow. Includes optional OpenAI processing for complex data extraction.

Use this powerful n8n workflow to automatically extract E.ON W1000 meter data from email XLSX attachments, transform 15-minute intervals into hourly statistics, and import them directly into Home Assistant's energy dashboard using the Spook integration. This n8n template streamlines smart home energy tracking.

Use this high-performance n8n workflow to read local CSV files, convert the data, and bulk insert records directly into your MySQL database. Essential n8n templates for ETL tasks.

Use this advanced n8n workflow to automatically sync Productboard features, notes, and companies to Snowflake. This n8n template enables reliable ETL, data warehousing, and automated weekly Slack reporting.

Use this n8n workflow to seamlessly import single and multi-variant products from Google Sheets into your Shopify store using GraphQL API calls for efficient product and inventory management.









































