Automation library · CRM

Sync weekly Odoo sales KPIs with Google Sheets and Slack

Started by a clock, and works across Google Sheets and Slack. It hands the judgement calls to DeepSeek. 19 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: DeepSeek

19 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 2Logic 8Service 8

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

  1. 1Weekly Monday 7AMSchedule triggerStarts it
  2. 2DeepSeek Chat ModelLm Chat Deep SeekModel
  3. 3Compute Week WindowSetLogic
  4. 4Generate Executive NarrativeChain LlmModel
  5. 5Get Sales OrdersOdooService
  6. 6Get InvoicesOdooService
  7. 7Get Sale Order LinesOdooService
  8. 8Get Previous KPI RowsGoogle SheetsService
  9. 9Anomaly Detected?IfLogic
  10. 10Build Error AlertSetLogic
  11. 11Aggregate KPI RowCodeLogic
  12. 12Aggregate Top 5 ProductsCodeLogic
  13. 13Sync KPI + HistoryMergeLogic
  14. 14Post Anomaly AlertSlackService
  15. 15Post Weekly SummarySlackService
  16. 16Alert Channel (configure Slack/Email)No OpLogic
  17. 17Append KPI RowGoogle SheetsService
  18. 18Append Top ProductsGoogle SheetsService
  19. 19Compute Week-over-Week & AnomaliesCodeLogic

How it's built

Starts on
A clock
Steps
19, with 1 branch
Size
Medium: a working afternoon
Connects to
Google Sheets, Slack
Model
DeepSeek

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Slack accounts, and a key for DeepSeek. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls DeepSeek. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

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 19 steps before you point it at anything that matters.