Odoo integration

Your Odoo database from a flow. The action creates, updates and finds contacts, opportunities, quotations and tasks, adds activities, notes and files, reads products and invoices, and works with any model you list. A trigger starts a flow when a record is created or changes. In AI toolkit mode an AI Node or an MCP client gets 19 tools: the reads, and writes that start blocked and have their own limits. It works with Odoo Online, Odoo.sh and a server of your own, with an API key of yours.

⚠The node works in your real Odoo, with the permissions of the user of the key. Odoo can send emails or run its own automation rules when a record changes; HostWebhook can't see them.

Setup

1. What you need

  • Odoo 16, 17, 18, 19 or 20. An older version is refused when you connect.
  • A plan with the API. On Odoo Online that is the Custom plan. Odoo says: “Access to data via the external API is only available on Custom Odoo pricing plans. Access to the external API is not available on One App Free or Standard plans.” See its plans.
  • A user of its own, better than yours. The key can do what its user can do, so give that user only the permissions the flow needs. Odoo recommends it too, and counts it as a paid user.
  • The app of what you use. Opportunities need CRM, quotations need Sales, invoices need Invoicing and tasks need Project. Without it the step says: “This Odoo does not have the app for that.”

2. Create an API key in Odoo

Sign in to Odoo as the user of the connection, open the menu of that user (top right) and create the key:

VersionWhereButton
16, 17 and 18Preferences → Account SecurityNew API Key
19Your preferences → SecurityAdd API Key
20My Preferences → SecurityCreate API Key
  • If it asks for a Scope, as Odoo 20 does, choose RPC, not MCP: with a key for MCP, Odoo refuses what HostWebhook asks. Odoo says: “A scope restricts where an API key can be used.”
  • Copy it right away. Odoo shows the key only once.
  • It can expire. From Odoo 18 on you choose how long it lasts when you create it. Plan to renew it.
VersionMost users can chooseAdministrators can choose
16 and 17It has no end dateIt has no end date
18 and 191 day, 1 week, 1 month, 3 months or a date of yours within themAlso 6 months, 1 year, or no end date
201 day or 1 monthAlso 1 year, or never

Don't use an administrator's key just because it lasts longer: it can do anything in that Odoo. A user with fewer permissions is safer.

3. Connect Odoo

Under Settings → Credentials, or straight from the node or the trigger with Connect Odoo, name the credential and fill in the card.

FieldWhat to write
AddressWhere you open Odoo, e.g. https://mycompany.odoo.com. Only the address, without what comes after it.
DatabaseThe name of the database. In Odoo Online it is usually the first part of the address, and the card offers it.
API keyThe key Odoo showed when you created it. It is stored encrypted, and it comes back to the panel only in Edit keys and settings, after you verify it's you, and only for a person who can see it.
User (optional)Odoo 16 to 18: the email you sign in with. Odoo 19 and later don't need it.
How do we reach it (optional tunnel)Leave it direct for an Odoo that is on the internet. For one that isn't, pick a tunnel: your agent connects from inside your own network.
Server certificateOnly for a certificate of your own. Odoo Online and Odoo.sh need nothing here.
Models of “Any model” (optional)Technical names, one by one, e.g. x_fleet. Up to 20. “Any model” and the trigger only use these.
Allow AI to write in this OdooOff at the start: AI tools only read. It only matters when an AI is involved.

Press Save Odoo connection. HostWebhook signs in to your Odoo to check the address, the database and the key. It can take up to a minute, and nothing is saved if Odoo does not accept them.

  • If that user has more than one key, Odoo does not say which one you pasted. The card asks when it expires: pick one of the dates, It never expires (offered when one of those keys has no date), or I don't know (then nothing warns you before it expires).
  • If the key is of an administrator, HostWebhook says so when you connect, and the page of the credential keeps saying it: “This key is of an administrator: it can do anything in this Odoo. A user with fewer permissions is safer.”
  • One credential is one database and one user. Another database = another credential. Connecting the same database again creates a second credential: to change the first one, use Edit keys and settings on it.

