n8n and Odoo integration

A planning guide for automating Odoo contacts, opportunities and custom models from self-hosted n8n, covering credentials, native node operations, HTTP Request fallback and what the work needs from your team.

On this page

How the n8n Odoo integration works for contacts and opportunities

If your team wants n8n to create or update Odoo records from web forms, a CRM or another business system, start with the n8n Odoo node. It is the first option, and the HTTP Request node is the fallback for any operation the node does not cover. Whether that fallback is needed depends on which Odoo operations your workflow touches and on the API access your Odoo edition gives you, so settle those two points before you design anything.

Odoo is open source, but in two different ways. The Community edition is licensed under LGPL-3.0 and is published on GitHub, while the Enterprise edition is a paid subscription whose source code is not publicly available. The integration itself depends on which edition and hosting model the client runs. Odoo's pricing page states that only the Custom plan can be hosted on Odoo.sh or on-premise and that external API access is included only in Custom. If your Odoo instance does not include external API access, no node or HTTP call will work until that changes, so ask your Odoo account contact or partner to confirm it in writing.

Before building, confirm three things with your own Odoo environment: the exact Odoo version, the operations and models your workflow needs (contacts, opportunities and any custom models), and the node version listed in your n8n release. Check the node's supported operations against the n8n documentation for that version rather than assuming coverage. Then create a dedicated Odoo user with only the access rights those models require, and test every create and update path in a duplicated test database before it touches production.

Where n8n, Odoo and the credential sit in the request path

The flow starts at a trigger such as a form, webhook, CRM event or schedule, and reaches a self-hosted n8n main or worker process. That process holds the Odoo credential, which is stored encrypted in the n8n database and is decrypted only when a node runs. From there, the Odoo node or the HTTP Request node calls the Odoo instance, which reads and writes its own PostgreSQL database. Check that the encryption key is shared with every worker and webhook processor in queue mode, and that the whole path stays inside the boundary of your network.

Trigger, n8n process, encrypted credential and Odoo instance inside the client network.

Which Odoo edition and plan allow external API access

The external API access that an n8n integration depends on is not included in every Odoo offer. According to Odoo's pricing page, only the Custom plan includes external API access, along with multi-company, Odoo Studio and custom modules. The same page states that only Custom can be hosted on Odoo.sh or on-premise. Before you design a workflow, confirm in writing which plan and hosting model your organization will hold, because a design built on the wrong assumption is expensive to unwind later. Odoo Online on the Standard plan may not allow the API access your workflow needs, so do not treat it as a default choice for an automation project.

Ask Odoo or your implementation partner to confirm, in writing, that the API access your planned n8n nodes and HTTP Request calls require is included in your subscription and hosting model. Also confirm which models and operations your account can reach, since custom models often need access rights that a standard user does not have. Record the answer with the subscription terms so that a later plan change or renewal does not silently remove the capability.

For on-premise deployments, the Enterprise database must be activated by entering the subscription code, so the activation step belongs in your deployment checklist. The Odoo Community edition has no access to the upgrade service, which matters for automation because workflows that break after a major version change will need a supported upgrade path. Plan for that path from the start, and confirm which edition gives you the upgrade service before you commit to a design.

What you need in place before building the Odoo workflows

Five things should be settled before the first Odoo node runs: the Odoo version and hosting model, a dedicated integration user, the n8n edition and version, the network path between the two systems, and a test database. Each one changes what the workflows can do and how safely they can be tested.

Odoo version and hosting model

Confirm which Odoo version and hosting model you run before choosing node operations, because support windows differ by version. Odoo 19.0 is the reference documentation used here, and Odoo 20.0 was released in September 2026 with standard support planned until September 2029. Only the Custom plan can be hosted on Odoo.sh or on-premise, and external API access is included only in Custom, so confirm your plan includes it before building against the API. Check the Odoo version against your own support calendar.

Odoo support docs

Dedicated Odoo integration user

Create a separate Odoo user for n8n instead of reusing an administrator account. Grant access rights only to the models your workflows read or write, such as contacts, opportunities and any custom models. Record who owns the user, when its password or API key was last rotated, and which company records it can see. Review its access rights whenever a new workflow is added, since a broad account turns a workflow mistake into a data exposure.

