Skip to Content

Odoo Workflow Automation

Connect Odoo with your shop, forms, email and spreadsheets using n8n, so leads, orders and reminders move by themselves.

EXAMPLE WORKFLOWS

Repetitive work, done automatically

Each line is a workflow: something happens, and the steps after it run by themselves, every time, in seconds.

New website lead

Form or landing page→Lead in Odoo CRM→Assigned to a salesperson→Telegram message

Online store order

Order in your store→Customer and sales order in Odoo→Delivery created→Tracking sent to the customer

Overdue invoices

Every morning→Find overdue invoices→Polite reminder by email→List to the accountant

Spreadsheet sync

Odoo record changes→Row added or updated→Google Sheets your team already uses
TWO DIRECTIONS

How n8n and Odoo talk to each other

Odoo sends events to n8n through automation rules with webhooks; n8n reads and writes Odoo records through the JSON-2 API with an API key. Odoo sales Β· CRM Β· stock Β· accounting n8n shop Β· email Β· sheets Β· Telegram Automation rule β†’ webhook "order confirmed" is pushed the moment it happens JSON-2 API with an API key n8n reads, creates and updates records as a limited user
HOW IT IS IMPLEMENTED

From idea to running workflow

  1. Map the process

    We write down the trigger, each step and what should happen when something is missing (no customer, wrong product, duplicate). This is where most automations succeed or fail.

  2. Give n8n its own Odoo user

    A dedicated user such as n8n Bot gets only the rights the workflows need, and an API key (user profile β†’ Security β†’ Create API Key). Every record n8n creates shows "n8n Bot" in its history.

  3. Read and write Odoo through its API

    Odoo's JSON-2 API takes the model and the method in the address and the API key in a header. The same call works from n8n's HTTP Request step or any script.

    Create a lead
    curl -s https://erp.example.com/json/2/crm.lead/create \
      -H "Authorization: bearer $ODOO_API_KEY" \
      -H "X-Odoo-Database: mydb" \
      -H "Content-Type: application/json" \
      -d '{"vals_list": [{"name": "ERP for 3 branches",
                          "contact_name": "Imran Hossain",
                          "email_from": "imran@example.com"}]}'
    [45]
    Find overdue customer invoices
    POST /json/2/account.move/search_read
    {
      "domain": [["move_type", "=", "out_invoice"], ["state", "=", "posted"],
                 ["payment_state", "in", ["not_paid", "partial"]],
                 ["invoice_date_due", "<", "2026-11-21"]],
      "fields": ["name", "partner_id", "amount_residual", "invoice_date_due"]
    }
  4. Let Odoo push events to n8n

    An Odoo automation rule sends chosen fields to an n8n webhook the moment something happens, for example when a sales order is confirmed. The webhook address contains a long random part that acts as its password.

    Odoo Β· Automation Rules
    Odoo automation rule: when a sales order state is set to Sales Order, send it to n8n
    The automation rule: when an order is confirmed, run "Send order to n8n".
    Odoo Β· Server Action
    Odoo webhook action with URL, chosen fields and sample payload
    The webhook action: the n8n address, the fields to send, and a preview of the data n8n receives.
  5. Build the workflow in n8n

    Each workflow is built, tested with real sample data and given clear step names, so anyone can follow it later.

    n8n Β· Website lead β†’ Odoo CRM β†’ Telegram
    n8n workflow creating an Odoo CRM lead from a website form and notifying Telegram
    A website form creates a lead in Odoo, finds the right salesperson and announces it on Telegram.
    Odoo Β· CRM
    Odoo CRM lead created by n8n with a note in its history
    The result in Odoo: the lead, its salesperson, and a note saying where it came from.
  6. Handle errors and hand over

    Failed runs are reported on Telegram with the step that failed. You receive a short description of each workflow and how to switch it off.

Connects Odoo with

TelegramGmail and OutlookGoogle Sheets and DriveWooCommerceShopify Facebook lead formsPayment gatewaysCourier APIsSlackAny REST API or webhook
HOW YOU BENEFIT

Less copying, fewer mistakes

⌨️No double entry

Orders and leads arrive in Odoo without anyone typing them again.

⚑Instant

Things happen seconds after the trigger, also at night and on holidays.

βœ…Same every time

No forgotten steps, no typos in amounts or emails.

🧩No Odoo code changes

Most workflows need no custom module, so Odoo upgrades stay simple.

πŸ‘€Easy to follow

Every workflow is a diagram you can open and adjust later.

πŸ”Limited access

The integration user can do only what its workflows need.

QUESTIONS

Common questions

Does it work with Odoo Community?

Yes. The API and automation rules used here are part of Odoo Community and Enterprise.

What if my shop or app is not listed?

If it has an API or can send webhooks, n8n can connect to it.

Do I need my own n8n server?

Recommended, so your data stays with you; see n8n Setup & Hosting. n8n's hosted plans also work.