# Log food safety temperatures with DeepSeek and OpenAI: n8n workflow

> Started by another system calling it, and works across Discord, Gmail, Google Sheets and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/log-food-safety-temperatures-with-deepseek-and-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# 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.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Flog-food-safety-temperatures-with-deepseek-and-openai)

**25 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 3 Model 4 Logic 9 Service 9

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

- 1 **When Temp Reading Arrives** Webhook *Starts it*
- 2 **Safety Model** Lm Chat Open Ai *Model*
- 3 **Daily Log Check** Schedule trigger *Starts it*
- 4 **Weekly Safety Summary** Schedule trigger *Starts it*
- 5 **Report Model** Lm Chat Open Ai *Model*
- 6 **Normalize Reading** Set *Logic*
- 7 **Assess Temperature Safety** Agent *Model*
- 8 **Read Temperature Log** Google Sheets *Service*
- 9 **Anchor Item** Set *Logic*
- 10 **Read Log for Report** Google Sheets *Service*
- 11 **Write Weekly Report** Agent *Model*
- 12 **Valid Reading?** If *Logic*
- 13 **Parse Safety Assessment** Code *Logic*
- 14 **Only Today** Filter *Logic*
- 15 **No Readings Today?** If *Logic*
- 16 **Stats This Week** Code *Logic*
- 17 **Gmail Weekly Report** Gmail *Service*
- 18 **Build Safety Context** Set *Logic*
- 19 **Log Invalid Reading to Sheets** Google Sheets *Service*
- 20 **Log Reading to Sheets** Google Sheets *Service*
- 21 **Telegram No Readings Nudge** Telegram *Service*
- 22 **Telegram Invalid Reading Alert** Telegram *Service*
- 23 **Out of Range?** If *Logic*
- 24 **Telegram At Risk Alert** Telegram *Service*
- 25 **Discord At Risk Alert** Discord *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Flog-food-safety-temperatures-with-deepseek-and-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Discord](https://millionrounds.com/workflows?service=Discord#library)[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Audit website security and send AI reports with Gmail** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/audit-website-security-and-send-ai-reports-with-gmail)
- [**Automate multi-website Google Analytics reports with OpenAI** 25 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/automate-multi-website-google-analytics-reports-with-openai)
- [**Compare multi-period financial data from Google Sheets** 25 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/compare-multi-period-financial-data-from-google-sheets)
- [**Generate multi-period financial reports from Google Sheets** 25 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/generate-multi-period-financial-reports-from-google-sheets)
- [**Log and report construction punch list items with OpenAI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/log-and-report-construction-punch-list-items-with-openai)
- [**Summarize QA testing news and send Telegram updates** 25 steps · calls a model · RSS, Telegram](https://millionrounds.com/workflow/summarize-qa-testing-news-and-send-telegram-updates)
