Use this robust n8n workflow to seamlessly sync new customer records created in Shopify directly into Odoo as contacts. Features custom logic to prevent duplication.
Download this n8n workflow template and start using it instantly.
Maintaining a unified customer database between your storefront and your ERP/CRM system is essential. This specific n8n workflow solves the problem of manual data entry and ensures that every new customer registered in Shopify is automatically replicated as a contact record in Odoo.
This automation starts with an n8n trigger listening for new customer events. It uses an Odoo search n8n node to verify if the contact already exists based on the customer's email address. By incorporating a custom Code n8n node and a Filter, the n8n workflow intelligently determines whether a creation action is necessary, making this a smart and reliable integration among various n8n templates.
This automated n8n workflow executes the following steps:
Shopify Trigger n8n trigger, which activates immediately whenever a new customer creation event occurs in the connected Shopify store.Search Odoo Contact n8n node. This Odoo n8n node attempts to find an existing partner record (res.partner) using the email address provided by the Shopify event.Code n8n node evaluates the results of the Odoo search. It checks if an existing contact ID was returned. It packages this result into a boolean flag named existing.Filter n8n node uses this existing flag to govern the flow. It directs the execution path based on whether the contact was found or not, ensuring that the next step only proceeds under the necessary conditions.Create Contact Odoo n8n node takes the customer details (name, address, phone, email) from the original Shopify trigger payload and creates a brand new contact record in the Odoo ERP system. This completes the synchronization aspect of the n8n workflow.To deploy this synchronization n8n workflow, follow these steps:
Shopify Trigger n8n node. Set up the required Shopify Access Token credentials, linking your n8n instance to your Shopify store. This creates the necessary webhook n8n trigger.Search Odoo Contact and Create Contact). These require standard Odoo API connectivity details (host, port, database, username/password).Shopify Trigger will begin listening for new customer creation events. Shopify Trigger (n8n trigger):
Function: Serves as the starting point, listening for customer creation events via a webhook.
Key Configuration: Topic set to customers/create.
Search Odoo Contact (n8n node):
Function: Performs a lookup in Odoo's res.partner resource using the email address from the Shopify payload to check for existing records.
Key Configuration: Operation is getAll with a limit of 1, filtering by the customer's email.
Code (n8n node):
Function: Custom scripting to analyze the output from the Odoo search. It returns a boolean flag (existing) indicating whether a contact was successfully retrieved.
Key Configuration: Uses JavaScript to check existing_contact.id and pass the result to the next n8n node.
Filter (n8n node):
Function: Controls the flow path, allowing data to proceed to contact creation only if the defined condition regarding the existing flag is met.
Key Configuration: Condition checks the value of $json.existing.
Create Contact (n8n node):
Function: Creates a new partner record in Odoo by mapping customer data from the initial Shopify n8n trigger payload (name, address, city, zip, phone, email).
* Key Configuration: Resource set to res.partner, mapping multiple fields using expressions like ={{ $('Shopify Trigger').item.json.addresses[0].name }}.
Use this robust n8n workflow to reliably synchronize NetSuite Customer records to Salesforce Accounts and Contacts. This template utilizes custom logic, pagination loops, and upsert operations for enterprise-grade data management. Get started with this powerful n8n template today.

Use this robust n8n workflow to sync financial account balances from the Plaid API (RBC, Amex, Wise, PayPal) directly into Google BigQuery for centralized reporting and data analytics.

Use this robust n8n workflow to automatically synchronize tasks from Monday.com to Jira, featuring advanced fuzzy duplicate detection and custom JavaScript logic for data normalization.

Use this robust n8n workflow to automatically synchronize newly created Shopify products with your Odoo ERP, ensuring consistent product master data across both platforms.

🚀 AI & Automation Expert | n8n Creator I specialize in building AI-powered automation and workflow solutions using n8n and no-code/low-code tools. With extensive experience in process automation, system integration, and AI-driven workflows, I help businesses streamline operations, enhance productivity, and reduce manual effort. Passionate about scalable automation that drives efficiency and growth.







































