Templates / Track production OEE and corrective actions with Sheets, Gmail, Telegram, and GPT-4o

Track production OEE and corrective actions with Sheets, Gmail, Telegram, and GPT-4o

Ready for 3.0

by Khaisa Studio ✓ · 0 views · created 2026-10-29 · Engineering, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 44 nodes and runs when an HTTP POST request hits its webhook URL (plus 4 other triggers). Along the way it connects Gmail, OpenAI Chat Model, Google Sheets and Telegram.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 4 other triggers).

  1. Normalize Shift Entry (Edit Fields (Set)): sets 12 fields: report_date, line_name, shift_label…
  2. Read Yesterday Shifts (Google Sheets): read
  3. Read Week Shifts (Google Sheets): read
  4. Read Open Actions (Google Sheets): read
  5. Action Id Present? (If): checks a condition and branches into true / false
  6. Validate Entry (If): checks a condition and branches into true / false
  7. Summarize Yesterday (Code): runs custom JavaScript code
  8. Summarize Week (Code): runs custom JavaScript code
  9. Find Overdue Actions (Code): runs custom JavaScript code
  10. Close Corrective Action (Google Sheets): update

…plus 26 more steps. See the full node list below.

Services it uses

GmailOpenAI Chat ModelGoogle SheetsTelegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

OEE numbers are only useful if someone acts on them. This workflow takes each shift's production numbers from a webhook, calculates availability, performance, quality and OEE, has GPT-6.1-sol explain what dragged it down, and turns bad shifts into tracked…

Excerpt from Khaisa Studio's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.