Sync Zettle Purchases with Odoo Stock in Real Time 🛒📦
Adam Browder
September 3, 2025
Retail teams often struggle to keep in-store and online inventory aligned. A t-shirt sold at the counter might still appear in stock on your website, creating the risk of overselling. With Workload, you can solve this problem by syncing Zettle Purchases with Odoo stock in real time.
Each new purchase in Zettle sends product details like the name and ID into Odoo. Workload matches the product and subtracts the right quantity, so your stock levels stay accurate across systems without lifting a finger.
The benefits are clear: faster updates, fewer mistakes, and peace of mind knowing your inventory is always correct. This no-code automation saves time while helping your team deliver a smoother experience for both in-store and online customers.
🧩 Essentials
Before you build, here’s what you’ll need:
⭐ Zettle – Capture in-store purchase data as soon as a transaction happens.
✅ Odoo – Manage product inventory and keep stock levels up to date.
🚀 Workload – Create your automation without writing any code.
Workload makes connecting these tools seamless. Just sign in and grant access when prompted—no developer setup or configuration needed.
🎨 Make It Yours
🎯 Adjust by Purchase Quantity
Reduce Odoo stock by the exact number of items sold in each Zettle purchase.
🔍 Match Products by SKU
Use SKU or barcode instead of product name for more accurate stock updates.
📦 Handle Product Variants Separately
Update sizes or colors individually, so “Blue T-Shirt – Medium” reduces without affecting other variants.
🛑 Branch for Unmatched Products
Stop the automation and send an alert if a purchased product isn’t found in Odoo.
⚙️ How to Sync Zettle Purchases with Odoo Stock
Every app expects data in a specific format—whether it’s how dates are written, how names are separated, or how fields are labeled. You can use our in-house tool AI Wizard by Workload to clean up or adjust data between steps. If your trigger already sends clean data, you may not need formatting at all.
Step 1: Create a New Sync Zettle Purchases with Odoo Stock Automation
In the Workload dashboard, click Create Workflow.
Give your automation a title, such as “Purchase in Zettle to Adjust quantity in Odoo“.
Step 2: Set Up the Trigger (PayPal Zettle)
Click inside the Trigger box and choose the app PayPal Zettle.
Select the event New Purchase and click Continue.
Click Sign in to connect your Zettle account if you haven’t already. For help, follow our step-by-step guide on how to connect Zettle to Workload. Once connected, click Continue.
Test the trigger to pull in a recent purchase. Confirm product details, especially the product name, are visible, then click Continue.
Step 3: Add a List Products Step (Odoo ERP Self-Hosted)
In the action step, choose the app Odoo ERP Self-Hosted.
Select the event List Products and click Continue.
Sign in to your Odoo account if you haven’t already. For help, follow our step-by-step guide on how to connect Odoo to Workload. Once connected, click Continue.
Select your database and then click Continue.
Test the action to confirm your Odoo product list is returned, then click Continue.
Step 4: Extract the Product Name (AI Wizard by Workload)
Add another step by clicking the + icon and then choose AI Wizard by Workload (fka AI Formatter) from the TOOLS menu.
Select Format Data as the event and click Continue.
For Input Data, select the “products” array header from the Zettle trigger. Then, enter a short prompt to return only the product name as a clean response and click Continue.
Test the action to confirm the name matches your Odoo product list then click Continue.
Step 5: Search the Product List (Odoo ERP Self-Hosted)
Add a step and choose Array Functions → Search Array Items from the TOOLS menu.
In the event field, click Search Array Items, then click Continue.
Configure the action fields by setting them to the following:
- Source array: Products (from Odoo “List Products” step)
- Search Key: Type “Name”
- Search Value: Product Name (from AI Wizard step)
Once you have finished mapping the fields, click Continue.
Hit Test action and confirm that the response finds the matching product and returns the product ID, then click Continue.
Step 6: Adjust the Stock Quantity (Odoo ERP Self-Hosted)
Add a final action step and choose the app Odoo ERP Self-Hosted.
Select the event Adjust Stock Quantity and click Continue.
Sign in to your Odoo account if you haven’t already. For help, follow our step-by-step guide on how to connect Odoo to Workload. Once connected, click Continue.
Configure the action fields by setting them to the following:
- Database: Select your Odoo database
- Product: Click Custom and map the product ID from the Array Search step (do not select a static product)
- Quantity: Enter -1 to subtract one unit whenever a purchase is made
Once you have mapped the fields, click Continue.
Test the action to confirm the Odoo stock decreases correctly.
Step 7: Activate the Sync Zettle Purchases with Odoo Stock Automation
Review all steps and confirm each has a green light. Then click the toggle at the top to turn your automation On.
Make a test purchase in Zettle and check that Odoo updates the stock immediately.
📦 Making Zettle Purchases with Odoo Part of a Complete Inventory System
Syncing Zettle Purchases with Odoo is just the start. Many retailers use this as the base for a complete inventory management system:
📊 Log Purchases in Sheets
Send each Zettle sale to Google Sheets for a full purchase history alongside your Odoo stock updates.
📣 Notify Teams in Slack
Alert your sales or operations team in Slack whenever a product’s stock is adjusted in Odoo.
📦 Auto-Reorder from Low Stock
Trigger a purchase order in Odoo or send an email to suppliers when inventory falls below your set threshold.
🛍️ Sync to Your Online Store
Push updated stock levels from Odoo into Shopify, WooCommerce, or another eCommerce platform to keep storefronts aligned.
🧠 Learn More with Workload
Keep exploring automation and save even more time:
🆘 Browse Setup Guides in Workload’s Help Center
Tags
Ready to automate your workflows?
Start building powerful automations with Workload today.
Get Started Free