When the key expires

  • Before. HostWebhook reads the date from Odoo when you connect. From 14 days before, the credential says Key expires in 14 days, 13, 12… and then Key expired (a sensitive credential, Key expires in 14 days or less). Each active Odoo trigger also leaves a line in the logs 14, 7, 3 and 1 days before, and when it expires. A warning pauses nothing.
  • After. Odoo refuses the key and the steps fail with: “Odoo did not accept the API key: it may have expired. Create a new one in Odoo (My Preferences → Security) and reconnect.” The credential says Needs reconnect.
  • A new key. Create a new key in Odoo, open the credential, press Edit keys and settings, verify it's you, paste it in the form and press Save the new connection. HostWebhook always checks the key with Odoo: if you can't see the one it has, type it, also when you only want to change something else. The address and the database stay the same; the user, the tunnel, the models and the box of the AI can change there, and it tells you what changed. It is the same credential, so nodes and triggers keep working. If you can see them, the form comes with the key, the certificate and the fingerprint it has; if not, paste the certificate or the fingerprint again too.
  • A sensitive credential doesn't show what it had, so its editor asks for everything again: the address and the database (they have to be the same ones), how the certificate is checked, the models, and whether AI may write.
  • Deleting the credential doesn't delete the key in Odoo. Delete it there too.

An Odoo on your own server

Nothing special if it is on the internet with a public certificate. If it is inside a private network, pick a tunnel: the reverse tunnel needs no open ports. A plain http:// address only works through a tunnel, because it would send the key unencrypted. Redirects are never followed: write the final address.

Server certificateWhen
The usual public certificatesNothing to paste. Works for Odoo Online, Odoo.sh and any server with a public certificate.
Paste its CA certificateThe certificate that signed the one of your server, as text.
Use its SHA-256 fingerprint64 hexadecimal digits, with or without the : between the pairs.

There is no option to skip the check of the certificate.

4. Add the node

Pick the connection in the node, then the Mode: Single operation, one fixed operation per event, or AI toolkit. Projects, stages, users, tags, products and countries are picked from your Odoo, or written as ids. The id of a record usually comes from the trigger or an earlier step, e.g. {{payload.id}}. The test of the node runs the operation in your real Odoo.

Operations

The node does one of these 30 each time it runs, always in the database of its connection. These are the same for all of them:

  • An empty field is not touched. Nothing is cleared by leaving a field empty.
  • {{ }} fills values, never names. The model, the names of the fields, the operators and the order are the ones you write in the node: an event cannot choose them.
  • Text goes in as text. HTML that comes in a value is written as you see it, not interpreted.
  • Tags are added to the ones the record has. They have to exist already in Odoo.
  • Nothing is deleted. No operation deletes a record. Marking an opportunity as lost archives it, as Odoo itself does.

Contacts

OperationWhat it does
Create contactAdds a contact: a person or a company.
Update contactChanges the fields of a contact. Empty fields stay as they were.
Create or update contactFinds the contact by its email, or by another field, and updates it. Without one it creates it; with several it stops.
Get contactReads one contact by its id.
Search contactsFinds contacts by a word or by conditions.

Create or update contact finds the contact by its email or by a field of yours that does not repeat. With several it stops and changes nothing. It is two calls, so two runs at the same time can create it twice, and archived contacts are not found. It is (a person or a company) is for Odoo 16 to 19: from 20 on, Odoo decides it.

Opportunities

OperationWhat it does
Create opportunityAdds an opportunity to the pipeline.
Update opportunityMoves an opportunity to another stage or changes its fields. Empty fields stay as they were.
Get opportunityReads one opportunity by its id.
Search opportunitiesFinds opportunities by a word, stage, salesperson or conditions.
Mark opportunity as won or lostCloses an opportunity.

Search opportunities brings the open ones unless you pick another Status. When you give an opportunity a Contact ID, the email and the phone of that step are changed in the contact too: that is what Odoo does.

Sales

OperationWhat it does
Create quotationAdds a draft quotation with its lines. It is not sent and not confirmed.
Update quotationChanges a quotation that is not confirmed yet, or adds lines to it. Empty fields stay as they were.
Get quotation or orderReads one quotation or order, with its lines.
Search quotations and ordersFinds quotations and orders by a word, customer, status or conditions.

A quotation is created as a draft: nothing is sent, confirmed or invoiced. Update quotation only changes one that is not confirmed yet. Each line is a product, and its quantity, price, discount and description if they are not the ones of Odoo. The lines are the ones you write in the node. With Lines: take a whole list or object from the event on (Add lines: take a whole list or object from the event in Update quotation), whoever calls the URL of the flow decides them, with their prices.