n8n version and edition

Pin the n8n version and edition before writing credentials. n8n 2.43 was released on 6 October 2026, and n8n uses semantic versioning with minor releases roughly weekly, so record the exact build your team tests. The Community edition does not include SSO or LDAP, so if your operators sign in through an identity provider, confirm which plan provides it. Planned upgrades should be tested against this same Odoo version.

n8n release notes

Network path and TLS

Confirm that the n8n instance, or the worker nodes in queue mode, can reach the Odoo URL over HTTPS on the network you control. Check firewall rules, DNS resolution, proxies and any internal certificate authority that signs Odoo's certificate, because a certificate n8n does not trust causes intermittent failures that look like authentication errors. Decide whether outbound calls leave your network or stay inside it, and document the route so reviewers can trace the data flow.

Test database by duplication

Create a test database by duplicating production and neutralizing it, so scheduled workflows and webhooks cannot send emails or post to live records during development. Odoo documents database duplication with neutralization for test copies, but the exact steps depend on your version and hosting model, so confirm them in the documentation for your release before you rely on them. Point the first n8n credentials at the test database and promote them only after the workflows pass review.

Odoo on-premise docs

Setting up the n8n Odoo credential and first workflow

This sequence takes a team from a confirmed Odoo test database to a reviewed, read-only contacts workflow and a tested opportunity write, with credentials stored encrypted and errors logged before anything reaches production.

  1. Confirm the Odoo test instance and integration user

    Before touching n8n, the Odoo administrator confirms the instance URL, the database name and a dedicated integration user for the test environment. That user should hold only the access rights the workflows need, such as read access to contacts and create or write access to opportunities, and should not be a personal administrator account. Record the URL and database name in your change record. The step is done when someone outside the build team can log in as the integration user on the test database and see the expected contacts and opportunities. Confirm with your Odoo edition and plan that external API access is available, since the pricing facts state that only the Custom plan includes it.

  2. Create and encrypt the Odoo credential

    In the n8n instance used for testing, an administrator creates the Odoo credential using the instance URL, database name and integration user details. n8n stores credentials encrypted in its database using the instance encryption key, so that key must be backed up and recorded securely before any queue mode workers are added, since workers need the same key. Use the test database values only at this stage. The step is done when the credential saves without error and n8n shows it in the credential list without displaying the secret again. Confirm the exact field names in the Odoo node documentation for your installed n8n version.

  3. Test the credential against a known contact

    Run the credential test, then perform a read of one contact that a person has already verified in the Odoo test database. Compare the returned name, email and identifier with what the Odoo user interface shows for that record. A successful credential test alone is not enough, because it can pass for a user with too few rights to see the records the workflow needs. The step is done when the read returns the same record fields as the Odoo screen and the integration user can see that contact. If the read is empty or returns a permissions error, fix access rights in Odoo before building anything else.

  4. Build the read-only contacts workflow

    Build a workflow that only reads contacts from Odoo and passes selected fields to a test destination such as a log or a sandbox channel. Keep it read-only at this stage so that a mistake cannot change customer data. Limit the fields returned to those the process needs, and avoid carrying personal data into places that are not approved to hold it. Run the workflow manually and check that the number of returned contacts and the sample record match the Odoo test database. The step is done when a manual run produces the expected output and a reviewer has confirmed the field list.

  5. Add an opportunity create or update step on test

    Extend the workflow with one write operation for opportunities, either creating a new opportunity or updating a known test opportunity, and run it only against the test database. Use a clearly named test record, such as one prefixed with a label your team agrees on, so that cleanup is easy. Check that the write uses the integration user and that required fields are present, because Odoo validation rules will reject incomplete records. The step is done when the opportunity appears in the Odoo test database with the values n8n sent, and a second run does not create duplicates if you designed the update to be idempotent. If you need an operation the native node does not cover, confirm the Odoo API call through the HTTP Request node before writing it.

  6. Add error handling and execution logging

    Add an error path that catches failed Odoo calls, records the workflow name, execution identifier, operation and error text in a log destination that your operations team reads, and notifies a named owner. Decide in advance whether a failed write should retry, stop or alert, because retries on writes can create duplicate records. Review the execution history for both a successful run and a deliberately failed run, such as one with a wrong record identifier. The step is done when the failure appears in the log with enough detail to diagnose it and the owner receives the notification.

  7. Review and promote the workflow to production

    Have a reviewer who did not build the workflow check the credential scope, the fields read, the write logic, the error path and the log content against the approved design. Then create the production credential separately, pointing at the production Odoo database with its own integration user, rather than copying the test credential across. Run the workflow once in production against a single known record that the business has agreed to use for the check, and confirm the result matches the test run. The step is done when the reviewer signs off in writing, the production credential is stored encrypted, and the first production run leaves a logged execution that matches the expected record.

