Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. OpenClaw Bot Integration / 小龙虾 / OpenClaw聊天机器人集成 / openclawbot / Moltbot / clawbot v 18.0
  4. Sales Conditions FAQ

OpenClaw Bot Integration / 小龙虾 / OpenClaw聊天机器人集成 / openclawbot / Moltbot / clawbot

by Your Company https://www.yourcompany.com
Odoo

$ 352.64

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 2580
Technical Name openclawbot
LicenseLGPL-3
Websitehttps://www.yourcompany.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 2580
Technical Name openclawbot
LicenseLGPL-3
Websitehttps://www.yourcompany.com
  • Description
  • Documentation

Demo / 演示

OpenClaw Bot Demo GIF
▶ Watch Full Demo Video / 观看完整演示视频

Click to watch the full demo on YouTube / 点击前往 YouTube 观看完整演示

OpenClaw Bot Integration for Odoo

OpenClaw 聊天机器人集成

Also Known As: 小龙虾 (Little Lobster) / Moltbot / clawbot

English: Connect your Odoo ERP with multiple chat platforms (WeChat, DingTalk, Slack, etc.) through OpenClaw gateway. Enable seamless two-way messaging, file sharing, and AI-powered conversations between Odoo and external chat applications.

Chinese: 通过 OpenClaw 网关将您的 Odoo ERP 与多个聊天平台(微信、钉钉、Slack 等)连接。 在 Odoo 与外部聊天应用之间实现无缝双向消息传递、文件分享和 AI 驱动的对话。

Search Keywords / 搜索关键词: 小龙虾, Little Lobster, openclawbot, OpenClaw聊天机器人, Moltbot, clawbot, 微信机器人, 钉钉机器人, WeChat Integration, DingTalk Integration, Slack Integration, 多平台聊天机器人

Module Aliases / 模块别名

This module is also known by the following names / 本模块也被称为:

  • 小龙虾 - Chinese nickname (中文昵称)
  • Little Lobster - English nickname (英文昵称)
  • openclawbot - Current technical name (当前技术名称)
  • OpenClaw 聊天机器人 - Chinese technical name (中文技术名称)
  • Moltbot - Historical name (历史名称,曾用项目名)
  • clawbot - Historical name (历史名称,曾用项目名)
  • 微信机器人集成 - WeChat Bot Integration (微信机器人集成)
  • 钉钉机器人集成 - DingTalk Bot Integration (钉钉机器人集成)
  • 多平台聊天机器人 - Multi-platform Chat Bot (多平台聊天机器人)

Key Features / 核心功能

🤖 Multi-Bot Support / 多机器人支持

Create and manage multiple chatbots with unique configurations. Each bot can handle different channels and user groups independently.
创建和管理多个具有独立配置的聊天机器人。每个机器人可以独立处理不同的频道和用户组。

🔄 Two-Way Sync / 双向同步

Seamless synchronization between Odoo discuss channels and external platforms. Messages flow bidirectionally with full context preservation.
Odoo 讨论频道与外部平台之间的无缝同步。消息双向流动,完整保留上下文。

📎 Rich Attachments / 附件支持

Support for images, documents, and files of various formats. Send and receive attachments up to 16MB through the integrated webhook API.
支持图片、文档和各种格式的文件。通过集成的 webhook API 发送和接收最大 16MB 的附件。

💬 Markdown Support / Markdown 支持

Full Markdown rendering with support for tables, code blocks, lists, and more. Messages are beautifully formatted in Odoo chat interface.
完整的 Markdown 渲染,支持表格、代码块、列表等。消息在 Odoo 聊天界面中格式美观。