Products

OperationWhat it does
Get productReads one product by its id.
Search productsFinds products by a word or by conditions.

Invoices

OperationWhat it does
Get invoiceReads one invoice or bill, with its lines. It is never changed.
Search invoicesFinds invoices and bills by customer, status, date or conditions. They are never changed.

Invoices and bills are only read. Search invoices brings customer invoices unless you pick another Kind: credit notes, vendor bills or all of them.

Tasks

OperationWhat it does
Create taskAdds a task to a project.
Update taskMoves a task to another stage, closes it or changes its fields. Empty fields stay as they were.
Get taskReads one task by its id.
Search tasksFinds tasks by a word, project, stage, assignee or conditions.

A stage can write to the customer by itself: an email, an SMS or a rating request, if it is set that way in Odoo. State is for Odoo 17 and later; in 16, close a task with its stage. Odoo tells each new assignee by email.

Activities

OperationWhat it does
Schedule activityPuts a to-do with a date on a record, for a user of Odoo.
List activitiesGives the open activities of a record.

An activity goes on a contact, an opportunity, a quotation or order, or a task. With nobody in For, it is for the user of the connection. Odoo tells the user by email when it is for somebody else.

Notes and files

OperationWhat it does
Add internal noteWrites a note on a record that only the users of Odoo see. Nobody is written to.
Attach a filePuts a file on a record. Invoices do not take files here.

Both go on a contact, an opportunity, a quotation or order, or a task. The file is a HostWebhook file from an earlier step, e.g. {{payload._file}}, or its ID, up to 10 MB. The first file that a webhook received is {{payload._files[0]._file}}. An outside URL is refused.

Any model

Four operations work with a model that has no operations of its own: one you made with Studio (x_fleet) or one of another app (fleet.vehicle).

OperationWhat it does
Search records of any modelFinds records of a model of yours by conditions.
Get record of any modelReads one record of a model of yours by its id.
Create record of any modelAdds a record to a model of yours.
Update record of any modelChanges the fields of a record of a model of yours.
  • Only the models on the connection. You write their technical names in Models of “Any model” when you connect or reconnect, up to 20. A model that is not there is refused.
  • Some are never used, whoever lists them: the engine of Odoo, its users, groups and companies, whatever writes to people (messages, SMS, WhatsApp, mailings, documents to sign), whatever moves money (payments, bank accounts, currencies, loyalty, point of sale), employees, and the website. “HostWebhook does not use mail.message: it can write to people, move money or change who has access.”
  • Some are only read: accounting, inventory and calendar (account., stock. and calendar.).
  • You say which fields to bring, or their values, by technical name. A model made with Studio is x_…, and for a field, Odoo says: “The technical name of a new field added using Studio is by default prefixed by x_studio_.”
  • Odoo can write to people or run its own rules when a record is created or changes. HostWebhook cannot see it.

Conditions, order and fields

A search finds the records that meet all its conditions, up to 20. Each one is a field, an operator and a value, and the panel offers the operators that fit that field:

is, is not, is less than, is at most, is more than, is at least, is one of, is none of, contains.

  • Only the value takes {{ }}. is one of and is none of take several values, up to 500.
  • A date without a time, on a field that has one, is midnight UTC here. To find a whole day, use is at least that day and is less than the next one.
  • Order is up to 3 fields, each one ascending or descending. Empty, by id.
  • More fields are fields of yours to bring too, e.g. x_studio_level: 60 in total with the ones of the operation.
  • Updated after, in the searches that have it, brings only the records changed after a date and time, e.g. 2026-12-01T10:00:00Z. In Any model, use a condition on write_date.
  • Limit is 50 unless you write another number, up to 1,000.
  • Archived records are not found. An opportunity that is lost is archived in Odoo, so pick Lost or Any in its Status.

Values

More fields in the operations that write, and Values in Any model, fill fields by their technical name. What to write depends on the field:

FieldValue
TextAny text: up to 10,000 characters in a one-line field and 100,000 in a long one. HTML is not interpreted: it goes in as text.
NumberA number, e.g. 1500.50.
Yes or notrue or false.
Datee.g. 2026-12-01. With a time and a time zone, it is the day it is for the Odoo user of the connection, or the day you write if the time is exactly 00:00:00.
Date and timee.g. 2026-12-01T10:00:00Z. A time without a time zone is UTC, which is how Odoo stores it. A date without a time is noon of that day in the time zone of the Odoo user of the connection. If that user has no time zone in Odoo, it is UTC.
An optionIts technical value. A value that is not one of its options is refused, with the list if it is short.
A link to another recordThe id of that record, e.g. 7.

