Ask Odoo, approve and update, all from Telegram
A notification tells you something happened. A bot lets you act on it: check figures, approve requests and record updates without opening a laptop.
- Approve or reject with one tap
- Quick answers to everyday questions
- Every action recorded on the Odoo document
14 orders Β· 312,400 BDT
Best: Rahman Traders (48,500)
Azure Interior Β· 189.75 USD
Requested by Imran
Example commands
Commands are designed around your business; these are typical ones.
/sales todayOrders and revenue for today, this week or this month/stock <product>Quantity on hand in each warehouse/order S00482Status, delivery and payment of an order/dueCustomers with overdue invoices/approvePurchases and expenses waiting for your approval, with buttonsBot, rules and Odoo actions
-
Create your company bot
@BotFather in Telegram creates the bot, its name and picture, and the list of commands shown in the menu. The bot token is stored encrypted in n8n.
-
Decide who may use it
Each Telegram account is linked to an Odoo user and a role. Messages from anyone else are ignored, each person sees only the commands for their role (for example, only managers get approvals), and their name is written on every action.
n8n Code node: allowed users// Telegram user id β Odoo user id const ALLOWED = { 123456789: 2, 987654321: 7 }; const u = $json.message?.from ?? $json.callback_query?.from; const odooUser = ALLOWED[u?.id]; if (!odooUser) return []; // strangers get no answer at all const text = $json.message?.text ?? ''; const [command, ...args] = text.trim().split(/\s+/); return [{ json: { chatId: ($json.message ?? $json.callback_query.message).chat.id, odooUser, command: $json.callback_query ? 'button' : command, args: args.join(' '), data: $json.callback_query?.data, // e.g. "po:approve:16" } }]; -
Answer questions from Odoo
Each command reads Odoo through its API and replies in a short message, for example today's confirmed sales:
POST /json/2/sale.order/search_read{ "domain": [["state", "=", "sale"], ["date_order", ">=", "2026-11-20 18:00:00"]], "fields": ["name", "partner_id", "amount_total"] }Odoo stores times in UTC; the workflow converts "today" in your time zone before asking.
-
Approve with a button
Requests waiting for approval are sent with Approve and Reject buttons. A tap calls the same Odoo action as the button on the screen, then writes who approved it on the document.
Message with buttons (Telegram Bot API){ "chat_id": 123456789, "text": "π§Ύ Purchase P00016 needs approval\nAzure Interior Β· 189.75 USD", "reply_markup": { "inline_keyboard": [[ { "text": "β Approve", "callback_data": "po:approve:16" }, { "text": "β Reject", "callback_data": "po:reject:16" } ]] } }What the tap does in OdooPOST /json/2/purchase.order/button_approve { "ids": [16] } POST /json/2/purchase.order/message_post { "ids": [16], "body": "Approved on Telegram by Nadia Rahman", "subtype_xmlid": "mail.mt_note" }
The purchase order in Odoo after the tap: confirmed, with a note saying who approved it on Telegram. -
Put it together in n8n
One workflow receives every message, checks the user, and routes each command to its own short branch.

The bot in n8n: check the user, route the command, then read from or act in Odoo and reply.
Each Telegram account is linked to an Odoo user and a role, the bot ignores everyone else, and every action is recorded on the Odoo document with the person's name.
Decisions don't wait for the office
Purchases and expenses are not stuck while a manager is travelling.
Sales and stock figures without logging in or calling the office.
Every action from Telegram is written on the Odoo document.
Common questions
Can customers use the bot too?
Yes, for example to check an order status, with a separate list of what customers may ask. Staff commands stay private.
What if a phone is lost?
Remove that Telegram account from the allowed list in n8n; it stops working immediately.
Does it need a custom Odoo module?
No. It uses Odoo's standard API and the same actions as the buttons in Odoo.
