← Notes

How to add WhatsApp chat and delivery updates to Odoo eCommerce

Add a bitChat widget to an Odoo website, connect WhatsApp, and plan parcel-specific updates from Odoo deliveries. Includes tests for split shipments.

“Do you sell this lamp in brass?” and “Has my lamp shipped?” can arrive in the same chat. The first question needs an approved product or policy source. The second needs the actual buyer’s delivery record. Start with product questions on your Odoo website, then add private order updates once your team can verify the data.

How do you put chat on an Odoo storefront?

In your bitChat workspace, open Chat Widget and copy the public embed. Give it to the person who maintains the Odoo website. Have them add it once to the intended storefront layout where custom scripts are supported. Odoo also documents a page-level Embed Code block. If using that block for a pilot, publish one test page and verify that your editor permits the script and the widget loads. A page block does not by itself install chat on every product page. Keep private API credentials on your server. bitChat widget instructions · Odoo website building blocks

Connect the business WhatsApp number in bitbybit separately if shoppers also need WhatsApp replies. Give the agent your published finish, exchange and delivery policies. Open a product page signed out, ask a question on web chat, and then send one from a test phone to the connected number. Check both replies in bitChat. For multiple websites, repeat on each intended domain and language. WhatsApp setup

Which event deserves a shipping message?

Ask fulfillment staff to open one sales order and its deliveries side by side. In Odoo, an order confirmation, a delivery operation and an invoice represent different steps. Decide what your team can truthfully tell the buyer at each step. Completing a warehouse transfer can mean the warehouse processed the parcel. Claim courier pickup only if your carrier data confirms it. Odoo eCommerce order handling

Store record What to do with it
Sales order confirmed Use it to identify the purchase and buyer. Hold the dispatch message.
Eligible outbound delivery completed Check the sales order, the specific parcel and tracking information. Use wording that matches this milestone.
Second parcel or backorder Identify the separate delivery. The first parcel tells the buyer only about the items actually dispatched.

How would a developer send the update?

For this Odoo 19 recipe, have the administrator confirm external API access, allowed models and the integration user’s company access. Odoo lists its external API on the Custom pricing plan. A scheduled server-side connector can read eligible deliveries and correlate each with the originating sale. Keep a record of the website, company, delivery ID and notification state. Odoo JSON-2 API

Use the correct bitbybit sender and the buyer’s authorized service-message number. Send an approved WhatsApp template with only the approved parameters. Record the returned message reference. If a call times out, reconcile the send before replaying it. A private inbound order lookup also needs an identity check before disclosing the order. bitbybit template messaging

Test it with two parcels. Confirm the order and check that no dispatch notification is sent. Process just the first delivery, verify the phone receives the intended update, and rerun the connector. The buyer should have one message for that parcel. Complete the second delivery and verify its separate wording. Run the same test with service-message permission missing and confirm the send is suppressed.

A project quote takes another route. Route WhatsApp inquiries to Odoo CRM · See both Odoo workflows