Triage fleet telemetry and route safety compliance with GPT-4o, Gmail and Sheets
Ready for 3.0What this workflow does
This AI workflow has 25 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Gmail, Slack and HTTP Request and 1 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Telemetry Validation Agent (AI Agent): runs an AI agent, with model: Validation Agent Model; output parser: Validation Output Parser
- Fleet Orchestration Agent (AI Agent): runs an AI agent, with model: Orchestration Agent Model; 6 tools (Fleet Management API Tool, Fleet Operations Alert Tool, Safety Compliance Sub-Agent, Safety Threshold Calculator…); output parser: Orchestration Output Parser
- Route by Service Priority (Switch): routes items into 4 branches
- Check Compliance Escalation (If): checks a condition and branches into true / false
- Urgent Service API Call (HTTP Request): calls an HTTP API (POST)
- Prepare High Priority Service (Edit Fields (Set)): sets 5 fields: priority, serviceType, scheduledDate…
- Prepare Normal Service (Edit Fields (Set)): sets 5 fields: priority, serviceType, scheduledDate…
- Prepare Low Priority Service (Edit Fields (Set)): sets 5 fields: priority, serviceType, scheduledDate…
- Prepare Compliance Report (Edit Fields (Set)): sets 6 fields: reportType, complianceDetails, faultSeverity…
- Log Safety Traceability (Google Sheets): append
…plus 2 more steps. See the full node list below.
Services it uses
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.
Nodes used (15)
- Webhook
n8n-nodes-base.webhook - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Code Tool
@n8n/n8n-nodes-langchain.toolCode - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Gmail Tool
n8n-nodes-base.gmailTool - Slack Tool
n8n-nodes-base.slackTool - Http Request Tool
n8n-nodes-base.httpRequestTool - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
How It Works This workflow automates intelligent fleet operations management for transport operators, logistics companies, and smart mobility teams. It solves the problem of manually triaging high-volume vehicle telemetry data, a process prone to delays,…