Wow!Full-featured sandbox for developers — free forever!Register Now
Odoo Integration Guide

Odoo WhatsApp Integration: Inbound Webhook to CRM Lead Pipeline (Python Guide)

Updated on June 24, 2026

This guide from Whapi.Cloud walks Odoo 17/18 Community Edition developers through inbound webhook to crm.lead creation and outbound REST stage alerts in Python. Store each message.id in an indexed Char field before create, return HTTP 200 within one second on your public controller, and call POST /messages/text with Bearer auth for pipeline notifications. It targets copy-paste http.Controller modules on Community hosts without Enterprise WhatsApp or closed Apps Store connectors.

Odoo CRM lead pipeline diagram showing Whapi WhatsApp webhook inbound to crm.lead and outbound stage notifications
About the Author
Jason Mitchell
Jason Mitchell
Product Owner at Whapi.Cloud
Building WhatsApp integrations since 2019. Always happy to connect — whether you want to discuss an API use case, share feedback, or just talk shop. Find me on LinkedIn.
Odoo + WhatsApp FAQ

Common Questions About Odoo WhatsApp CRM Integration

Yes. Odoo's native WhatsApp module is Enterprise-only. This guide targets Community Edition with a custom Python addon and Whapi REST webhooks. You own the controller code and can deploy on any Community host you already run.
Store Whapi <code>message.id</code> in an indexed Char field on <code>crm.lead</code>. Search that field before every create. If a match exists, append the new text to the open opportunity via <code>message_post</code> instead of creating another lead.
Override <code>write()</code> on <code>crm.lead</code>, detect <code>stage_id</code> changes, and call <code>POST https://gate.whapi.cloud/messages/text</code> with <code>to</code> (Chat ID or phone) and <code>body</code>. Authenticate with <code>Authorization: Bearer &lt;token&gt;</code>. No pre-approved template is required for these session-style texts on Whapi.
No. Whapi connects a regular WhatsApp number by QR scan with no Meta Business Manager verification queue. Meta verification (typically 2--7 business days on the official API path) applies only if you choose a Meta Cloud API or Enterprise connector instead.
Yes. Whapi servers POST inbound events to your HTTPS endpoint, the same requirement as Meta webhooks. Use a reverse proxy with TLS on your Odoo hostname, or a staging tunnel while developing. Run Whapi's webhook test call before going live.
Outbound uses your API token; inbound requires Whapi to reach your public webhook URL and your controller to accept <code>messages.post</code> payloads. One-way sync almost always means webhook URL, TLS, event subscription, or auth misconfiguration, not a broken send token.

See What Our Clients Built
with Whapi.Cloud

"Cart reminders with a 5% follow-up coupon lifted our recovery rate from 4% to 11%. Customers reply directly in WhatsApp — our team closes the sale right there."

Abandoned Cart Recovery

Hans M., Germany
"Managing 40+ segment groups became trivial — auto welcome messages, pinned updates, inactive member cleanup. Lead gen from WhatsApp groups grew 3x in two months."

Automated Group Management at Scale

Carlos S., Brazil
"Guests receive door codes, WiFi credentials, and a local guide automatically on arrival. Checkout is confirmed via a photo on WhatsApp. Front desk load dropped 40% in the first month."

Contactless Hotel Operations

Ana M., Romania
"Our deals channel has 12,000 subscribers. Whapi.Cloud scrapes competitors, filters duplicates, and auto-posts the top 5 daily. Channel growth tripled after switching to automated posting."

Automated Deal Channel Publishing

Katrin S., Germany
"We verified 93,000 active WhatsApp numbers from 180,000 contacts in 48 hours. Campaign open rates improved significantly by stopping spend on inactive numbers."

Large-Scale Audience Filtering

Sergio N., Spain
"Patients book appointments and check lab results on WhatsApp. The bot handles 200+ daily queries without staff. Appointment no-shows dropped 30% after automated 24h reminders."

Healthcare Bot — Scheduling & Results

Dr. Fernanda O., Brazil
"Post-purchase WhatsApp messages with a tailored discount at day 14. Birthday coupons see 45% redemption — far above our email rate. Repeat purchases via WhatsApp: 18% of total revenue."

WhatsApp Retention Campaigns

Lukas W., Germany
"Customers get a WhatsApp tracking link the moment their parcel ships. Support tickets dropped 35% in 3 months — mostly 'where is my order?' queries simply disappeared."

Automated Shipping Notifications

Matei P., Romania
Inhouse Developed & Managed

What is Whapi.Cloud?

Whapi.Cloud is an intuitive API that connects your business with WhatsApp -- directly and without complexity. Build support bots, schedule appointments, send notifications, manage groups and channels, automate order confirmations, and track everything with webhooks. Focus on growing your business while the API handles the messaging layer.

Our service provides full control and management of WhatsApp groups, communities and channels.

Add dynamics and new features: media, buttons, reactions, stories, orders and products. All of these are available to you for customer interaction.

Our care team will respond quickly and help you with any questions you may have!
Account screenshot
Account screenshot