Monitor ISF-10 filing deadline risk with GPT-4o-mini, Telegram and Gmail
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs on a schedule (every 2 hours). Along the way it connects OpenAI Chat Model, Telegram and Gmail.
How it runs
Trigger: On a schedule (every 2 hours).
- Fetch Open Ocean Shipments (HTTP Request): calls an HTTP API
- Read Prior Filing State (Data table): get
- Split Shipments by Bill of Lading (Code): runs custom JavaScript code
- Diff State & Compute Risk Tier (Code): runs custom JavaScript code
- Has Risk Tier Changed Since Last Check (If): checks a condition and branches into true / false
- Is Red-Tier Imminent Penalty Exposure (If): checks a condition and branches into true / false
- Reconverge All Paths (Merge): merges the data from its input branches
- Check Vessel Schedule (HTTP Request): calls an HTTP API
- Log Yellow-Tier Change Only (Edit Fields (Set)): sets 1 field: actionTaken
- Update Filing State (Data table): create or update
…plus 8 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Telegram + OpenAI templates (807) · Other Gmail + Telegram templates (361)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - If
n8n-nodes-base.if - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Telegram
n8n-nodes-base.telegram - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow polls a freight forwarder API every two hours to monitor open ocean shipments for ISF-10 filing deadline risk, drafts red-tier escalation memos with OpenAI, sends urgent Telegram alerts, files cases to an internal compliance API,…