Automation library · Data collection

Triage fleet telemetry and route safety compliance with OpenAI

Started by another system calling it, and works across Gmail and Google Sheets. It hands the judgement calls to OpenAI. 25 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

25 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 11Logic 6Service 6

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

  1. 1Receive Vehicle TelemetryWebhookStarts it
  2. 2Validation Agent ModelLm Chat Open AiModel
  3. 3Validation Output ParserOutput Parser StructuredModel
  4. 4Orchestration Agent ModelLm Chat Open AiModel
  5. 5Orchestration Output ParserOutput Parser StructuredModel
  6. 6Safety Threshold CalculatorTool CodeModel
  7. 7Safety Compliance ModelLm Chat Open AiModel
  8. 8Service Scheduling ModelLm Chat Open AiModel
  9. 9Customer Email Notification ToolGmail ToolService
  10. 10Fleet Operations Alert ToolSlack ToolService
  11. 11Fleet Management API ToolHttp Request ToolService
  12. 12Telemetry Validation AgentAgentModel
  13. 13Fleet Orchestration AgentAgentModel
  14. 14Safety Compliance Sub-AgentAgent ToolModel
  15. 15Service Scheduling Sub-AgentAgent ToolModel
  16. 16Route by Service PrioritySwitchLogic
  17. 17Check Compliance EscalationIfLogic
  18. 18Urgent Service API CallHttp RequestService
  19. 19Prepare High Priority ServiceSetLogic
  20. 20Prepare Normal ServiceSetLogic
  21. 21Prepare Low Priority ServiceSetLogic
  22. 22Prepare Compliance ReportSetLogic
  23. 23Log Safety TraceabilityGoogle SheetsService
  24. 24Log Compliance EscalationGoogle SheetsService
  25. 25Send Webhook ResponseRespond To WebhookStarts it

How it's built

Starts on
Another system calling it
Steps
25, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets 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.