Templates / Manage safety inspections and corrective actions with DeepSeek, Sheets, Gmail and Telegram

Manage safety inspections and corrective actions with DeepSeek, Sheets, Gmail and Telegram

Ready for 3.0

by Khairul Muhtadin ✓ · 66 views · created 2026-08-27 · Document Extraction, 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 32 nodes and runs when someone submits an n8n form (“Safety Inspection”) (plus 2 other triggers). Along the way it connects Telegram, Gmail, OpenAI Chat Model and Google Sheets.

How it runs

Trigger: When someone submits an n8n form (“Safety Inspection”) (plus 2 other triggers).

  1. Validate Inspection Input (If): checks a condition and branches into true / false
  2. Read Corrective Actions (Google Sheets): uses Google Sheets
  3. Read Inspections (Google Sheets): uses Google Sheets
  4. Read Corrective Actions for Digest (Google Sheets): uses Google Sheets
  5. Normalize Inspection Data (Edit Fields (Set)): sets 5 fields: inspection_id, received_at, inspector…
  6. Build Invalid Notice (Edit Fields (Set)): sets 1 field: invalid_text
  7. Compute Overdue (Code): runs custom JavaScript code
  8. Compute Weekly Stats (Code): runs custom JavaScript code
  9. AI Analyze Findings (AI Agent): runs an AI agent, with model: DeepSeek Safety Model
  10. Telegram: uses Telegram

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

Services it uses

TelegramGmailOpenAI Chat ModelGoogle Sheets

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

Safety inspections that actually follow through. Submit findings via form and this workflow turns non-pass results into AI-written corrective actions, logs everything to Sheets, and chases overdue items with daily reminders plus a weekly digest. Nothing stays…

Excerpt from Khairul Muhtadin'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.