How It Works / 工作原理

  1. Install the Module / 安装模块 - Download and install OpenClaw Bot Integration from Odoo Apps / 从 Odoo Apps 下载并安装 OpenClaw 聊天机器人集成
  2. Configure OpenClaw Gateway / 配置 OpenClaw 网关 - Set up the OpenClaw platform with your Odoo webhook URL / 使用您的 Odoo webhook URL 设置 OpenClaw 平台
  3. Create a Bot / 创建机器人 - Generate a new bot with API key and configure channel bindings / 生成新的机器人并配置 API 密钥和频道绑定
  4. Connect Channels / 连接频道 - Link Odoo discuss channels with external platform channels / 将 Odoo 讨论频道与外部平台频道关联
  5. Start Chatting / 开始聊天 - Send and receive messages between Odoo and external platforms / 在 Odoo 与外部平台之间发送和接收消息

Technical Highlights / 技术亮点

📡 Webhook API

RESTful API with actions: receive, poll, reply, sync. Built-in Markdown rendering and error handling.
RESTful API,支持接收、轮询、回复、同步操作。内置 Markdown 渲染和错误处理。

🔒 Secure / 安全可靠

API key authentication, granular access controls, and secure webhook endpoints.
API 密钥认证、细粒度访问控制和安全的 webhook 端点。

🛠️ Debug Mode / 调试模式

Mock response rules for testing without external platforms. Perfect for development and QA.
Mock 响应规则,无需外部平台即可测试。非常适合开发和 QA。

Supported Platforms / 支持的平台

OpenClaw gateway supports integration with / OpenClaw 网关支持与以下平台集成:

  • 💬 WeChat (Enterprise & Public) / 微信(企业版/公众号)
  • 🔔 DingTalk / 钉钉
  • 📱 Slack
  • 🟢 Telegram
  • 🔵 Discord
  • 📧 Email / 邮件
  • And more through OpenClaw plugin system / 以及更多通过 OpenClaw 插件系统支持的平台

Use Cases / 使用场景

🏢 Enterprise Communication / 企业通信

Connect Odoo with company chat platforms for seamless internal communication, notifications, and quick data access.
将 Odoo 与公司聊天平台连接,实现无缝的内部通信、通知和快速数据访问。

🤖 Customer Support / 客户支持

Provide AI-powered customer support through WeChat or DingTalk, with direct access to Odoo data and workflows.
通过微信或钉钉提供 AI 驱动的客户支持,直接访问 Odoo 数据和工作流。

📊 Automated Alerts / 自动化警报

Send automated alerts and notifications from Odoo to chat platforms for important events like approvals, deadlines, or system status.
从 Odoo 向聊天平台发送自动化警报和通知,用于审批、截止日期或系统状态等重要事件。

🎯 Task Management / 任务管理

Create and update Odoo tasks, projects, or opportunities directly from chat conversations using AI assistants.
使用 AI 助手直接从聊天对话中创建和更新 Odoo 任务、项目或商机。

Requirements / 系统要求

  • Odoo 18.0 or higher / Odoo 18.0 或更高版本
  • OpenClaw Gateway (external platform) / OpenClaw 网关(外部平台)
  • Internet connection for webhook communication / 用于 webhook 通信的互联网连接
  • Python packages: python-markdown (optional, for full Markdown support) / Python 包:python-markdown(可选,用于完整的 Markdown 支持)

Ready to Connect Your Odoo with the World? / 准备好将您的 Odoo 连接到世界了吗?

Install OpenClaw Bot Integration today and start building powerful multi-platform chat solutions!
立即安装 OpenClaw 聊天机器人集成,开始构建强大的多平台聊天解决方案!

Contact & Support / 联系与支持

For issues, questions, or feature requests, please contact:
如有问题、疑问或功能请求,请联系:

  • 📧 Email: 25688932@qq.com
  • 🐛 GitHub Issues: https://github.com/huangweixiao/openclawbot/issues

OpenClaw Bot Integration Documentation

Overview

OpenClaw Bot Integration is an Odoo 18.0 module that connects your ERP system with multiple chat platforms through the OpenClaw gateway. This enables seamless two-way messaging, file sharing, and AI-powered conversations between Odoo and external chat applications.

Note