How Odoo contact, opportunity and custom model fields map to n8n items

This table compares the Odoo records most teams automate first with the n8n item fields a workflow will read or write. Read each row as a mapping decision: confirm the technical name in your own database, decide whether the value is passed as-is or transformed, and treat related-record links as lookups rather than plain text.

Source fieldOdoo model and fieldRequired or optionalTransformation needed
Contact nameres.partner, nameRequired for a new contactPass as text. Trim whitespace and normalize case before matching against existing contacts to avoid duplicates.
Contact emailres.partner, emailOptional, but needed for matchingLowercase and trim before searching. Use it as the lookup key for upserts so repeat runs update the same record.
Company linkres.partner, parent_id (many-to-one)OptionalResolve the company name to an existing partner ID first. Pass the ID, not the name, or the workflow will create a duplicate company.
Opportunity stagecrm.lead, stage_id (many-to-one)Required for pipeline reportingMap your stage labels to stage IDs in your database. Do not assume stage names match across databases or Odoo versions.
Partner linkcrm.lead, partner_id (many-to-one)OptionalLook up the contact by email or external ID and pass its ID. Partner-linked opportunities depend on the contact existing first.
Expected revenuecrm.lead, expected_revenue (monetary)OptionalConvert the source value to a number in the opportunity currency. Check that the currency field is set consistently.
Opportunity ownercrm.lead, user_id (many-to-one to res.users)OptionalMap the owner's email or login to a res.users ID. An inactive or unmatched user should trigger an error branch, not a silent blank.
Custom model field (illustrative)A model from your custom module, such as x_project_request, with a field such as x_budget_codeDepends on the module designConfirm the model and field names in your database. Convert types to match the field definition (for example, text to selection values or date strings to date fields).

Choosing the n8n Odoo node or the HTTP Request fallback

Choose the native Odoo node when the operations you need on contacts, opportunities and similar records are covered by the node version your instance runs. The node keeps authentication, request shape and field handling inside n8n, so your workflows follow the node's maintained interface rather than hand-built calls. This path usually leaves less code for your team to own, but it depends on the node's coverage, which you must confirm for the specific version before committing.

  • Coverage check: List every operation the workflow needs, including custom models, and confirm each one against the node's documented operations for your n8n version. Treat anything missing as a fallback candidate, not a workaround to improvise later.
  • Testing scope: Test each covered operation against a non-production copy of your Odoo database, including reads on records your test account can see and writes on records it can edit.
  • Error handling: Check how failed calls surface in n8n, including access errors, validation failures and records deleted between steps, and route them to a visible alert.
  • Data types: Verify how many2one, one2many and date fields are passed and returned, since mismatches here cause silent data loss in updates.
  • Upgrade ownership: The node is maintained through n8n releases, so your team must retest workflows after each n8n upgrade and after each Odoo major version your instance adopts.

Before committing, confirm with the node documentation and a proof-of-concept run which operations your n8n version covers.

Security controls for the Odoo credential and API access

The n8n Odoo node is only as safe as the account behind it. The controls below cover the Odoo user, the n8n encryption key, who can open the credential, how people sign in, what gets logged and whether Odoo users themselves sign in through LDAP.

Dedicated Odoo user with minimum rights

Create a separate Odoo user for n8n rather than reusing a person's account or an administrator. Grant access rights only on the models the workflows read or write, such as contacts, opportunities or your custom models, and keep it out of administrator groups. Odoo's Custom plan is the one that includes external API access, so confirm your plan before planning around the API. Review the user's groups each time a new workflow is added, since every new model widens what a leaked credential can reach.

