Automation library · Money admin

Real-time sales quote creation in Odoo with Telegram

Started by an incoming Telegram message, and works across Telegram. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 43 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: GeminiRetrieval

43 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 14Logic 15Service 12

The steps in the order they run, from what starts it.

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2Google Gemini Chat Model1Lm Chat Google GeminiModel
  3. 3Telegram TriggerTelegram triggerStarts it
  4. 4Google Gemini Chat Model3Lm Chat Google GeminiModel
  5. 5Sale Quotation1Tool WorkflowModel
  6. 6Google Gemini Chat Model2Lm Chat Google GeminiModel
  7. 7Google Gemini Chat Model5Lm Chat Google GeminiModel
  8. 8Window Buffer Memory1Memory Buffer WindowModel
  9. 9Execute Workflow TriggerExecute Workflow triggerStarts it
  10. 10Create Sales Order SubWorkflowTool WorkflowModel
  11. 11Get Product PricingTool WorkflowModel
  12. 12From AIAgentModel
  13. 13AI AgentAgentModel
  14. 14From AI1AgentModel
  15. 15Quote CreatorAgentModel
  16. 16Check FeedbackText ClassifierModel
  17. 17Edit Fields3SetLogic
  18. 18CodeCodeLogic
  19. 19Telegram2TelegramService
  20. 20Telegram3TelegramService
  21. 21Code1CodeLogic
  22. 22Telegram1TelegramService
  23. 23Switch2SwitchLogic
  24. 24SwitchSwitchLogic
  25. 25Switch1SwitchLogic
  26. 26Search CustomerOdooService
  27. 27Product DataOdooService
  28. 28Code2CodeLogic
  29. 29Edit Fields1SetLogic
  30. 30Check Existing CustomerSwitchLogic
  31. 31Prepare outputCodeLogic
  32. 32Create ContactOdooService
  33. 33Code7CodeLogic
  34. 34Search Customer1OdooService
  35. 35Sale Order1OdooService
  36. 36Code6CodeLogic
  37. 37Prepare Item LinesCodeLogic
  38. 38Split Out3Split OutLogic
  39. 39Get Product VariantOdooService
  40. 40Sale Order Line1OdooService
  41. 41Get Sales Order line IdOdooService
  42. 42Get Sales Order DetailsOdooService
  43. 43Prepare output3CodeLogic

How it's built

Starts on
An incoming Telegram message
Steps
43, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Telegram
Model
Gemini
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Telegram account, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls Gemini. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 43 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 43 steps before you point it at anything that matters.