Chinese: OpenClaw Bot Integration 是一个 Odoo 18.0 模块,通过 OpenClaw 网关将您的 ERP 系统 与多个聊天平台连接。这实现了 Odoo 与外部聊天应用之间的无缝双向消息传递、文件分享 和 AI 驱动的对话。

Installation

  1. Download the module from Odoo Apps Store
  2. Copy the module to your Odoo addons directory
  3. Update the apps list in Odoo (Apps > Update Apps List)
  4. Install "OpenClaw Bot Integration"

Note

Chinese: 1. 从 Odoo Apps Store 下载模块 2. 将模块复制到您的 Odoo addons 目录 3. 在 Odoo 中更新应用列表(Apps > Update Apps List) 4. 安装 "OpenClaw Bot Integration"

Configuration

Prerequisites

  • Odoo 18.0 or higher
  • OpenClaw Gateway server (external platform)
  • Internet connection for webhook communication

Note

Chinese: * Odoo 18.0 或更高版本 * OpenClaw Gateway 服务器(外部平台) * 用于 webhook 通信的互联网连接

Create a Bot

  1. Navigate to OpenClaw > Bots
  2. Click "Create"
  3. Fill in the required fields:
    • Bot Name: Display name for the bot
    • Bot Code: Unique identifier (alphanumeric only)
    • Description: Optional description
  4. Click "Save"
  5. The system will automatically:
    • Create an API key
    • Create a res.partner record
    • Create a res.users account

Note

Chinese: 1. 导航到 OpenClaw > Bots 2. 点击 "Create" 3. 填写必填字段:

  • Bot Name: 机器人显示名称
  • Bot Code: 唯一标识符(仅字母数字)
  • Description: 可选描述
  1. 点击 "Save"
  2. 系统将自动:
  • 创建 API 密钥
  • 创建 res.partner 记录
  • 创建 res.users 账户

Configure Channels

  1. Navigate to OpenClaw > Channels
  2. Click "Create"
  3. Link to a bot
  4. Configure channel settings:
    • Channel Type: discuss, wechat, dingtalk, slack, etc.
    • Channel ID: External platform channel identifier
    • Odoo Channel: Link to an Odoo discuss.channel (optional)

Note

Chinese: 1. 导航到 OpenClaw > Channels 2. 点击 "Create" 3. 关联到机器人 4. 配置频道设置:

  • Channel Type: discuss, wechat, dingtalk, slack 等
  • Channel ID: 外部平台频道标识符
  • Odoo Channel: 关联到 Odoo discuss.channel(可选)

Debug Mode

Enable debug mode for testing without external platforms:

  1. Open the bot configuration
  2. Check "Debug Mode"
  3. Add mock response rules under "Mock Response Rules" tab
  4. Test the bot in Odoo discuss channels

Note

Chinese: 启用调试模式可在没有外部平台的情况下进行测试: 1. 打开机器人配置 2. 勾选 "Debug Mode" 3. 在 "Mock Response Rules" 标签页添加 mock 响应规则 4. 在 Odoo 讨论频道中测试机器人

OpenClaw Gateway Configuration

Configure the OpenClaw gateway to connect to your Odoo instance:

Note

Chinese: 配置 OpenClaw 网关以连接到您的 Odoo 实例:

channels:
  odoo:
    enabled: true
    baseUrl: "https://your-odoo-instance.com"
    apiKey: "your-api-key"
    botCode: "your-bot-code"
    webhookPath: "/openclaw/webhook"
    webhookPort: 5060
    dmPolicy: "allowlist"
    allowFrom: ["1", "2", "3"]

Webhook API

The module provides a RESTful API at /openclaw/webhook.

Note

Chinese: 模块在 /openclaw/webhook 提供 RESTful API。

Actions

receive

Receive a message from OpenClaw and save it to Odoo.

Note

Chinese: 从 OpenClaw 接收消息并保存到 Odoo。

Request:

