Email Automation
Monitor ISF-10 filing deadline risk with GPT-4o-mini, Telegram and Gmail
On a schedule, it handles email with OpenAI / ChatGPT using Data Table, Gmail, Telegram.
What it does
## Before switching on Test an empty state table, an unchanged shipment, a changed green record, a changed red record and a mixed batch. Also test a duplicate BOL and an invalid timestamp. A failed service call stops the run. Inspect partial writes before retrying; this template does not guarantee exactly-once alerts. GET lookups have three attempts; writes do not retry automatically. The prompt receives the importer, BOL and timing. Confirm your data-sharing policy. The 48/24-hour bands are configurable monitoring rules, not a statement of customs law.
The steps
- Poll Open Shipments Every 2 Hours
- Fetch Open Ocean Shipments
- Split Shipments by Bill of Lading
- Read Prior Filing State
- Diff State & Compute Risk Tier
- Has Risk Tier Changed Since Last Check
- Is Red-Tier Imminent Penalty Exposure
- Check Vessel Schedule
- Combine Shipment & Schedule Context
- OpenAI Chat Model
- Draft CBP Penalty Risk Escalation Memo
- Send Urgent Red-Tier Alert
- Submit Escalation to Compliance API
- Log Yellow-Tier Change Only
20 steps in total.
Similar automations
Email AutomationRun legal deadline dockets with attorney escalations using Forms, Google Sheets, Gmail41 stepsEmail AutomationFind US federal grants and contract awards with Apify, ranked by deadline and size35 stepsAlerts & NotificationsSend Notion Task Deadline Reminders by Email and Pushover27 stepsE-commerce & PaymentsScore Shopify COD order risk using GPT-4o-mini, Shiprocket, and Google Sheets42 steps