Odoo
Connect Odoo 19 or later with an API key so agents can work with contacts, leads, meetings, orders and invoices.
Odoo connects with your Odoo address and an API key. Your Odoo must be version 19 or later, online or self-hosted. The connection acts as the user who created the key, so use a user with access to CRM, Contacts and the other apps you need.
Step 1: Create an API key in Odoo
- 1
Open your security settings
In Odoo, click your avatar, choose My Preferences (or Preferences), and open the Account Security (or Security) tab. If you do not see it, turn on developer mode.
- 2
Create the key
Choose New API Key (or Add API Key), confirm your password, name it "Dhvanee", and choose a duration that does not expire soon.
- 3
Copy the key
Copy it straight away. Odoo shows it only once.
Step 2: Connect in Dhvanee
- 1
Find Odoo
Open Integration in the sidebar (the Connections page) and go to the Available tab. Type the CRM's name in Search....
- 2
Paste the details
Choose Connect, enter a Connection name, your Odoo address (for example https://yourcompany.odoo.com, without a path) and the API key. Fill in Database only for a self-hosted Odoo that serves several databases. Choose Connect.
Sync contacts
Connecting does not import anything yet. To bring your Odoo records into Contacts, click the connected Odoo card on the Connected tab and choose Set up contact sync, or open Contacts, then ..., then CRM connections, and choose Set up.
- 1
What to import
Choose everything, one list or view (where the CRM has them), or Only where… to import only records that match a filter. A live count shows how many will come in.
- 2
Fields
Choose which CRM field goes into which Dhvanee field, and what wins when a contact already has a value: Use the CRM's value or Keep the Dhvanee value. Every kind of record needs a phone or email mapped, so people can be matched.
- 3
Review
Check the preview and choose what happens after each call. Log activities automatically posts each call summary on the contact as a note. People (not companies) are imported with name, phone, email, company and job title. Choose Start import.
After the first import, changes in the CRM come in every few minutes, and everything is checked again once a day. Sync now runs a full check straight away and History shows past runs.
Use it in agents and automations
- Agents: open an agent's Functions, choose + Add, and pick a Odoo function, such as finding the caller or logging the call. The Functions tab of the Odoo connect window lists them all. See Voice agents.
- Automations: add a Odoo step, for example to create or update a record after every call. See Automations.
Look after the connection
| Button | What it does |
|---|---|
| Verify | Checks that the connection still works. |
| Reconnect | Use it when the card says Reconnect needed, for example after a key was changed or a permission was removed. |
| Add account | Connects another Odoo account. |
| Disconnect | Removes the connection. Contacts stop syncing and automations that use it fail until you connect again. People already imported stay in Contacts, and nothing is deleted in the CRM. |
Agent functions
Find, get, create and update contacts and leads; list lead stages and mark leads won or lost; schedule and list follow-up activities; add notes and log calls; book and list meetings; and look up sales orders, invoices and products.
Start automations from Odoo
Automations can start when an Odoo record changes (On app event, then Odoo). Choose Verify on the Odoo connection to see the address to use, then in Odoo add an automation rule (Settings, Technical, Automation Rules) with a Send Webhook Notification action to that address.
Troubleshooting
| Message | What to do |
|---|---|
| Enter the Odoo address over HTTPS without a path… | Use only the https address, for example https://yourcompany.odoo.com. |
| Odoo did not accept these details. Check them and try again. | Check the key, that your Odoo is version 19 or later, and the database name for self-hosted Odoo. |
| Odoo refused access. Reconnect it under Integrations. | The Odoo user lacks access to an app the function uses. Give access in Odoo, or reconnect with another user's key. |