Predict port demurrage risk with Google Sheets, Gemini Flash and Slack
Ready for 3.0What this workflow does
This AI workflow has 44 nodes and runs on a schedule (every 3 hours) (plus 2 other triggers). Along the way it connects Google Sheets, Redis, Google Gemini Chat Model and Slack and 1 more.
How it runs
Trigger: On a schedule (every 3 hours) (plus 2 other triggers).
- Read Shipments from Sheets (Google Sheets): uses Google Sheets
- Notify Workflow Failure on Slack (Slack): uses Slack
- Filter: keeps only the items that match a condition
- Filter: keeps only the items that match a condition
- Remove Duplicate Ports (Remove Duplicates): removes duplicate items
- Process Ports in Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Fetch Port Call Data (HTTP Request): calls an HTTP API
- Split Port Calls Data (Split Out): splits a list into separate items
- Split Port Area Details (Split Out): splits a list into separate items
- Filter: keeps only the items that match a condition
…plus 29 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
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 (23)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Filter
n8n-nodes-base.filter - Remove Duplicates
n8n-nodes-base.removeDuplicates - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Sort
n8n-nodes-base.sort - Limit
n8n-nodes-base.limit - Aggregate
n8n-nodes-base.aggregate - Redis
n8n-nodes-base.redis - RSS Read
n8n-nodes-base.rssFeedRead - Date & Time
n8n-nodes-base.dateTime - Wait
n8n-nodes-base.wait - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview Youtube Video: https://youtu.be/a10IgTQQUSs This workflow runs every three hours to read shipment data from Google Sheets, pulls live port-call, AIS, weather, and news signals, and uses Google Gemini to predict port congestion and demurrage…