Encryption key handling across queue mode

n8n encrypts stored credentials with its encryption key. In queue mode, the main instance's key must also be shared with every worker and webhook processor node, because those processes read credentials from the database. Store the key in your secrets manager, keep it identical across all nodes, and record where it is kept so a rotation or restore does not break Odoo connections. Losing the key means re-entering every Odoo credential.

n8n queue mode docs

Limiting who can view the credential

Decide who may open, edit or share the Odoo credential in n8n. Role and project controls that restrict these actions are part of the paid plans, so confirm whether your edition includes them before relying on them. Without them, anyone who can edit a workflow may be able to reuse the stored credential in another workflow. Keep production credentials in a restricted project and let developers work against a test Odoo database, as described in the environments guidance for n8n.

SAML single sign-on for n8n users

On the Business and Enterprise plans, n8n supports SAML single sign-on, with setup guides for Okta Workforce Identity and Azure AD. Signing n8n users in through your identity provider means that disabling a person's directory account also removes their access to the Odoo credential and its workflows. Confirm the plan before you design around it, and test that a departing user cannot sign in to n8n from an existing session.

n8n SAML docs

Audit trail of workflow executions

Every Odoo write made by n8n is performed by the dedicated API user, so Odoo's own records will show the integration account rather than the person who changed the workflow. Use n8n's execution history to record which workflow ran and what it sent, and keep that history for the retention period your policy requires. Log streaming to an external system is listed as a Business and Enterprise feature, so confirm whether your plan includes it before you rely on it for evidence.

Optional LDAP for Odoo user sign-in

Odoo supports LDAP authentication for its own users, which can be useful if your directory is the source of truth for staff who sign in to Odoo. This is separate from the n8n-to-Odoo API credential, which should stay a service account. Check the LDAP documentation for the Odoo version you run, and confirm that your Odoo edition and plan support it, since plan limits for Odoo features differ.

Odoo LDAP docs

Why Odoo calls fail after the n8n credential test passes

This table pairs common symptoms of failed Odoo operations in n8n with their likely causes and the first check to run. A passing credential test only proves that the node can log in, so most later failures sit in access rights, database selection, queue mode configuration, Odoo version changes, node coverage or retry behavior. Confirm specifics against the Odoo and n8n documentation for your versions.

SymptomLikely causeFirst check
Access denied or empty results on one modelThe integration user lacks read, create or write rights on that model, or a record rule hides the recordsLog in as the integration user in Odoo and perform the same operation manually on that model
Credential test passes but operations fail on a multi-database hostThe database name in the n8n credential points to a different database than the one holding your dataList the databases on the host and compare the name with the one in the credential
Credentials work in manual test runs but fail only in production executionsIn queue mode, workers or webhook processors use a different encryption key than the main instanceConfirm every main, worker and webhook processor uses the same encryption key setting
Operations fail or return unexpected fields after an Odoo upgradeA version mismatch between the Odoo instance, the model fields and the node or API calls built for the older versionCompare the Odoo version and changed model fields in the upgrade notes for your version
An operation or resource is missing from the nodeThe Odoo node does not cover that operation or custom model, so the workflow depends on an unsupported callCheck the node's supported resources, then plan a fallback through the HTTP Request node if needed
Duplicate contacts or opportunities appear after a failed runRetries or reruns repeat a create call that already succeeded before the error was reportedReview the execution history, then confirm the workflow searches for an existing record before creating
Custom model calls return authorization or not found errorsThe model name or technical name differs from the one in Odoo, or the module is not installed in that databaseConfirm the technical model name in developer mode and check the module installation in the target database

What buyers ask before hiring help for the n8n Odoo integration

How much effort does an n8n and Odoo integration take?

The effort depends on scope more than on the tools themselves. The main drivers are the Odoo edition and whether your plan includes external API access, how many models the workflows touch, how many custom fields and custom models need mapping, and how much error handling and testing the flows require. A integration limited to contacts and opportunities with standard fields is a small build. Adding custom models, several companies, or retry and reconciliation logic adds design, build and test work at each step. Odoo's pricing page states that only the Custom plan includes external API access, so confirm your plan before estimating anything.

Can our own team build the n8n Odoo integration without outside help?

