Templates / Predict port demurrage risk with Google Sheets, Gemini Flash and Slack

Predict port demurrage risk with Google Sheets, Gemini Flash and Slack

Ready for 3.0

by iamvaar ✓ · 0 views · created 2026-11-12 · Market Research, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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).

  1. Read Shipments from Sheets (Google Sheets): uses Google Sheets
  2. Notify Workflow Failure on Slack (Slack): uses Slack
  3. Filter: keeps only the items that match a condition
  4. Filter: keeps only the items that match a condition
  5. Remove Duplicate Ports (Remove Duplicates): removes duplicate items
  6. Process Ports in Batches (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Fetch Port Call Data (HTTP Request): calls an HTTP API
  8. Split Port Calls Data (Split Out): splits a list into separate items
  9. Split Port Area Details (Split Out): splits a list into separate items
  10. Filter: keeps only the items that match a condition

…plus 29 more steps. See the full node list below.

Services it uses

Google SheetsRedisGoogle Gemini Chat ModelSlackGmail

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)

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…

Excerpt from iamvaar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.