Automation library · Research and reporting

Log food safety temperatures with DeepSeek and OpenAI

Started by another system calling it, and works across Discord, Gmail, Google Sheets and Telegram. It hands the judgement calls to OpenAI. 25 steps, 3 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

25 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 3Model 4Logic 9Service 9

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

  1. 1When Temp Reading ArrivesWebhookStarts it
  2. 2Safety ModelLm Chat Open AiModel
  3. 3Daily Log CheckSchedule triggerStarts it
  4. 4Weekly Safety SummarySchedule triggerStarts it
  5. 5Report ModelLm Chat Open AiModel
  6. 6Normalize ReadingSetLogic
  7. 7Assess Temperature SafetyAgentModel
  8. 8Read Temperature LogGoogle SheetsService
  9. 9Anchor ItemSetLogic
  10. 10Read Log for ReportGoogle SheetsService
  11. 11Write Weekly ReportAgentModel
  12. 12Valid Reading?IfLogic
  13. 13Parse Safety AssessmentCodeLogic
  14. 14Only TodayFilterLogic
  15. 15No Readings Today?IfLogic
  16. 16Stats This WeekCodeLogic
  17. 17Gmail Weekly ReportGmailService
  18. 18Build Safety ContextSetLogic
  19. 19Log Invalid Reading to SheetsGoogle SheetsService
  20. 20Log Reading to SheetsGoogle SheetsService
  21. 21Telegram No Readings NudgeTelegramService
  22. 22Telegram Invalid Reading AlertTelegramService
  23. 23Out of Range?IfLogic
  24. 24Telegram At Risk AlertTelegramService
  25. 25Discord At Risk AlertDiscordService

How it's built

Starts on
Another system calling it
Steps
25, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Discord, Gmail, Google Sheets, Telegram
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

Does it use AI?

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

How long does it take to set up?

Take your time. At 25 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 25 steps before you point it at anything that matters.