{
    "action": "receive",
    "bot_code": "your-bot-code",
    "sender_id": "user-123",
    "sender_name": "John Doe",
    "content": "Hello, bot!",
    "message_id": "msg-456",
    "discuss_channel_id": 1,
    "attachments": []
}

Response:

{
    "success": true,
    "message_id": 1,
    "bot_code": "your-bot-code",
    "sender": "John Doe",
    "has_attachment": false
}

poll

Get unreplied messages from Odoo.

Note

Chinese: 从 Odoo 获取未回复的消息。

Request:

{
    "action": "poll",
    "bot_code": "your-bot-code",
    "limit": 10
}

Response:

{
    "success": true,
    "count": 2,
    "messages": [
        {
            "id": 1,
            "sender_id": "user-123",
            "sender_name": "John Doe",
            "message_content": "Hello",
            "message_id": "msg-456"
        }
    ]
}

reply

Reply to a message and sync to Odoo discuss channel.

Note

Chinese: 回复消息并同步到 Odoo 讨论频道。

Request:

{
    "action": "reply",
    "message_id": 1,
    "content": "Hello back!",
    "bot_code": "your-bot-code",
    "attachments": []
}

Response:

{
    "success": true,
    "reply_id": 2,
    "original_message_id": 1,
    "attachments_count": 0
}

sync

Update message sync status.

Note

Chinese: 更新消息同步状态。

Request:

{
    "action": "sync",
    "message_id": 1,
    "sync_status": "synced"
}

Response:

{
    "success": true,
    "message_id": 1,
    "sync_status": "synced"
}

get_attachment

Get attachment data for a message.

Note

Chinese: 获取消息的附件数据。

Request:

{
    "action": "get_attachment",
    "message_id": 1,
    "attachment_index": 0
}

Response:

{
    "success": true,
    "attachment": {
        "id": 1,
        "name": "file.pdf",
        "attachment_type": "file",
        "file_data": "base64-encoded-data"
    }
}

Usage Examples

Basic Chat Flow

  1. User sends message on external platform (WeChat/DingTalk/Slack)
  2. OpenClaw gateway receives the message
  3. Gateway calls receive action to Odoo webhook
  4. Message is saved to openclaw.message model
  5. Message is synced to linked discuss.channel
  6. Odoo user replies in discuss channel
  7. Reply is saved to openclaw.message with type outbound
  8. Gateway polls for new outbound messages via poll action
  9. Gateway sends reply back to external platform

Note

Chinese: 1. 用户在外部平台(微信/钉钉/Slack)发送消息 2. OpenClaw 网关接收消息 3. 网关调用 Odoo webhook 的 receive 操作 4. 消息保存到 openclaw.message 模型 5. 消息同步到关联的 discuss.channel 6. Odoo 用户在讨论频道中回复 7. 回复保存到 openclaw.message,类型为 outbound 8. 网关通过 poll 操作轮询新的出站消息 9. 网关将回复发送回外部平台

File Sharing

Files can be sent and received through attachments:

Note

Chinese: 可以通过附件发送和接收文件:

Receive attachment:

{
    "action": "receive",
    "attachments": [
        {
            "name": "invoice.pdf",
            "type": "file",
            "url": "https://example.com/file.pdf"
        }
    ]
}

Send attachment:

{
    "action": "reply",
    "content": "Here is the file",
    "attachments": [
        {
            "name": "report.pdf",
            "type": "file",
            "data": "base64-encoded-file-content"
        }
    ]
}

Markdown Rendering

Messages support full Markdown syntax:

  • Headers: # Title, ## Subtitle
  • Bold: **text**
  • Italic: *text*
  • Code: `code`
  • Code blocks: ` ```code` ```
  • Lists: - item or 1. item
  • Tables: | Header | Header |
  • Links: [text](url)
  • Images: ![alt](url)

The module automatically converts Markdown to HTML for display in Odoo.

Note

Chinese: 消息支持完整的 Markdown 语法: * 标题: # 标题, ## 副标题 * 粗体: **文本** * 斜体: *文本* * 代码: `代码` * 代码块: ` ```代码` ` * 列表: ``- 项目 或 1. 项目 * 表格: | 表头 | 表头 | * 链接: [文本](url) * 图片: ![alt](url)

