Create Odoo Manufacturing Orders From Shopify Product Options

10 min setup
No coding required
Runs automatically

Made-to-order products with many option choices don't fit Shopify's three product options, so the real build spec ends up in line item properties that someone retypes into Odoo. This workflow reads each paid order's options, checks them against your own rules table, builds a one-off bill of materials for that exact configuration, and creates a draft manufacturing order in Odoo.

Shopify logo icon
Shopify Order Paid (Trigger)
Code Custom Code
Odoo List Custom Model
Odoo Create Custom Model
odoo logo icon
Odoo Create Custom Model

How it works

10 steps to turn every configured Shopify order into an Odoo manufacturing order

Shopify logo icon

Shopify Order Paid (Trigger)

App connector: Shopify • Time to complete: 1 minute

Run when a Shopify order is paid, so production only starts on money that has been collected.

Loop

App connector: Loop • Time to complete: 1 minute

Go through the order's line items one at a time.

Filter

App connector: Filter • Time to complete: 1 minute

Keep only configurable products, for example line items whose SKU starts with a model prefix such as CANOE- and that carry line item properties.

Data Query

App connector: Data • Time to complete: 1 minute

Read the configuration rules table for this model: each option value with the Odoo component internal reference (default code), the quantity it adds, its price, and which other option values it is incompatible with.

Code Custom Code

App connector: Code • Time to complete: 1 minute

Map the line item properties to a list of components and quantities using the rules, flag incompatible combinations, and recompute the expected price from the rules to compare with what the customer paid.

Filter

App connector: Filter • Time to complete: 1 minute

Continue only when the configuration is valid and the recomputed price matches the order. Otherwise tag the order for review so nothing reaches production on bad data.

Odoo List Custom Model

App connector: Odoo • Time to complete: 1 minute

Look up each component in Odoo's product.product model by internal reference to get its Odoo ID.

Odoo Create Custom Model

App connector: Odoo • Time to complete: 1 minute

Create an mrp.bom record for the base product template with quantity 1, type Manufacture this product, and the Shopify order number as its reference.

Loop

App connector: Loop • Time to complete: 1 minute

Go through the mapped components and create one mrp.bom.line per component with Create Custom Model, linked to the new bill of materials, with its product ID and quantity.

odoo logo icon

Odoo Create Custom Model

App connector: Odoo • Time to complete: 1 minute

Create an mrp.production record (a manufacturing order) for the product, quantity from the line item, the new bill of materials, and the Shopify order number as the source document, left in draft for the planner to confirm.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to turn every configured Shopify order into an Odoo manufacturing order

Get setup in 10 minutes.

Use this template →

FAQs

Why build a bill of materials per order instead of using Odoo variants?

With 7 to 12 option categories the number of combinations runs into the thousands, far past Shopify's three options per product and more than anyone wants to maintain as variants in Odoo. A per-order bill of materials records exactly what this unit needs without creating a variant for every possible combination.

Why check the options against a rules table?

Line item properties are set in the shopper's browser, so the workflow treats them as a request, not as trusted data. Recomputing components and price from your own rules catches incompatible picks and edited values before they reach the shop floor.

Does the workflow confirm the manufacturing order?

No. It creates the manufacturing order in draft so a planner can check it and confirm it in Odoo, which is where component reservation and scheduling happen.

Personalize this template

Customize this workflow even further:

Alert the shop floor
Add a Slack or email step after the manufacturing order is created so production sees new builds right away.
Write the build spec back to Shopify
Add a Shopify Update Order Notes step with the component list so customer service can see what is being built.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

turn every configured Shopify order into an Odoo manufacturing order

10 min setup • Fully supported if you need help