Grade and escalate truck defects with Forms, Google Sheets, Gmail, Telegram, and DeepSeek
Ready for 3.0What this workflow does
This AI workflow has 33 nodes and runs when someone submits an n8n form (“Pre trip check”) (plus 2 other triggers). Along the way it connects Gmail, OpenAI Chat Model, Google Sheets and Telegram.
How it runs
Trigger: When someone submits an n8n form (“Pre trip check”) (plus 2 other triggers).
- Normalize Check (Code): runs custom JavaScript code
- Read Fleet Log (Google Sheets): read
- Read Fleet Log Weekly (Google Sheets): read
- Check Complete? (If): checks a condition and branches into true / false
- Build Open Defects (Code): runs custom JavaScript code
- Summarize Fleet Week (Code): runs custom JavaScript code
- Read Unit History (Google Sheets): read
- Log Incomplete Check (Google Sheets): append
- Overdue Defects? (If): checks a condition and branches into true / false
- Email Fleet Manager (Gmail): send (message)
…plus 19 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Telegram
n8n-nodes-base.telegram - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Switch
n8n-nodes-base.switch
From the author
A driver spots a soft brake pedal at 5 a.m., writes it on paper, and the truck goes out anyway because nobody read the note. This workflow turns the pre trip check into a short form, has DeepSeek grade the defect against the truck's recent history, logs…