模块会自动将 Markdown 转换为 HTML 以在 Odoo 中显示。

Mock Response Rules

For testing without external platforms, use mock response rules:

  1. Enable debug mode on a bot
  2. Navigate to "Mock Response Rules" tab
  3. Create a new rule:
    • Trigger Pattern: Regex pattern to match incoming messages
    • Response Text: Text to send when pattern matches
    • Response Type: text or markdown
  4. Test the bot in Odoo discuss channels

Example:

  • Trigger: .*help.*
  • Response: I'm here to help! Please describe your issue.

Note

Chinese: 在没有外部平台的情况下进行测试,使用 mock 响应规则: 1. 在机器人上启用调试模式 2. 导航到 "Mock Response Rules" 标签页 3. 创建新规则:

  • Trigger Pattern: 匹配传入消息的正则表达式模式
  • Response Text: 模式匹配时发送的文本
  • Response Type: text 或 markdown
  1. 在 Odoo 讨论频道中测试机器人

示例: * 触发: .*help.* * 响应: 我在这里帮助您!请描述您的问题。

Troubleshooting

Messages not syncing to discuss.channel

Check the following:

  1. Bot has a linked discuss.channel
  2. Bot has an associated user account
  3. Bot user is active and has proper permissions
  4. Channel is accessible to the bot user

Note

Chinese: 检查以下项目: 1. 机器人是否关联了 discuss.channel 2. 机器人是否有关联的用户账户 3. 机器人用户是否活跃且有正确权限 4. 频道是否对机器人用户可访问

Webhook not receiving messages

Check the following:

  1. OpenClaw gateway URL is correct
  2. API key matches between Odoo and gateway
  3. Bot is active
  4. Network connectivity between gateway and Odoo
  5. Check Odoo logs for webhook errors

Note

Chinese: 检查以下项目: 1. OpenClaw 网关 URL 是否正确 2. API 密钥是否在 Odoo 和网关之间匹配 3. 机器人是否激活 4. 网关与 Odoo 之间的网络连接 5. 检查 Odoo 日志中的 webhook 错误

Attachments not working

Check the following:

  1. File size is under 16MB limit
  2. File format is supported
  3. Base64 encoding is correct for binary data
  4. Attachment URLs are accessible

Note

Chinese: 检查以下项目: 1. 文件大小是否在 16MB 限制内 2. 文件格式是否支持 3. 二进制数据的 Base64 编码是否正确 4. 附件 URL 是否可访问

Support

For issues, questions, or feature requests, please contact:

  • Email: 25688932@qq.com
  • GitHub: https://github.com/huangweixiao/openclawbot/issues

Note

Chinese: 如有问题、疑问或功能请求,请联系: * Email: 25688932@qq.com * GitHub: https://github.com/huangweixiao/openclawbot/issues

License

This module is licensed under LGPL-3. See LICENSE file for details.

Note

Chinese: 本模块采用 LGPL-3 许可证。详见 LICENSE 文件。

Module Aliases

This module is also known by the following names:

  • 小龙虾 - Chinese nickname (中文昵称)
  • Little Lobster - English nickname (英文昵称)
  • openclawbot - Current technical name (当前技术名称)
  • OpenClaw 聊天机器人 - Chinese technical name (中文技术名称)
  • Moltbot - Historical name (历史名称,曾用项目名)
  • clawbot - Historical name (历史名称,曾用项目名)

Note

Chinese: 本模块也被称为: * 小龙虾 - Chinese nickname (中文昵称) * Little Lobster - English nickname (英文昵称) * openclawbot - Current technical name (当前技术名称) * OpenClaw 聊天机器人 - Chinese technical name (中文技术名称) * Moltbot - Historical name (历史名称,曾用项目名) * clawbot - Historical name (历史名称,曾用项目名)

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with