Connect Odoo

Connect Odoo to Askocto to create leads, contacts and tickets in your Odoo database from agent conversations, with field mapping and testing.

Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.

The Odoo integration writes the results of agent conversations into your Odoo database. Use it when sales and support run in Odoo and you want leads, contacts and escalations to appear there without copying them by hand.

What you can send to Odoo

Record When it is created
Lead The agent collects a lead in a conversation.
Contact A new customer shares their details.
Ticket The agent escalates a conversation to your team.

Choose which of these to turn on. You do not need all three.

Before you start

  • An Odoo user that can create the records you choose.
  • Your Odoo address, the database name and an API key for that user.
  • Workspace Owner or Admin role in Askocto.

Connect Odoo

  1. Open Workspace Settings > Integrations.
  2. Find Odoo and select Connect.
  3. Enter the Odoo URL, Database, Username and API key.
  4. Select Connect.

You should see Odoo marked Connected. The API key is stored encrypted and is not shown again.

Map the fields

  1. Open the integration and select Field mapping.
  2. Map Name, Email and Phone to the matching Odoo fields.
  3. For tickets, map Summary to the description and choose the default team.
  4. Select Save.

Only mapped fields are sent. To use your own attributes, create them in Contacts > Attributes. See Contacts overview.

Turn it on for an agent

  1. Open the agent and select Actions.
  2. For leads, open Collect leads and turn on Send to Odoo.
  3. For tickets, open Escalate to human and choose Odoo under Send tickets to.

Test it

  1. In Test > Playground, give a test name and email as a visitor who wants a quote.
  2. Check the trace for the captured lead.
  3. In Odoo, find the record and delete it.

Warning: Records are real, including from the Playground. Use a test email you can delete, or a copy of your database.

Disconnect

Open Workspace Settings > Integrations, choose Odoo and select Disconnect. Records already in Odoo stay.

Troubleshooting

  • The connection fails. Check the URL, the database name and that the API key belongs to the user you entered.
  • Records are missing fields. The agent must collect a value before it can send it. Add it to the collect step.
  • Permission errors. Give the Odoo user rights to create that record type.

Something unclear or missing? Tell us and we will fix the page.