Lists of records and files are not written there: a quotation has its Lines, and a file has Attach a file.

What is not read and what is not set

  • A field whose name looks like a secret is not read, not used in a condition and not used to sort: a password, a token, a key, or a link that signs. It goes by the name, so it can happen to a field of yours that is none of that, like x_studio_key_level or x_studio_signup_date: “HostWebhook does not read x_studio_key_level: its name looks like a secret (a password, a key or a link that signs). If it is not one, rename the field in Odoo.”
  • A field that decides who has access, who is billed or who is written to is not set, e.g. company_id, state, pricelist_id, payment_term_id or active: “HostWebhook does not set state: it decides who has access, who is billed or who is written to.” So no step confirms an order, posts an invoice or gives anybody access.
  • With a notice: the company of a contact, because the company can receive its documents through that contact, and the tax fields of a country (l10n_…).

What comes out

jsonSearch contacts
{
  "contacts": [
    {
      "id": 7,
      "name": "Ana Lopez",
      "email": "ana@example.com",
      "phone": null,
      "country_id": { "id": 156, "name": "Mexico" }
    }
  ],
  "count": 1
}
  • A search gives its list, count, and more: true when there are more than the limit. It is iterable: the node below runs once per record, and a Loop walks them one by one.
  • A get gives the record, e.g. {{payload.contact.email}}. A quotation, an order and an invoice also give their lines: 200 at most, and moreLines: true when there are more.
  • A create gives the id and created: true, e.g. {{payload.contact.id}}. An update gives updated: true, and Create or update contact says which of the two it did.
  • An empty value is null, a link to another record is its id and its name, and dates come as Odoo stores them, in UTC.
  • When the node runs once per record of an earlier step, it gives results, one per record. One that fails has its error and its code in its place, and the others still come out.

How fast it goes

  • Odoo Online and Odoo.sh: one call per second, one at a time. It is what their acceptable use policy accepts: “1 call/second, with no parallel calls”. The node, the lists of the panel and the triggers of that database share it.
  • Your own server: up to 3 calls at a time. An Odoo.sh with a domain of its own counts as one.
  • A long list takes its time. A step has 13 minutes: at one call per second, about 738 records of one call each. A list that writes and does not fit is refused whole, before the first write: “This Odoo takes one call per second: about 738 items fit in one step and it got 900. Nothing was sent. Send fewer, or put a Loop before it.”
  • If the time runs out, what is left says: “Not sent: this step ran out of time. Send it fewer items, or put a Loop before it.”

If something fails

  • A read is tried again once. A write, never: Odoo has no way to know that it is the same one.
  • If the answer is lost after a write left, the step says so: “The connection was lost, so the record may have been created. Check Odoo before running it again.” A Loop does not repeat a step that may have written.
  • “Odoo did not accept it. Odoo says: …”: what comes after is what Odoo wrote, e.g. a required field.
  • “The user of this connection does not have permission for that in Odoo.” Give it to that user in Odoo.
  • “Other flows are using this Odoo right now. Try again in a moment.” The calls wait in line and this one waited too long.
  • “File is required.” There was no file where the template looks. After a webhook, {{payload._file}} is empty: use {{payload._files[0]._file}}.

Trigger

An Odoo trigger starts a flow when a record is created or changes. HostWebhook asks Odoo on a timer and sends each new or changed record once. It only reads.

