Skip to main content

Sync Shopify orders to Odoo sales orders with customer and product mapping

Workflow preview

Workflow preview
100%
Sync Shopify orders to Odoo sales orders with customer and product mapping preview
Open on n8n.io

1. Workflow Overview

What Problem Does It Solve? Keeping product data consistent between Shopify and Odoo is a major operational challenge. Manually creating new products in Odoo every time they are added to Shopify is...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.odoo, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by khaled yasser.

Original n8n.io source

1.1 Workflow description

Title
Sync Shopify orders to Odoo sales orders with customer and product mapping
Workflow name
Sync Shopify orders to Odoo sales orders with customer and product mapping

What Problem Does It Solve?

  • Keeping product data consistent between Shopify and Odoo is a major operational challenge.
  • Manually creating new products in Odoo every time they are added to Shopify is slow and leads to Barcode errors.
  • Prices and titles change frequently; failing to sync these updates results in pricing discrepancies and customer confusion.
  • This workflow solves these issues by:
  • Automatically creating a new product in Odoo as soon as it's added to Shopify.
  • Ensuring Barcode uniqueness by checking for existing products before creation.
  • Syncing product images directly from Shopify to Odoo.
  • Real-time updating of product names and prices in Odoo whenever they change in Shopify.

How to Configure It

  • Shopify Setup
  • Connect your Shopify account using OAuth2.
  • The workflow uses two triggers: "products/create" and "products/update".
  • Odoo Setup
  • Connect your Odoo API credentials in n8n.
  • Ensure your Shopify "Vendors" match the "Product Categories" names in Odoo for accurate automated mapping.
  • Image Handling
  • The workflow automatically downloads the first image from Shopify and converts it to the format required by Odoo's "image_1920" field.

How It Works

  • Product Creation Path:
  • Shopify triggers the "Product Created" node.
  • The workflow checks Odoo for an existing product with the same Barcode.
  • If not found, it retrieves the Odoo Category ID based on the Shopify Vendor name.
  • It downloads the product image, extracts the file content, and creates the item in Odoo.
  • Product Update Path:
  • Shopify triggers the "Product Updated" node.
  • The workflow finds the corresponding product in Odoo by Barcode.
  • It instantly updates the Odoo record with the new Title and List Price from Shopify.

Customization Ideas

  • Add logic to sync "Inventory Levels" so Shopify and Odoo share the same stock count.
  • Map multiple variants (Sizes/Colors) from Shopify to Odoo Product Variants.
  • Integrate with a notification system to alert you if a Shopify Vendor doesn't have a matching Category in Odoo.

For more info Contact Me

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Shopify Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1

Block 2 - Split Line Items

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Parse Shopify Order1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Customer Exists?1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 5 - Get state id1

Type / Role
n8n-nodes-base.odoo - odoo
Config choices
Version 1

Block 6 - Create Contact1

Type / Role
n8n-nodes-base.odoo - odoo
Config choices
Version 1

Block 7 - Search Product by Barcode1

Type / Role
n8n-nodes-base.odoo - odoo
Config choices
Version 1

Block 8 - Process Product Result1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Aggregate Products1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Add Shipping to Order1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Create Sales Order in Odoo1

Type / Role
n8n-nodes-base.odoo - odoo
Config choices
Version 1

Block 12 - Search Customer in Odoo1

Type / Role
n8n-nodes-base.odoo - odoo
Config choices
Version 1

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note 1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note 2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note 3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note 4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Sync Shopify orders to Odoo sales orders with customer and product mapping
Complexity advanced
Nodes 17
Categories CRM
Author khaled yasser
Published 06 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14828/14828.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Sync Shopify orders to Odoo sales orders with customer and product mapping do?

What Problem Does It Solve? Keeping product data consistent between Shopify and Odoo is a major operational challenge. Manually creating new products in Odoo every time they are added to Shopify is...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.