About Odoo
Open-source ERP and CRM platform for business management, including sales, accounting, inventory, and project management
Say what should happen in Odoo, in plain words. Whenever builds it and runs it on a schedule, webhook or app event.
Connection requirements, provider permissions and optional AI usage apply. Read the runtime limits.
No credit card needed.
Open-source ERP and CRM platform for business management, including sales, accounting, inventory, and project management
Through its API, with the provider’s credentials and permissions.
Connect Claude, Cursor or Codex to the Whenever MCP server. Your coding agent builds and deploys the Odoo workflow. It then runs on Whenever, with the chat closed.
Set up the Whenever MCP serverOdoo puts sales, invoicing, inventory, CRM and projects in one database, so automations usually connect it to the tools around it: a web form that should create a CRM lead, a spreadsheet of supplier prices that should update products, or a daily list of overdue invoices for the finance channel. Before any of that, check the plan. Odoo's documentation states that external API access is only available on Custom pricing plans; One App Free and Standard plans do not include it. Self-hosted and Odoo.sh databases have their own setup.
Everything in Odoo is a model with fields, and the external API works on those models generically. Contacts are res.partner, CRM leads and opportunities are crm.lead, quotations and sales orders are sale.order, invoices and bills are account.move, products are product.template and product.product, and tasks are project.task. You search with a domain (a list of field conditions), read the fields you need, and create or write records. Odoo 19 documents the External JSON-2 API, authenticated with API keys, as the replacement for the XML-RPC and JSON-RPC endpoints, which are scheduled for removal in Odoo 22 (fall 2028) and Odoo Online 21.1 (winter 2027). New integrations should use JSON-2 where the database supports it.
The API acts as the user who owns the key, with that user's access rights, so a key for an administrator can change almost anything. Create a dedicated integration user with only the apps and groups the workflow needs, and give its key a clear name so it can be revoked or rotated on its own; Odoo's JSON-2 documentation covers key generation, revocation and rotation. When a search returns nothing, check that user's access rights before assuming the records are missing.
Most workflows read on a schedule, searching on write_date for records changed since the last run, which keeps each run small but starts a run on every interval even when nothing changed. Whenever needs your Odoo URL to be reachable from the internet; a server only on an office network cannot be reached.
Starter briefs to set up with your accounts, not finished workflows.
Creates crm.lead records and avoids duplicates by email.
Reads account.move with a domain filter each morning.
Writes product prices by internal reference, logging what changed.
Odoo's documentation says external API access is only available on Custom plans; One App Free and Standard plans exclude it. Self-hosted and Odoo.sh databases are configured separately.
Use JSON-2. Odoo has scheduled the XML-RPC and JSON-RPC endpoints for removal in Odoo 22 (fall 2028) and Odoo Online 21.1 (winter 2027).
Store the time of the last run and search with a domain on write_date for records changed since then, reading only the fields you need.
Those of the user who owns it. Requests run with that user's access rights, so use a dedicated integration user limited to the apps the workflow touches.
Invoices and bills are account.move; quotations and sales orders are sale.order; contacts are res.partner; CRM leads are crm.lead.
One workflow free. No card. Weekly AI-building limits.