Yes, if your team already has working knowledge of both n8n and Odoo. Two things decide whether that goes well. The first is API access: you need an Odoo plan that includes external API access and a clear credential setup in n8n. The second is test discipline: a separate test database, repeatable test cases for each workflow, and a written review of field mappings before anything writes to production. Teams that lack Odoo data model experience usually find the mapping and error handling work takes the longest. An outside partner is most useful for the design review and for the part of the build your team has not done before.

What do we need to provide before the integration work starts?

Plan on providing four things. First, a test database that copies production structure, with the data handling you approve for it. Odoo documents database duplication with neutralization for test copies on on-premise installs, which is a useful starting point for that step. Second, a dedicated Odoo API user with access rights limited to the models in scope. Third, decisions from your business owners on which records may be created, updated or deleted by automation. Fourth, sign-off on the field mappings before build, so that contacts, opportunities and custom models are mapped the way your teams use them.

How long does an n8n and Odoo integration take to deliver?

No reliable duration can be given without the scope. The timeline follows from the same drivers as effort: the number of Odoo models and custom fields, the number of workflows and their error paths, whether the work includes a separate test environment, and how many rounds of business review the mappings need. Ask any provider for a schedule that lists the phases, the review points and the test cycles, and check that each phase depends on a written decision from your side. Schedule risk is usually in the mapping review and in access approvals, not in the n8n node configuration itself.

What happens to the integration when Odoo upgrades?

Each Odoo major version change can affect the models and fields your workflows use, so the integration needs an upgrade step in its plan. Odoo's upgrade service moves a database to a newer supported version through an upgraded test database, which should be tested before production. Using that service on-premise requires an Enterprise subscription, and the Community edition has no access to it. On Odoo Online and Odoo.sh, major upgrades are mandatory every two years. Odoo SaaS versions are released every two to three months, so workflows should be re-tested on the test database after each release that touches their models.

What should a fixed-scope quote for this integration list?

A fixed-scope quote should name each item in writing before work starts. List the Odoo edition and plan, and confirm whether external API access is included. List every workflow with its trigger, the Odoo models it reads and writes, and the operations it covers natively in the n8n Odoo node. Name the fallback calls planned through the HTTP Request node. State the test environment, the test cases, and the acceptance criteria. List the handover items, such as workflow exports, credential handling notes and runbooks. Finally, state what is excluded, including Odoo upgrades and any support after go-live, and whether support is a separate retainer.

Which Odoo edition does the integration need?

The integration needs an Odoo plan or edition that exposes the API it uses, so the first decision is edition and hosting. Odoo's Community edition is fully open source under LGPL-3.0, while Enterprise adds features and support and requires a subscription for its source code. Odoo's pricing page states that only the Custom plan can be hosted on Odoo.sh or on-premise and that only Custom includes external API access, multi-company and custom modules. Confirm with Odoo which edition and hosting option fit your needs before you choose the integration approach.

How DeployOpen scopes and delivers the n8n Odoo integration

DeployOpen plans, builds, documents and supports self-hosted open-source platforms inside your own infrastructure, including the n8n and Odoo connection. Each engagement starts with a written scope that sets out which Odoo models, operations and credentials are covered before any workflow is built.

How we scope

  • Inventory which Odoo models, such as contacts, opportunities and custom models, the workflows must read or write
  • Confirm your Odoo edition and plan, since external API access is included only in the Custom plan
  • Record which operations the n8n Odoo node covers natively and which need HTTP Request node fallbacks

How we build

  • Create a dedicated Odoo user with least-privilege access rights and store its credentials encrypted in n8n
  • Build and test each workflow against an Odoo test database copy before any change reaches production
  • Document error handling, retry behavior and field mappings for every workflow in the agreed deliverables

How we hand over

  • Deliver the workflow export, credential inventory and environment settings in the written handover package
  • Walk your administrators through the Odoo API calls, test cases and known limits of each workflow
  • Provide a runbook covering credential rotation, n8n upgrades and Odoo version changes that affect the integration

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
  • Ongoing support, upgrades and continuous testing are available as a retainer after handover
  • Retainer scope for Odoo upgrades is agreed separately, including retesting workflows against the upgraded test database

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.