Odoo Lark integration

Lark Connector

Odoo tells your Lark or Feishu groups what happened, and replies come back to the record.

LarkFeishuBotInteractive cardsNotification rulesActivity alertsReplies into chatterEncrypted events

What it does

Create a custom app with a bot in the Lark or Feishu developer console and paste its App ID and App Secret. Odoo reads the groups the bot is in and links your users by e-mail or mobile number. Then you write small rules: when an opportunity is created, when a stage changes, when a customer writes to you. Each rule sends a card with the fields you picked and an Open in Odoo button, to a group, to the responsible user, or both. When someone replies to that card in Lark, the reply lands in the chatter.

Features

Lark or Feishupick open.larksuite.com or open.feishu.cn; the tenant access token is fetched and renewed by itself
Groupsevery group the bot belongs to is read, and a group is added when someone adds the bot to it
UsersOdoo users are linked to Lark by work e-mail or by mobile number with country code
Notification rulesany model with a chatter: record created, created or changed (fields you pick), responsible set, message posted in Odoo or received by e-mail, with an optional filter
Cardstitle, the fields you choose, the latest message for chatter rules, a colour and an Open in Odoo button
Activity alertswhen an activity is assigned to someone linked to Lark, they get a card
Replies into the chattera reply to an Odoo card in Lark is posted on the record as a note, under the Odoo user who wrote it
Secure eventsVerification Token, X-Lark-Signature check and AES-256-CBC decryption with your Encrypt Key; the request URL check is answered
Message logevery card with its receiver, the Lark message ID and the error if one was refused