<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dolibarr.org/index.php?action=history&amp;feed=atom&amp;title=Module_WhatsApp_IA</id>
	<title>Module WhatsApp IA - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dolibarr.org/index.php?action=history&amp;feed=atom&amp;title=Module_WhatsApp_IA"/>
	<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_WhatsApp_IA&amp;action=history"/>
	<updated>2026-11-14T19:47:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_WhatsApp_IA&amp;diff=69009&amp;oldid=prev</id>
		<title>Weglob: New page: Module WhatsApp IA (Weglob module documentation)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_WhatsApp_IA&amp;diff=69009&amp;oldid=prev"/>
		<updated>2026-11-12T16:15:50Z</updated>

		<summary type="html">&lt;p&gt;New page: Module WhatsApp IA (Weglob module documentation)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- BEGIN origin interlang links --&amp;gt;&lt;br /&gt;
&amp;lt;!-- You can edit this section but do NOT remove these comments&lt;br /&gt;
     Links below will be automatically replicated on translated pages by PolyglotBot --&amp;gt;&lt;br /&gt;
[[fr:Module_WhatsApp_IA_(FR)]]&lt;br /&gt;
&amp;lt;!-- END interlang links --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModuleInfo&lt;br /&gt;
|modulename=WhatsAppIA&lt;br /&gt;
|editor=Weglob&lt;br /&gt;
|web=https://weglob.com&lt;br /&gt;
|webbuy=https://www.dolistore.com&lt;br /&gt;
|status=stable&lt;br /&gt;
|prerequisites=Dolibarr 19.0+, PHP 7.4+, a Meta WhatsApp Business Cloud API number, HTTPS&lt;br /&gt;
|minversion=19.0&lt;br /&gt;
|note=Module ID 517300&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Module WhatsApp IA =&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Name !! Value&lt;br /&gt;
|-&lt;br /&gt;
| Publisher || Weglob&lt;br /&gt;
|-&lt;br /&gt;
| Status || Stable&lt;br /&gt;
|-&lt;br /&gt;
| Version || 1.0.0&lt;br /&gt;
|-&lt;br /&gt;
| Module ID || 517300&lt;br /&gt;
|-&lt;br /&gt;
| Dolibarr compatibility || 19.0 and later&lt;br /&gt;
|-&lt;br /&gt;
| License || GPL v3 or later&lt;br /&gt;
|-&lt;br /&gt;
| Languages || English, French&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WhatsApp IA&amp;#039;&amp;#039;&amp;#039; connects Dolibarr to the official &amp;#039;&amp;#039;&amp;#039;Meta WhatsApp Business Cloud API&amp;#039;&amp;#039;&amp;#039;. Your team handles WhatsApp conversations directly inside Dolibarr, and an optional AI agent answers customers using your real ERP data (invoices, orders, products, stock).&lt;br /&gt;
&lt;br /&gt;
Messages are linked to third parties, so every exchange stays in the history of the customer or supplier.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Shared inbox&amp;#039;&amp;#039;&amp;#039; in Dolibarr: list of conversations, unread counters, reply from the browser.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Automatic link to third parties&amp;#039;&amp;#039;&amp;#039; from the phone number.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Send documents&amp;#039;&amp;#039;&amp;#039;: send an invoice, proposal or order PDF in the chat from the Dolibarr card.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;AI agent&amp;#039;&amp;#039;&amp;#039; (optional): answers questions such as &amp;quot;what is my balance?&amp;quot;, &amp;quot;where is my order?&amp;quot;, using read-only tools on Dolibarr data.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Handoff to a human&amp;#039;&amp;#039;&amp;#039;: when the AI is not sure, it hands the conversation over and creates a task for the team.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Supplier invoices by WhatsApp&amp;#039;&amp;#039;&amp;#039;: a supplier or employee sends a photo or PDF, the module creates a draft supplier invoice.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;AI log&amp;#039;&amp;#039;&amp;#039;: question, tools used, answer, outcome and estimated cost for each AI run.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;WhatsApp usernames&amp;#039;&amp;#039;&amp;#039; supported (contacts without a visible phone number).&lt;br /&gt;
* Multi-company compatible (one WhatsApp number per entity).&lt;br /&gt;
&lt;br /&gt;
== Screenshots ==&lt;br /&gt;
&amp;lt;gallery widths=400 heights=250&amp;gt;&lt;br /&gt;
File:WhatsAppIA_inbox.png|Inbox with the AI agent&lt;br /&gt;
File:WhatsAppIA_send_invoice.png|Send an invoice PDF in the chat&lt;br /&gt;
File:WhatsAppIA_supplier_invoice.png|Supplier invoice received by WhatsApp&lt;br /&gt;
File:WhatsAppIA_ai_log.png|AI log&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
* Dolibarr 19.0 or later, PHP 7.4 or later.&lt;br /&gt;
* Dolibarr reachable over &amp;#039;&amp;#039;&amp;#039;HTTPS&amp;#039;&amp;#039;&amp;#039; (required by Meta for the webhook).&lt;br /&gt;
* A Meta Business account with a WhatsApp Business number on the Cloud API.&lt;br /&gt;
* For the AI agent: an API key from a supported AI provider.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
# Buy and download the zip &amp;#039;&amp;#039;module_whatsappia-x.y.z.zip&amp;#039;&amp;#039; from DoliStore.&lt;br /&gt;
# Go to &amp;#039;&amp;#039;Home &amp;gt; Setup &amp;gt; Modules/Applications &amp;gt; Deploy/install external module&amp;#039;&amp;#039; and upload the zip.&lt;br /&gt;
# Or unzip it manually into &amp;#039;&amp;#039;htdocs/custom/&amp;#039;&amp;#039; so you get &amp;#039;&amp;#039;htdocs/custom/whatsappia&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
# Go to &amp;#039;&amp;#039;Home &amp;gt; Setup &amp;gt; Modules/Applications&amp;#039;&amp;#039; and enable &amp;#039;&amp;#039;&amp;#039;WhatsApp IA&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
# Open the module setup page.&lt;br /&gt;
# In Meta Business Suite, create a &amp;#039;&amp;#039;&amp;#039;system user&amp;#039;&amp;#039;&amp;#039; with full control on the WhatsApp Business Account (WABA) and generate a permanent token.&lt;br /&gt;
# Paste the token, the Phone number ID and the WABA ID in the setup page.&lt;br /&gt;
# Copy the webhook URL and verify token shown in the setup page into your Meta app (field &amp;#039;&amp;#039;messages&amp;#039;&amp;#039;).&lt;br /&gt;
# Optional: enable the AI agent, choose the provider and paste your key.&lt;br /&gt;
# Give the rights &amp;#039;&amp;#039;Read WhatsApp conversations&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Reply to WhatsApp conversations&amp;#039;&amp;#039; to the users concerned.&lt;br /&gt;
&lt;br /&gt;
The scheduled job &amp;#039;&amp;#039;WhatsAppIAProcessQueue&amp;#039;&amp;#039; processes the AI queue. Make sure Dolibarr cron jobs are running.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
* Read WhatsApp conversations&lt;br /&gt;
* Reply to WhatsApp conversations&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
;The webhook returns 404&lt;br /&gt;
:Check that the &amp;#039;&amp;#039;custom&amp;#039;&amp;#039; directory is declared in &amp;#039;&amp;#039;conf.php&amp;#039;&amp;#039; (&amp;#039;&amp;#039;$dolibarr_main_url_root_alt&amp;#039;&amp;#039; and &amp;#039;&amp;#039;$dolibarr_main_document_root_alt&amp;#039;&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
;Meta error #10 (permission)&lt;br /&gt;
:The system user needs full control on the WABA, not only a partial permission.&lt;br /&gt;
&lt;br /&gt;
;Meta error #131047&lt;br /&gt;
:The 24 hour customer service window is closed. Only an approved template message can be sent.&lt;br /&gt;
&lt;br /&gt;
;A contact appears as &amp;quot;MA.123...&amp;quot; instead of a phone number&lt;br /&gt;
:The customer uses a WhatsApp username. The module stores the WhatsApp user ID and shows the username when Meta provides it.&lt;br /&gt;
&lt;br /&gt;
;Is my data sent to the AI provider?&lt;br /&gt;
:Only when the AI agent is enabled: the customer message and the data returned by the read-only tools needed to answer. You can leave the AI off and use the module as a simple shared inbox.&lt;br /&gt;
&lt;br /&gt;
== Support ==&lt;br /&gt;
* Email: contact@weglob.com&lt;br /&gt;
* Website: [https://weglob.com weglob.com]&lt;br /&gt;
* LinkedIn: [https://www.linkedin.com/in/mohamed-aggoubi/ Mohamed Aggoubi]&lt;br /&gt;
&lt;br /&gt;
[[Category:Complementary modules]]&lt;br /&gt;
[[Category:DocUserEN]]&lt;/div&gt;</summary>
		<author><name>Weglob</name></author>
	</entry>
</feed>