| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 825 |
| Technical Name |
openclaw_bot_integration |
| License | AGPL-3 |
| Website | https://www.kennovo.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 825 |
| Technical Name |
openclaw_bot_integration |
| License | AGPL-3 |
| Website | https://www.kennovo.com |
OpenClaw Bot Integration
Bring an AI assistant into Odoo Discuss with OpenClaw Gateway
Send messages from Odoo Discuss channels to OpenClaw Gateway and post the assistant reply back into the same channel. The integration is channel-scoped to keep conversations isolated across different chat windows.
Key Features
- Outbound delivery to OpenClaw via Webhooks (
/hooks/agent) - Async execution + reliable delivery with Outbox + cron retries
- Per-Discuss-channel isolation using a stable channel reference
- Inbound callback: OpenClaw posts the final answer back to Odoo Discuss via an Odoo webhook URL
- Diagnostics-friendly logs (token is never logged; only length + fingerprint)
How It Works
- User posts a message in a Discuss channel.
- The module creates an
openclaw.outboxrecord and calls OpenClaw Webhooks/hooks/agent(async). - OpenClaw runs the agent and then calls back into Odoo via the bot's Webhook URL to post the final answer into the same Discuss channel.
- If the gateway is temporarily unavailable, cron retries automatically.
Live demo (GIF): conversation in Discuss with OpenClaw replies.
Step 1: Configure Odoo
Go to Settings > OpenClaw and select an Integration Mode.
Asynchronous (recommended): /hooks/agent
- Integration Mode: Asynchronous
- Outbound URL: OpenClaw Gateway base URL (example:
http://127.0.0.1:18789) - Hooks Path: your OpenClaw
hooks.path(default/hooks, example:/hooks-odoo-xxxx) - Outbound Token: OpenClaw
hooks.token - Webhook Secret: secret used by OpenClaw when calling back into Odoo (recommended)
Synchronous: /v1/chat/completions
- Integration Mode: Synchronous
- Outbound URL: OpenClaw Gateway base URL (example:
http://127.0.0.1:18789) - Outbound Token: OpenClaw
gateway.auth.token(requires a Gateway version where headerless bearer auth works) - Hooks Path: not used
- Webhook Secret: optional (not required for sync replies)
Step 2: Create a Bot
Create an OpenClaw Bot and choose a dedicated Author Partner. Using a dedicated partner avoids outbound loops and keeps bot messages clearly attributed.
Step 3: Bind Discuss Channels
Bind the bot to the Discuss channel(s) you want to enable. Bindings are per chat window (per discuss.channel), not per user.
A unique channel reference is used for routing and session isolation to prevent cross-talk.
OpenClaw Configuration (Gateway)
Enable Webhooks on the OpenClaw Gateway and set a dedicated hook token. Odoo will call <gateway><hooks.path>/agent.
- hooks.enabled:
true - hooks.path:
/hooks(or a custom value like/hooks-odoo-xxxx) - hooks.token: use a dedicated secret for this integration (do not reuse gateway auth tokens)
To deliver replies back into Odoo, OpenClaw will call the bot's Webhook URL shown on the Bot form. Set an Inbound Secret on the Bot (or a global Webhook Secret) so Odoo can authenticate inbound callbacks.
Help and Support
Get Immediate support for any of your query
You will get 90 days free support for any doubt, queries, and bug fixing (excluding data recovery) or any type of issue related to this module.
Write a mail to us:
james@kennovo.comAny queries or want any extra features? Just drop a mail to our support.
Release Notes
- 19.0.0.1 â Initial release
- 19.0.0.2 â Added Integration Mode setting: Synchronous (
/v1/chat/completions) or Asynchronous (/hooks/agent)
Please log in to comment on this module