n8n

How to Sync Google Drive to Odoo Catalog Images?

Keep your Odoo catalog images fresh with files from Google Drive. Every ten minutes or on demand, new product and template images are picked up, applied to the correct records, and the team gets a clear message in Google Chat. It suits ecommerce and catalog teams that manage many SKUs.

The flow starts on a schedule or manual click, searches a Drive folder for files, and filters to valid images. It reads the file name to pull a model and SKU, then routes items with a Switch to either product templates or product variants. For each item, it finds the matching record in Odoo by SKU, downloads the image, converts it to base64, and updates multiple image sizes. It also removes older images from Drive, moves processed files to a done folder, and posts a count of processed items in Google Chat.

You will need Google Drive access, Odoo credentials with rights to read and update catalog records, and a Google Chat space. File names should follow a simple rule like model_sku.jpg so the parser can match the correct SKU. Expect image updates to go from hours of manual uploads to minutes, fewer mistakes on the catalog, and faster product launches for new drops and seasonal refreshes.

What are the key features?

  • Runs on a schedule every ten minutes or by a manual click
  • Finds all files in a Google Drive folder and filters to valid images
  • Parses file names to extract model and SKU with a simple code step
  • Routes items with a Switch to update templates or products
  • Searches Odoo by SKU to locate the exact record to update
  • Downloads images from Drive and converts them to base64
  • Updates multiple Odoo image fields such as 1920, 1024, 512, and 256
  • Deletes older images in Drive and moves processed files to a done folder
  • Sends a Google Chat message with the total count processed

What are the benefits?

  • Reduce manual work from 3 hours to 10 minutes per batch
  • Automate about 90 percent of repetitive uploads and moves
  • Improve image match accuracy by 95 percent using SKU parsing
  • Handle 10 times more images without adding staff
  • Connect Google Drive, Odoo, and Google Chat in one flow

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Drive, Odoo and Google Chat. See the Tools Required section above for links to create accounts with these services.
  3. Open the Find Files node and connect a Google Drive credential. If unsure, double click the node, then on the Credential to connect with dropdown click Create new credential and follow the on screen instructions.
  4. Open the Announce node and connect a Google Chat OAuth2 credential. If unsure, create a new credential from the dropdown and follow the on screen steps to approve access to your Chat space.
  5. Open any Odoo node and create an Odoo credential. Enter your Odoo URL, database, username, and password or API key. Name the credential clearly so your team can identify it later.
  6. In the Find Files node, select the correct Drive and source folder that will receive new images from your team or vendors.
  7. Review the Filter Images node and adjust conditions to include only the file types you want to process, such as jpg or png.
  8. Open the Decorate Images code node and confirm your file naming rule matches model_sku.ext. If your format is different, update the parsing logic to set model and sku correctly.
  9. Open the Switch node and set rules that direct template images to the template path and product images to the product path based on the model value you parse.
  10. Check the Update Images Templates and Update Images Products nodes. Confirm the record IDs come from the Find Templates or Find Products nodes and that image fields are mapped to the base64 data output.
  11. Open the Schedule Trigger and choose your preferred interval. Keep ten minutes while testing, then adjust as needed for your volume.
  12. Run a manual test. Upload a few sample images to the source folder, click the manual trigger, and watch the run. Verify images update in Odoo, files move to the done folder, old files are removed, and a Chat message shows the total.
  13. Troubleshooting tips: if no record updates, confirm the SKU in the file name matches the default code in Odoo. If images do not save, check the Convert Base64 output field name and the mapping in the update nodes. If Drive actions fail, confirm folder permissions. If Chat does not post, verify the space ID and the OAuth2 connection.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Google Chat

Sign up

Business Starter: $7/user / mo (annual) or $8.40/user / mo monthly

Google Drive

Sign up

Drive API: $0 (no additional cost; quota-limited)

Custom plan: $37.40/user / mo first year (billed annually; $46.70 thereafter), includes External API

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.