Discharge Notifications
Container discharge events are critical milestones in the supply chain. Dockflow's automation system allows you to automatically flag containers when they're discharged at terminals, enabling immediate visibility and proactive logistics management.
Overview
Discharge notification automation:
- Monitors discharge events - Tracks when containers are unloaded at terminals
- Automatically flags containers - Marks discharged containers for visibility
- Triggers downstream actions - Enables follow-up automation and notifications
- Provides real-time alerts - Stay informed as soon as discharge is confirmed
- Alert logistics teams when containers are available for pickup
- Trigger customs clearance processes
- Notify warehouse teams to prepare for arrival
- Track dwell time starting from discharge
- Coordinate ground transportation
Understanding Discharge Events
What is a Container Discharge?
A container discharge occurs when:
- A container is unloaded from a vessel at a terminal
- The terminal registers the discharge event in their system
- The discharge information is transmitted to Dockflow
Why Track Discharges?
Discharge events are important because they:
- Indicate availability - Container is physically at the destination terminal
- Start the clock - Dwell time and demurrage periods begin
- Enable pickup - Container can be retrieved (subject to customs/release)
- Require action - Customs clearance, pickup coordination, delivery scheduling
Discharge events are detected from multiple sources:
- Terminal APIs (most accurate, real-time)
- Carrier data feeds (scheduled discharge times)
- Port community systems
- Manual entry by your team
Setting Up Discharge Notifications
Follow these four steps to create an automation that flags containers when they're discharged at terminals.
Step 1: Create a Flag
First, create a flag to mark discharged containers.
Navigate to Flags
- Log in to your Dockflow account
- Go to Automations in the main navigation
- Click the Flags tab
- You'll see a list of existing flags
Create the Flag
- Click the Create Flag button
- Enter flag details:
- Name: "Discharge Event" (or your preferred name)
- Color: Choose a color (e.g., blue for informational, orange for action required)
- Description: "Automatically set when container is discharged at terminal"
- Click Save
- Use clear, descriptive names: "Discharged at Terminal," "Arrived and Discharged," "Ready for Pickup"
- Be specific if you have multiple discharge-related flags
- Consider including location if you track multiple terminals differently
- Use consistent naming conventions across all flags
Alternative flag names:
- "Discharged - Awaiting Customs"
- "Terminal Discharge Confirmed"
- "Available for Pickup"
- "Unloaded at POD"
Step 2: Build the Automation
Create an automation rule that monitors discharge events and applies your flag.
Create New Automation
- Navigate to Automations → Overview
- Click the Create Automation button
- Give your automation a descriptive name:
- "Flag Discharged Containers"
- "Auto-Flag on Terminal Discharge"
- "Discharge Event Notification"
Add Trigger: Milestone Change
- Click Add Trigger
- Select Milestone Change from the trigger types
- Configure the milestone:
- Type: Notice (0 hours)
- Milestone: Container Discharge at Terminal
- Click Save Trigger
- Notice (0 hours): Triggers immediately when discharge is confirmed
- Before: Not applicable for discharge (can't predict exact discharge time)
- After: Use if you want delayed actions (e.g., flag 2 hours after discharge)
Why use Notice type? Setting the trigger to "Notice" with 0 hours ensures the automation fires immediately upon discharge confirmation, providing real-time visibility without delay.
Configure Conditions (Optional)
Add conditions if you want selective flagging:
Examples:
Only flag high-value shipments:
Condition: Shipment Value > $50,000
Only flag specific destinations:
Condition: Destination Port = Rotterdam
Only flag for specific customers:
Condition: Customer Name = "Acme Corporation"
Only flag reefer containers:
Condition: Container Type = Reefer
Use conditions if:
- You don't need to flag all discharges
- You want different flags for different scenarios
- You're managing high volumes and need to focus attention
- Different teams handle different types of shipments
Omit conditions if you want to flag all discharge events universally.
Step 3: Apply the Flag Action
Configure the automation to set your flag when the trigger fires.
Add Action Step
- In the automation builder, click Add Step
- Select Set Flag for Container from the action types
- Choose your flag:
- Select "Discharge Event" (or whatever you named your flag)
- Configure options:
- Apply to: Current container
- Remove after: Leave blank for permanent flag, or set duration
- Click Save Action
Optional: Add Additional Actions
You can add multiple actions to the same automation:
Send email notification:
- Add Step → Send Email
- Select recipients (lead contact, team, specific users)
- Customize email template
Create task:
- Add Step → Create Task
- Assign to user or team
- Set due date (e.g., 24 hours after discharge)
Update field:
- Add Step → Update Field
- Select field (e.g., "Status")
- Set new value (e.g., "Ready for Pickup")
Chain to another automation:
- Add Step → Trigger Automation
- Select follow-up automation (e.g., customs clearance workflow)
Create comprehensive workflows by chaining actions:
- Set flag (for visibility)
- Send email to logistics team
- Create pickup task
- Update status field
- Log activity to notes
Step 4: Activate the Automation
Enable the automation to start monitoring discharge events.
Activate Toggle
- In the automation builder, locate the activation toggle in the upper right corner
- Click to toggle from Inactive to Active
- The automation immediately begins monitoring discharge events
Before activating:
- Review all trigger settings
- Verify flag selection is correct
- Check any conditions you've added
- Confirm actions will behave as expected
- Consider testing with a sample shipment first
Verify Activation
Confirm the automation is running:
- Status shows "Active" (usually indicated by green color)
- Toggle is in the "on" position
- Automation appears in your active automations list
Testing Your Automation
After activation, test to ensure proper functionality.
Manual Test
- Find a test container that's approaching or at discharge
- Wait for discharge confirmation in Dockflow
- Check for the flag on the container
- Verify timing - Flag should appear immediately or within minutes
Check Automation Logs
- Navigate to Automations → Activity Log
- Filter by your automation name
- Review:
- Trigger events (when discharge was detected)
- Actions taken (flag applied)
- Any errors or failures
- Confirm successful execution
Verify Flag Appearance
- Go to your Dashboard
- Find containers with the discharge flag
- Confirm flag appears correctly
- Check flag timestamp matches discharge time
If the automation doesn't fire:
- Check activation status - Ensure it's truly active
- Review discharge data - Confirm discharge event was registered in Dockflow
- Verify conditions - Ensure test container meets any condition criteria
- Check data sources - Terminal data may be delayed
- Wait longer - Some data sources have sync delays (up to 8 hours)
Configuring Notifications
Flags provide visibility, but notifications ensure your team is actively alerted.
Enable Email Notifications
- Navigate to Automations → Flags
- Find your "Discharge Event" flag
- Click Configure Notifications
- Select notification method:
- Direct Email: Immediate alert for each discharge
- Daily Report: Consolidated summary once per day
- Choose recipients:
- Never: No notifications
- Lead Contact: Notify shipment lead
- Team: Notify entire team
- Always: Notify specified users for every occurrence
- Backup Contact: Fallback if no other recipient configured
- Click Save
Notification Delivery Methods
Direct Email (Real-time):
- Sent immediately when flag is set
- Separate email for each container
- Ideal for time-sensitive discharges requiring immediate action
Daily Report (Consolidated):
- Single email with all flagged containers
- Sent at specified time each day
- Better for high-volume operations where immediate action isn't required
Use Direct Email when:
- Immediate action is required (pickup, customs clearance)
- Low discharge volume (won't overwhelm inboxes)
- Multiple stakeholders need separate alerts
Use Daily Report when:
- Managing high container volumes
- Recipients prefer summary views
- Immediate action isn't critical
- Reducing email noise is important
Advanced Configuration
Multi-Tier Flagging
Create different flags based on urgency or characteristics:
Immediate Action Required:
Flag: "Discharged - Reefer" (orange/red)
Condition: Container Type = Reefer
Notification: Direct Email to operations manager
Standard Processing:
Flag: "Discharged - Standard" (blue)
Condition: Container Type ≠ Reefer
Notification: Daily Report to logistics team
High-Value Shipments:
Flag: "Discharged - High Value" (yellow)
Condition: Shipment Value > $100,000
Notification: Direct Email to account manager + operations
Location-Specific Automations
Create separate automations for different terminals or ports:
Rotterdam Terminal:
Automation: "Discharge - Rotterdam"
Trigger: Container Discharge at Terminal
Condition: Destination Port = Rotterdam
Flag: "Discharged - RTM"
Action: Email Rotterdam operations team
Los Angeles Terminal:
Automation: "Discharge - LA"
Trigger: Container Discharge at Terminal
Condition: Destination Port = Los Angeles
Flag: "Discharged - LA"
Action: Email LA operations team + create pickup task
Time-Based Follow-Up
Combine discharge flags with time-based automations:
Initial discharge:
Automation: "Discharge Event"
Trigger: Container Discharge at Terminal
Action: Set flag "Discharged"
24-hour follow-up:
Automation: "Pickup Overdue"
Trigger: Time-based (24 hours after discharge)
Condition: Flag = "Discharged" AND Status ≠ "Picked Up"
Action: Set flag "Pickup Overdue" + Send escalation email
72-hour escalation:
Automation: "High Dwell Alert"
Trigger: Time-based (72 hours after discharge)
Condition: Flag = "Discharged" AND Status ≠ "Picked Up"
Action: Set flag "High Dwell - Action Required" + Email senior manager
Integration with Other Systems
Chain discharge notifications with external actions:
Update ERP system:
Action: Webhook to ERP
Payload: Container number, discharge timestamp, location
Trigger customs broker API:
Action: API call to customs system
Payload: B/L number, discharge confirmation
Update warehouse management system:
Action: WMS notification
Data: Container number, estimated arrival at warehouse
Best Practices
Flag Management
- Clear naming - Use descriptive flag names that indicate purpose
- Consistent colors - Assign colors meaningfully (e.g., blue for info, orange for action needed)
- Regular review - Periodically audit flags to remove or archive completed ones
- Documentation - Maintain a flag reference guide for your team
Notification Strategy
- Target appropriately - Send notifications only to those who need to act
- Balance frequency - Avoid notification fatigue with too many alerts
- Escalation paths - Define who gets notified when issues aren't resolved
- After-hours handling - Consider weekend/holiday notification policies
Automation Maintenance
- Monitor performance - Regularly check automation logs for failures
- Update conditions - Adjust as business rules change
- Archive old automations - Deactivate and archive obsolete automations
- Version control - Document changes to automation logic
Integration with Workflows
- Map complete process - Discharge is one step in a larger workflow
- Coordinate teams - Ensure all stakeholders understand their roles
- SLA tracking - Use discharge flags to measure performance against SLAs
- Continuous improvement - Analyze flag patterns to optimize operations
Troubleshooting
Flags Not Being Set
If discharge flags aren't appearing:
- Check automation status - Verify it's active, not paused
- Review discharge data - Confirm discharge events are being registered
- Test trigger conditions - Ensure containers meet condition criteria
- Check data sources - Terminal data may be delayed or unavailable
- Review automation logs - Look for errors or failed executions
- Verify flag still exists - Ensure flag wasn't accidentally deleted
Delayed Flag Assignment
If flags appear later than expected:
- Check data sync schedule - Terminal data typically syncs every 4-8 hours
- Review carrier data timing - Some carriers report discharges with delay
- Verify trigger type - Ensure "Notice (0 hours)" is selected
- Check system performance - During peak times, slight delays can occur
- Contact support - Persistent delays may indicate integration issues
Duplicate Flags
If the same container gets multiple discharge flags:
- Review automation logic - Multiple automations may be triggered
- Check for duplicate events - System may receive discharge confirmation multiple times
- Add de-duplication conditions - Use "Flag not already set" condition
- Audit active automations - Disable redundant discharge automations
Missing Notifications
If flags are set but notifications aren't sent:
- Verify notification configuration - Check settings in Flags section
- Confirm recipient email addresses - Ensure contacts have valid emails
- Check spam filters - Notifications may be blocked
- Review recipient selection - Ensure appropriate option is chosen (not "Never")
- Test with sample - Manually assign flag to test notification delivery
Related Resources
- Introduction to Automations - Understand automation basics
- Creating Automations - Detailed automation building guide
- Managing Notifications - Configure alert delivery methods
- Introduction to Flags - Understand flag functionality
- Sharing Flags with Partners - Extend flag visibility
- Milestone Tracking - Understand available milestones
Frequently Asked Questions
Q: Can I flag discharges at specific terminals only? A: Yes, add a condition like "Terminal Name = [specific terminal]" or "Destination Port = [specific port]" to your automation.
Q: What's the difference between discharge and arrival? A: "Arrival" typically refers to the vessel arriving at port. "Discharge" is when the container is physically unloaded from the vessel. Discharge is the more actionable milestone for logistics teams.
Q: Can I automatically remove the flag after pickup? A: Yes, create a second automation:
- Trigger: Milestone Change = "Full Gate Out POD"
- Action: Remove Flag "Discharge Event"
Q: How quickly are discharge events detected? A: This varies by data source:
- Terminal APIs: Real-time to 15 minutes
- Carrier data: 1-8 hours
- Manual entry: Immediate Most discharges are flagged within 1 hour of occurrence.
Q: Can I set different flags for discharge at different ports? A: Yes, create separate automations with location conditions and different flags for each port or terminal.
Q: Will I be notified about discharges that happened in the past? A: No, automations only trigger on events that occur after the automation is activated. Historical discharges won't generate flags or notifications.
Q: Can partners see my discharge flags? A: Only if you explicitly share the flag. By default, flags are private to your organization. See Sharing Flags with Partners for details.
Q: How many containers can be flagged simultaneously? A: There's no limit on the number of containers that can have the same flag or the number of discharge events the automation can process.
Support
Need help setting up discharge notifications?
- Email: [email protected]
- In-app chat: Available 24/7
- Documentation: https://docs.dockflow.com