Automation library · Chat assistants

Optimize maritime routes and disruption response with OpenAI

Started by a clock, and works across Slack. It hands the judgement calls to OpenAI. 18 steps, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

18 stepsMedium: a working afternoon
0Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 12Logic 2Service 3

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

  1. 1Monitor Maritime OperationsSchedule triggerStarts it
  2. 2OpenAI Model - Anomaly DetectionLm Chat Open AiModel
  3. 3Anomaly Detection SchemaOutput Parser StructuredModel
  4. 4OpenAI Model - Context AggregationLm Chat Open AiModel
  5. 5Context Aggregation SchemaOutput Parser StructuredModel
  6. 6OpenAI Model - Route SimulationLm Chat Open AiModel
  7. 7Route Simulation SchemaOutput Parser StructuredModel
  8. 8OpenAI Model - Executive BriefingLm Chat Open AiModel
  9. 9Executive Briefing SchemaOutput Parser StructuredModel
  10. 10Fetch Vessel Telemetry & AIS DataHttp RequestService
  11. 11Stage 1: Anomaly Detection AgentAgentModel
  12. 12Stage 2: Context Aggregation AgentAgentModel
  13. 13Stage 3: Route Simulation AgentAgentModel
  14. 14Stage 4: Executive Briefing AgentAgentModel
  15. 15Fetch Port & Weather ContextHttp RequestService
  16. 16Format Approval RequestSetLogic
  17. 17Human Approval RequiredWaitLogic
  18. 18Notify Vessel & Operations TeamSlackService

How it's built

Starts on
A clock
Steps
18, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Slack account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

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?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 steps before you point it at anything that matters.