Odoo events, the moment they happen
Sales
New lead or order, quotation confirmed, big deal won
Accounting
Payment received, invoice overdue, bill waiting for approval
Inventory
Stock below minimum, delivery late, receipt arrived
Website and shop
Contact form, online order, new customer sign-up
Team
Leave request, expense to approve, task assigned
Your own rule
Any change to any Odoo record, with your conditions
Salesperson: Nadia10:02
From an Odoo event to a Telegram message
-
Choose the events and who gets them
A short list: which event, which conditions (for example orders above an amount), which chat. Too many messages get ignored, so we start small.
-
Create the bot and the chats
In Telegram, @BotFather creates your company bot (for example @YourCompanyOdooBot) with your logo. The bot is added to each team group, and each person who wants private messages starts a chat with it once.
Find a group's chat id after adding the botcurl -s "https://api.telegram.org/bot$TELEGRAM_TOKEN/getUpdates" # ..."chat":{"id":-1002233445566,"title":"Sales Team","type":"supergroup"}... -
Let Odoo announce the event
An automation rule watches the event (here: a sales order is confirmed) and sends the chosen fields to n8n. No custom Odoo module is needed.

The webhook action: n8n's address, the order fields to send and a preview of the data. What n8n receives{ "_action": "Send order to n8n(#556)", "_id": 24, "_model": "sale.order", "amount_total": 1990.0, "currency_id": 1, "id": 24, "name": "S00024", "partner_id": 11, "user_id": 5 } -
Turn it into a readable message
n8n looks up the customer and salesperson names in Odoo, formats the amount and sends the message to the right chat. Customer text is escaped so it cannot break the message.
n8n Code node: format the messageconst esc = (s) => String(s ?? '').replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>'); const SALES_CHAT = '-1002233445566', MANAGERS_CHAT = '-1002233445577'; const o = $('Order confirmed').first().json.body; const partner = $('Read customer').first().json; const money = new Intl.NumberFormat('en-US').format(o.amount_total); const text = `π <b>Order confirmed Β· ${esc(o.name)}</b>\n` + `${esc(partner.display_name)} Β· ${money} BDT\n` + `<a href="https://erp.example.com/odoo/sale.order/${o._id}">Open in Odoo</a>`; return [{ json: { text, chatId: o.amount_total >= 100000 ? MANAGERS_CHAT : SALES_CHAT } }];
The workflow behind the message: Odoo webhook β read customer β format β Telegram. -
Add events that Odoo cannot push
Things like "stock below minimum" or "invoice overdue" are checked on a schedule (for example every hour or every morning) through Odoo's API, and only new cases are sent.
-
Test with your team and hand over
Each event is tested with real records. You get a list of every notification, its chat and how to change it.
Who gets what
One Telegram group per team: sales, warehouse, accounts.
A salesperson hears only about their own customers and orders.
Amount limits, working hours and one message per event, never floods.
Faster reactions, fewer missed things
A new lead is called while the customer is still interested.
Managers stay informed from their phone, also while travelling.
Low stock and overdue invoices are seen before they cost money.
Common questions
Is Telegram free for this?
Yes. Telegram bots and groups have no cost.
Can it be WhatsApp instead?
WhatsApp needs a WhatsApp Business API account with message fees and approved templates. Telegram is free and quicker to start; both can be combined.
Is our data safe in Telegram?
Only short summaries are sent, never full documents, and you decide which fields appear. The full record stays in Odoo behind its link.
