DingTalk Connector | DingTalk Robot and Work Notifications from Odoo
by Modvanta https://modvantaapps.tech
Odoo
$ 28.92
In-App Purchases
Odoo posts to your DingTalk groups and sends work notifications to the right person.
DingTalk | Custom robot | Signing secret | Work notifications | Notification rules | Activity alerts | Encrypted events | Odoo 19
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Add a custom robot to a DingTalk group, choose the signing security setting and paste the webhook and the SEC secret into Odoo. Every message Odoo sends to that group is signed. For messages to one person, connect your internal app with its Client ID, Client Secret and AgentId: Odoo then sends work notifications and links your users to DingTalk by e-mail or mobile number. Rules decide what is sent: a new opportunity, a changed field, a customer e-mail, an activity someone has to do.
| Group robots: as many groups as you like, each with its webhook and signing secret; the webhook must be an oapi.dingtalk.com robot address | |
| Work notifications: ActionCard notifications through your internal app, with the task ID kept in the log | |
| User links: by personal or company e-mail, read from the departments of your organisation, then by mobile number for the rest | |
| Notification rules: any model with a chatter: created, created or changed (fields you pick), responsible set, message posted or received, with an optional filter | |
| Messages: title, the fields you choose, the latest message for chatter rules and an Open in Odoo button | |
| Activity alerts: the person an activity is assigned to gets a work notification | |
| Event subscription: HTTP push with the SHA-1 signature, AES decryption with your aes_key, the app check and the encrypted success answer DingTalk waits for | |
| Contact events: a person joining or changing is linked, a person leaving is unlinked | |
| Message log: every message with its target, result and the DingTalk error when one was refused |
Who it is for
TEAMS ON DINGTALK Sales and warehouse groups get the news without anyone copying it over. | MANAGERS Big orders and customer messages land in the group where decisions are made. | COMPANIES WITH CHINA OFFICES Odoo for the business, DingTalk for the team chat. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Odoo events in DingTalk groups | Not included | Signed robot messages from rules |
| Messages to one person | Not included | Work notifications through your app |
| Link back to the record | Not included | Open in Odoo button |
| Encrypted event callback | Not included | Signature and AES decryption |
See it in Odoo
Your internal app
Client ID, Client Secret and AgentId; the access token renews itself.

Group robots
Webhook and signing secret per group, with Send Test on each line.

Event subscription
The request URL, signing token and aes_key for HTTP push.

Notification rules
Model, trigger, robots and the user field for work notifications.

A rule
Trigger, filter, where it goes and the fields in the message.

Message log
Robot messages and work notifications with their result.

Users linked to DingTalk
Matched by e-mail or mobile number.

Contact events
A person changed and a person who left, as DingTalk sent them.

How it works
1 | Add a robot to the group Custom robot, security setting signing; copy the webhook and the SEC secret. |
2 | Connect your app (optional) For work notifications and user links: Client ID, Client Secret, AgentId. |
3 | Write your rules Pick a model and a trigger, then the robots and the user field. |
4 | Turn on events (optional) HTTP push with the token and aes_key from Odoo, and the contact events. |
Settings
| App: Client ID, Client Secret, AgentId | |
| Robots: group name, webhook, signing secret, active | |
| Events: signing token, aes_key, follow contact events, activity alerts | |
| Rules: model, trigger, changed fields, filter, robots, user field, fields in the message, button text |
Questions
Can I use only the group robot?
Yes. Robots work without the internal app. The app is only needed for work notifications and for linking users.
How many messages can a robot send?
DingTalk allows 20 messages a minute per robot. Keep busy rules on separate robots or use filters.
What if a message is refused?
The Odoo action still goes through. The message log keeps the DingTalk error, for example a wrong signing secret.
Does it sync attendance or departments?
No. It sends notifications and links users; attendance, departments and sign-in stay out.
Is there a monthly fee?
No. You pay once and use your own robots and app.
Compatibility
Odoo 19 Community and Enterprise. Needs Discuss and the Automation Rules module that ships with Odoo. Tested with recorded responses shaped from the public DingTalk Open Platform reference.
Questions before you buy?
Write to modvantaapps@gmail.com. We answer on working days, usually within one day.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1121 |
| Technical Name |
mdv_dingtalk_connector |
| License | OPL-1 |
| Website | https://modvantaapps.tech |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module