Skip to Content

WhatsApp in Odoo: Website Button, Chatbot and Multichannel Support

A guide to connecting WhatsApp with Odoo: from the contact button to agents that answer after hours and qualify leads
February 12, 2025 by
WhatsApp in Odoo: Website Button, Chatbot and Multichannel Support
Wilfredo Fernando Pastor Avila
| No comments yet

WhatsApp is now the channel where many customers prefer to write to you, and Odoo can integrate it in several ways: from a simple button on your website to an agent that answers after hours and records leads in the CRM. This guide organizes those options so you can choose where to start.

Which option fits you

NeedOption in OdooWhere it is explained
Let visitors write to you from your websiteWhatsApp button or link to the public chatBelow, step by step
Answer only outside office hoursChatbot with an activity scheduleChatbot and schedules section
Handle several customers at once without mixing conversationsMake scenario with one thread per conversationParallel handling section
Qualify leads and record them in the CRMAI WhatsApp agentLead capture section
Unify internal and external messagingOdoo DiscussCentralized communication section

Chatbot with a schedule: answer only when your team is away

Limiting the chatbot schedule lets your team handle business hours while the assistant covers nights, weekends and holidays, with no redundant automatic replies while agents are available.

  1. Open the company settings, from Settings, Companies (the menu name varies by version).
  2. Find the office hours messages section, in the communication or live chat tab, and define the hours during which the chatbot must stay inactive.
  3. The AI agent will answer only if the customer writes outside that range. WhatsApp, the web chatbot and other linked channels follow that rule.
  4. For 24/7 coverage, leave every schedule field blank or at zero.

To capture leads after hours, the bot can send the user to the right form and answer frequent questions from shared documents, such as a Google Doc that your team maintains without relying on a developer. If you use several numbers, for example one for sales and one for support, each can have its own bot and knowledge base. Before publishing, test it with your customers' typical questions.

Handling several customers at once without losing control

If your agent answers WhatsApp from Make, each incoming message triggers a scenario run. If you do not separate each customer's context, two simultaneous conversations can get mixed. Three adjustments solve the problem.

  1. Parallel execution: in the settings of the scenario that receives the messages, the sequential processing option must be turned off. It is set at scenario level, not in the webhook module.
  2. Unique identifier per conversation: tie each message to a thread_id, for example the customer number combined with a timestamp, and use it as the key to store history and status.
  3. Inactivity close: a scheduled scenario checks open threads every few minutes, sends a reminder if the customer does not reply and closes the thread, clearing the context, after a defined time.

WhatsApp agent to capture and qualify leads

A WhatsApp agent can lead a qualification conversation and record each answer in the CRM in a structured way. For example, when asked about a loan secured by real estate, it can ask whether the property is registered in the public registry and understand non-literal answers, such as saying it is already registered.

  • Your team sees every agent interaction from the Odoo conversations app and can take over when needed.
  • Agents can process audio if you enable that option in the agent settings, which helps if your customers send voice notes.
  • With embedding models the agent compares meanings rather than literal matches, which helps find a product even if the customer spells it differently.
  • When the agent queries inventory and prices from your ERP, it can answer with current data.

Centralized communication with Odoo Discuss

Odoo Discuss is Odoo's native messaging. Because it is integrated with the ERP, it lets you start conversations from opportunities, project tasks or purchase orders and keep the record context. It offers topic channels with roles, video calls with picture-in-picture mode and availability statuses that reflect approved leave. With the WhatsApp integration, customer messages arrive in a channel where the sales team can reply and follow up without leaving Odoo.

How to implement it with Ganemo

The basic Odoo and WhatsApp integration can be done in a few hours of advisory work if you already have the Meta account and the WhatsApp app configured in Odoo. For more complex flows there are support plans. See the WhatsApp MultiChat plans see how we run an Odoo implementation in Peru or reach out through contact; you can also write to +51 946 377 197.

Step by step: add a WhatsApp button to your Odoo website


Odoo's CMS is a powerful tool that lets users create and manage websites easily. However, there are times when you need to insert custom HTML code into the website. For example, you may need to insert a social media widget, a Google Map or a Google Analytics tracking code.

In this article, we will show you how to embed HTML code in the Odoo ERP CMS, using the addition of a WhatsApp button as an example, since it is one of the most requested use cases.

The WhatsApp button is a simple way for your website visitors to contact you through the instant messaging app.

Important disclaimer: the latest versions of Odoo already include, out of the box, the option to link WhatsApp to Odoo's public chat. However, we are doing this example by adding a WhatsApp button because it illustrates very well how to take advantage of Odoo's advanced Website editing options, and it will also be useful if you use older versions of Odoo.

Step 1: Add new styles with the CSS Code editor

The specific tutorial to complete this first step is explained in the video at the end of this post. In the CSS editor we must add this code:

.whatsapp {
position:fixed;
width:60px;
height:60px;
bottom:40px;
right:40px;
background-color:#25d366;
color:#FFF;
border-radius:50px;
text-align:center;
font-size:30px;
z-index:100;
}

.whatsapp-icon {
margin-top:13px;
}
Odoo CSS Editor

Step 2: Add HTML tag to the <Head> of your Odoo Website

The following code must be added to the <Head> section of your website.

Odoo Website Head

<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Test WhatsApp</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

Step 3: Add HTML tag to the <Body> of your Odoo Website

Finally, add the following HTML code to the <body> of your Odoo website so the WhatsApp button appears in the bottom right corner and stays visible while scrolling the page.

<a href="https://wa.me/51946377197?text=I%20would%20like%20to%20know%20the%20price%20of%20implementing%20the%20ERP" class="whatsapp" target="_blank"> <i class="fa fa-whatsapp whatsapp-icon"></i></a>

Conclusions

It is very easy to customize your Odoo website and e-commerce using the code embed block (embed HTML). The following video shows how to follow the steps described in this post to create and add the WhatsApp button to your website.

 
 


WhatsApp in Odoo: Website Button, Chatbot and Multichannel Support
Wilfredo Fernando Pastor Avila February 12, 2025
Share this post
Archive
Sign in to leave a comment
How to Display Your Profit Margin Over Cost in Odoo
Learn how to calculate your profit margin over cost and display it in Odoo Studio to make better business decisions.