Event TriggerWhat fires itIn the payload
New recordA record is created, by hand, by a form, by an import or by another app.record.created
New or updated recordA record is created or any of its fields changes. Several changes between two checks come as one.record.created or record.updated
  • What to watch: Contacts, Opportunities, Quotations and orders, Tasks, Invoices and bills, or A model of yours, which has to be listed on the connection. Opportunities are only opportunities, and Invoices and bills are only invoices, bills and their credit notes, as in the node. For leads or other journal entries, use A model of yours with crm.lead or account.move. A model whose records don't say when they are created or changed can't be watched.
  • Conditions: only the records that meet all of them. The same operators as in the node, with fixed values: a trigger takes no {{ }}. While a condition, a field or the model is half-written, the Odoo settings are not saved (the name and the connection still are), and the trigger can't be turned on or tested, nor its changes applied.
  • More fields: fields of yours to bring too. 60 in total, counting the ones the record already brings.
  • Ignore changes made by this connection is on at the start, so that a flow that writes in Odoo does not start itself. If the key is of a person, their own changes by hand are skipped too. With a model that doesn't say who makes the changes, untick it.
  • Check every: 5 minutes (15 on Free) unless you write another number of seconds, from 60 to 86,400. Your plan sets the minimum. Each check makes your Odoo look through all those records: if they are very many, use a longer interval.
  • Apply changes: what you change in a trigger that is on is not used until you press it.
  • Test push brings the latest records that match what is saved, as the flow would get them, also before you turn the trigger on. It leaves out what Ignore skips. It doesn't start the flow. Hermes and the Claude connector can't use it.
jsonWhat arrives
{
  "event": "record.created",
  "model": "res.partner",
  "id": 7,
  "at": "2026-12-01T16:20:05Z",
  "contact": {
    "id": 7,
    "name": "Ana Lopez",
    "email": "ana@example.com",
    "country_id": { "id": 156, "name": "Mexico" },
    "active": true,
    "create_date": "2026-12-01 16:20:05",
    "write_date": "2026-12-01 16:20:05"
  }
}

The record is under contact, opportunity, order, task, invoice or, for a model of yours, record, which brings its display_name, its dates and the fields you add. It carries no lines and no files: use Get quotation or order or Get invoice after it. at is when it was created, or last changed with New or updated record, by the clock of your Odoo and in UTC.

What it sees and what it doesn't

  • It starts from when you turn it on: nothing older comes out. If you turn it off and on again with the same connection, event and record, what happened in between does come out. Start again from now skips it: it asks first, because what it skips is never sent. Changing the conditions keeps its place.
  • An archived record is seen, with active: false: archiving it, or losing an opportunity, is a change.
  • A deleted record is not seen, and neither are the steps between two checks: several changes come as one. A second change in the same second as the first one can be missed.
  • Odoo recalculates fields by itself, and that counts as a change: New or updated record can come out without anybody touching the record.
  • A loop that Ignore does not stop: an automation rule of Odoo that changes the record behind your flow does it as another user, and so does another connection.
  • A change that gets covered: if your flow changes a record right after somebody else did, and before the check, the change of that person is skipped too.
  • Up to 100 runs in one check, or the ones that start in 20 seconds. The rest wait for the next ones, in order.
  • A very big import: if more than 2,000 records change in 10 minutes, some of the ones Odoo saved late may be missed, and the card says it for a day: “So many records changed at once that some of the ones Odoo saved late may be missing.”
  • A record that does not fit in an event is skipped, and the logs say how many.
  • What Odoo takes more than 10 minutes to save may not be seen.
  • If the clock of your Odoo goes back more than 10 minutes, what happens in that time is not seen. If it runs more than 5 minutes ahead, its records come out later, when that time comes.

When it waits and when it stops

  • The key expired or was deleted: the trigger waits, tries once per hour, and goes on from where it was once it has a new key (Edit keys and settings). Nothing is lost. Its card says: “Needs reconnect: Odoo hasn't accepted the key of this connection for 2 hours. Nothing is lost: it goes on from where it was.” After 7 days it turns off.
  • Odoo does not answer: it keeps trying, less and less often, up to every 15 minutes or your interval if it is longer, and goes on from where it was. Its card says: “Odoo hasn't answered for 20 minutes. It keeps trying, and nothing is lost.” After 7 days it turns off.
  • After 7 days without checking, when you turn it on again it goes on from where it was, and it says from when: “It goes on from 2026-11-12: what happened in Odoo since then comes out.” Start again from now skips it.
  • It turns off at once, with the reason on its card, when the model is no longer on the list of the connection, a field of the conditions or of the fields to bring is gone, its settings no longer fit that Odoo, or the connection can't be used any more.
  • It turns off at the fifth failed check in a row when that user can't read those records, the app or the model is gone, the certificate, the address or the version of that Odoo no longer works, Odoo doesn't accept what the trigger asks for, or HostWebhook couldn't check it. And when a check doesn't finish three times in a row.
  • Once it is fixed, activate it again: it goes on from where it was.
  • The card also says how many records wait (“3 records wait for the next checks.”), what the last check said (“Last check: …”) and when it tries again.

