Skip to content
Voxbi Cockpit APIs
API Guides

Integrations

An integration is the connection between cockpit and your own CRM. One active connection per CRM type, owned by you: cockpit reads and writes records in your instance and never changes how it is set up.

Overview

Integrations in the sidebar shows one card for each integration you can connect. Today that is Odoo CRM, with its logo, a short description and its state (Not connected, Connected, Last sync failed or Inactive). Select Connect to set it up, or Edit once it is connected. Webhooks are not on this page: they have their own tab in Settings. You need the manage partner integrations permission, so an Admin can connect a CRM and a Manager cannot see the page at all. The credentials belong to your instance, which is why there is no read-only view of them.

Connecting a CRM changes three places in the portal:

  • Customers syncs with it, links each customer to its record over there, and reads invoices and subscriptions live.
  • The call-recording consent on each PBX is issued, signed and stored through your CRM's own signature module.
  • Plans and leads can be kept in step with it.

Until one is connected, those pages say so and point here. Call recording and the AI features are the exception: a consent is issued and signed through your CRM, so without one there is nothing to sign and nothing to wait for - those settings behave as they always did, on each PBX's Call recordings and AI tab. Connect a CRM and the consent step appears.

The Odoo CRM page

Connect and Edit open the Odoo CRM page. From top to bottom it shows, once Odoo is connected:

  1. Connection card. Odoo CRM with a Connected badge (or Last sync failed), who connected it, the time of the last sync and the next scheduled one, and a link to the sync history. Sync now starts a sync straight away, and Open Odoo opens your instance.
  2. The form, in two tabs down the left, under one Save button: General (see Setting up the connection) and Sync schedule (see Sync schedule). Save and edit brings you back to the tab you were on. Save and back and Back to all return you to the Integrations cards. A new connection has the General tab only, because there is nothing to schedule before it exists.

The sync history is reached from the link on the connection card.

Setting up the connection

The form asks, in this order, for a Name, the Server URL, the Database, the Login, the API key, and whether the connection is Active. Test connection sits right under the credentials, before Save. It tests the connection you have already saved, so save your changes first. It is not offered on a new connection for that reason.

Sync schedule

The Sync schedule tab decides when cockpit syncs on its own.

  • How often to sync automatically - Every 15 minutes, Every hour, Every 6 hours, Once a day at 02:00, or Manually only.
  • What to sync - tick any of Customers, Plans, Subscriptions, Invoices and Leads.

The tab also shows when the last sync ran and when the next is due. Select Save to apply it. Sync now and a manual sync from the customers list always work, whatever the schedule says, and a manual sync pushes the next scheduled one back rather than doubling up on it.

Subscriptions and invoices are read live from Odoo and keep no local copy, so ticking them has nothing to queue. Leads are pushed to Odoo as described in Customer onboarding.

Sync history

Below the connection card, the table lists every sync run with When, Direction (Odoo → Voxbi or Voxbi → Odoo), Started by, Result and Status. Runs started by the schedule say Scheduled.

  • View changes opens what that run touched, per record, with the outcome of each and the before and after of every field it changed.
  • Retry queues a failed run again.

Webhooks

Webhooks send an event to your own system as soon as something happens here, for example when a customer is created or a signup finishes. They are managed in Settings, on the Webhooks tab, right after API keys. See Webhooks for setting one up, the signature and the events.

What it does

Test connection authenticates against the saved instance and reports back, so a typo in the URL or a revoked key is caught here rather than by a failing sync later.

The API key is stored encrypted and is never sent back to the browser as ciphertext. Leaving the field blank on an edit keeps the key you already stored, so you can correct a URL or a login without re-entering it.

Only one integration of a type can be active at a time. Add a second and cockpit will refuse it while the first is still active, because "which instance is this partner's?" has to have one answer.

Odoo

Odoo 19 or newer, with these apps installed in your instance:

  • Contacts — customers are res.partner records with a customer rank.
  • Invoicing — the invoice figures on the customers list and the invoices page.
  • Sign — the call-recording consent. Without it the consent panel still lets you import a document you already hold.
  • Subscriptions — optional; the subscription column is simply empty without it.

Cockpit reads and writes records in your instance. It never creates or alters fields, models or automations, and it uploads the consent template once, recognising it again by name.

See also

  • Customers - what the connection is mostly for.
  • PBXs - the call-recording consent that opens the AI features.
  • Webhooks - the events a webhook integration sends, their payloads and how to verify them.

Form fields

Fields available in the create and edit forms.

General

Name

Your own name for this connection. Shown on the integrations list and in the empty states that point here.

CRM

Which CRM this connects to. Odoo today; the field exists because the provider layer behind it is not Odoo-specific.

Server URL

The full address of your instance, including https://. Rejected without a scheme, because every record link is built from it.

Database

The database name inside your instance. An Odoo server can host several.

Login

The user cockpit authenticates as. Whatever that user may read and write in your CRM is exactly what cockpit can do.

API key

Stored encrypted and never sent back as ciphertext. Use the eye to reveal it; clearing the field keeps the stored key.

Active

Only one integration of a CRM type can be active at a time, so that "which instance is this partner's?" has one answer.

Updated