Optimize maritime routes and disruption response with OpenAI and Slack
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on a schedule (every 15 minutes). Along the way it connects OpenAI Chat Model and Slack.
How it runs
Trigger: On a schedule (every 15 minutes).
- Fetch Vessel Telemetry & AIS Data (HTTP Request): calls an HTTP API
- Fetch Port & Weather Context (HTTP Request): calls an HTTP API
- Stage 1: Anomaly Detection Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Anomaly Detection; output parser: Anomaly Detection Schema
- Stage 2: Context Aggregation Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Context Aggregation; output parser: Context Aggregation Schema
- Stage 3: Route Simulation Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Route Simulation; output parser: Route Simulation Schema
- Stage 4: Executive Briefing Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Executive Briefing; output parser: Executive Briefing Schema
- Format Approval Request (Edit Fields (Set)): sets 7 fields: vessel_id, briefing_summary, recommended_route…
- Human Approval Required (Wait): pauses until form
- Notify Vessel & Operations Team (Slack): uses Slack
Services it uses
Other OpenAI + Slack templates (979)
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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Edit Fields (Set)
n8n-nodes-base.set - Wait
n8n-nodes-base.wait - Slack
n8n-nodes-base.slack
From the author
Quick Overview This workflow runs every 15 minutes to pull vessel telemetry/AIS data, enrich it with port and weather context, and use OpenAI to detect disruptions, simulate route alternatives, and generate an executive briefing that requires human approval…