AI toolkit

Pick AI toolkit in the node's Mode, then add the node in an AI Node's Tools, or expose it as an MCP server. Each call is chosen by the model, so the node has no fixed operation. 19 tools: 8 that read are open, and 11 start blocked (orders, invoices and everything that writes).

ToolWhat it doesAt the start
search_odoo_contactsFinds contacts by a word or an exact email: their ids, names, emails and phones.Open
get_odoo_contactOne contact by its id: name, company, email, phone, address and tags.Open
search_odoo_opportunitiesFinds opportunities of the pipeline by a word, a stage or a status.Open
get_odoo_opportunityOne opportunity by its id: title, stage, contact, expected revenue and dates.Open
search_odoo_productsFinds products by a word: their ids, names, references and prices.Open
get_odoo_productOne product by its id.Open
search_odoo_tasksFinds tasks by a word or a project.Open
get_odoo_taskOne task by its id: title, project, stage, assignees, deadline and description.Open
search_odoo_ordersFinds quotations and sales orders by a word, a customer or a status: their customers, dates and totals.Blocked
get_odoo_orderOne quotation or sales order by its id, with its lines.Blocked
search_odoo_invoicesFinds invoices and bills by a word, a customer or a status: their customers, dates and amounts.Blocked
get_odoo_invoiceOne invoice or bill by its id, with its lines.Blocked
create_odoo_contactAdds a contact with a name, an email, a phone and an address. It sets nothing else.Blocked
update_odoo_contactChanges the job position of a contact or adds tags that already exist. It never changes the name, the email, the phone or the address.Blocked
create_odoo_opportunityAdds an opportunity to the pipeline. Give contact_id for a contact that exists, or the name, the email and the phone of somebody new: never both.Blocked
update_odoo_opportunityChanges an OPEN opportunity: its stage (never the won one), expected revenue, closing date, priority, or adds tags. It never changes its title, contact, email or phone.Blocked
create_odoo_taskAdds a task to one of the projects the owner of this flow chose. It has no customer and no stage of its own.Blocked
add_odoo_internal_noteWrites a note on a record that only the users of Odoo see. Nobody is written to.Blocked
schedule_odoo_activityPuts a to-do with a date on a record, for the user the owner of this flow chose.Blocked

What protects what AI writes

  • Two switches, both off at the start: each tool that writes starts blocked in the node, and all of them also need Allow AI to write in this Odoo on the connection. Without the box the panel says: “What writes stays blocked: this connection doesn't allow AI to write. Reconnect it and tick “Allow AI to write” to change that.”
  • Limits: AI makes at most 10 changes per flow run and 200 a day per connection. Each MCP call counts as one run. The day is in UTC. What counts is each change that is sent to Odoo, also one that Odoo refuses. If the changes cannot be counted, none is made. Reading has no such limit.
  • You choose who, in the Settings of the toolkit: Projects where AI can create tasks, Sales team, Salesperson, Who gets the tasks and Who gets the activities. The model cannot set them.
  • You unblock them one by one, under Block these tool calls. The seven that write carry the label Destructive, as in every toolkit, but none of them deletes anything.
  • Contacts: it creates one with a name, an email, a phone and an address. In one that exists it only changes the job position and adds tags, never the name, the email, the phone or the address.
  • Opportunities: it creates one for a contact that exists, or with the name, the email and the phone of somebody new. It only changes one that is open, never its title, contact, email or phone, and never moves it to the won stage. Winning or losing is for a person.
  • Tasks: only in the projects you pick, up to 50, that customers don't see and that have no stage that writes to the customer by itself. With none, create_odoo_task isn't offered.
  • Notes and activities: only on a contact, an opportunity or a task. A note is internal: nobody is written to.
  • Its text is text: up to 4,000 characters, HTML is not interpreted, and a {{ }} that the model writes is only those characters.
  • Reads and writes together: when the connection lets AI write and the AI has tools of both kinds, the panel warns: “This AI can read your Odoo and write in it: what it writes could carry what it read.”
  • Another connection in the node blocks its tools again and clears the projects and the people.
  • Never a tool: writing quotations, changing an order or an invoice, marking an opportunity as won or lost, changing a task, adding files, Any model, and deleting anything.

What comes back was written by people inside and outside your company, so the model is told to treat it as data, never as instructions. A search brings 20 records unless the model asks for another number, 50 at most, and an answer of more than 20,000 characters is cut by whole records. Voice agents can't use this toolkit.

The projects AI can use

In Odoo, a new project is open to the customers you invite, so at the start it can't be picked: the panel names it after “Customers can see it”. To use it, open the project in Odoo and, in Settings, change its Visibility.

VersionAI can create tasksCustomers can see it
16All internal users. Invited internal usersInvited portal users and all internal users
17 and 18All internal users. Invited internal users (private)Invited portal users and all internal users (public)
19All internal users. Invited internal usersAll internal users and invited portal users. Invited internal and portal users
20All internal users. Team members onlyAll internal users and invited portal users. Team members and invited portal users
  • All internal users is the simplest: it has the same name in every version. With the other one, the user of the key has to be in that project: one of its team members in Odoo 20, one of its followers before.
  • The customers invited to that project stop seeing it and its tasks, and its shared links stop working. Changing it back invites again only the customer of the project and the one of each task. If you share it, use another project for AI.
  • If it is opened to customers later, the task is not created: “Customers can see that project, so an AI does not create tasks in it.”

Runs an AI starts

When Hermes or the Claude connector starts a run, or an AI Node calls the flow as a tool, every Odoo step of that run counts as AI, your own node too. What it writes needs Allow AI to write in this Odoo on the connection, the limits count it, and the rules above apply to it: for example, an Update contact that sets the email is refused. So is an operation that has no tool: Create or update contact, Mark opportunity as won or lost, Create quotation, Update quotation, Update task, List activities, Attach a file and the four of Any model. “An AI started this run, and that Odoo operation is not one that an AI does. Run it in a flow that a person or an event starts.”

If a voice agent calls a flow that has an Odoo step, that step runs as yours, and the agent hears what the last step returns.

MCP and the Claude connector

With Expose as MCP tool on the node in AI mode, its tools that are not blocked appear to the MCP clients you connect to that server, with the same blocks, the same fields you set and the same rules. Each MCP call counts as one run, so the limit of 10 changes per run never stops it: the one that does is the 200 a day of the connection.

The HostWebhook connector for Claude is a different thing: it never gives Claude what an Odoo step brought, it hides it. It can't change the step either: change it in HostWebhook. Hermes doesn't see what it brought either.

An event right away, with a webhook

The trigger checks on a timer. If you need the event the moment it happens, Odoo 17 and later can call the URL of a Webhook node from one of its automation rules:

  1. In HostWebhook, add a Webhook node, copy its URL and leave Response Mode as it is (not Sync).
  2. In Odoo, create an automation rule on the model, e.g. when a contact is created, with the action Send Webhook Notification. Paste the URL and choose the fields to send.
  3. The flow gets them with _model, _id and _action, e.g. {{payload._id}}.
  • Odoo waits one second and does not try again. An event that does not arrive is lost. The trigger, instead, sees it on its next check.
  • It is not signed. Anyone who has the URL can send it, so keep the URL to yourself and read the record again with the Odoo node (e.g. Get contact with that id) instead of trusting what the call says.
  • In Odoo 17 and 18 it goes out before the change is saved. Put a Delay before you read the record.

The AI MCP server of Odoo

Odoo 20 has an AI MCP server of its own, which connects an AI client to your database without HostWebhook. It is a different thing: what this page says about blocks, limits and projects does not apply to it, and a key made for it doesn't work here.

Limits

WhatHow much
Searches50 records each time unless you write another limit, up to 1,000. 20 conditions, 500 values in “is one of”, 3 fields in the order, 60 fields
A quotation100 lines
A file10 MB
Models on a connection20
CallsOne per second, one at a time, on Odoo Online and Odoo.sh. Up to 3 at a time on your own server
One step13 minutes. A list that writes and does not fit is refused whole
What AI writes10 changes per flow run and 200 a day per connection (UTC)
What AI reads20 records each time unless it asks for more, 50 at most. 20,000 characters of an answer
What AI may write in one text4,000 characters
The triggerEvery 5 minutes (15 on Free) unless you choose another interval. Up to 100 runs in one check, 20 conditions and 60 fields

Odoo is a trademark of Odoo S.A. HostWebhook is not affiliated with, sponsored or endorsed by Odoo S.A.