Here's an overview of the steps executed during an announcement:
1. File Upload and Validation:
- Uploading the file (via website)
- Validation file format
- Parsing or mapping fields
2. External Sender Processing (if applicable):
- Applying rules to distribute the announcement between different carrier platforms
- Verifying unique Task ID by date (and type) if the feature is activated
3. Task Creation:
- Updating task progress to READY, UNPLANNED, or ERROR
- If in ERROR, refer to the announcement errors article for troubleshooting
4. Per-Task Processing:
- Geocoding (using a provider or the Address Book)
- Checking if the task is out of the activity zone (if enabled)
- Allocating a platform zone
- Allocating a hub
- Allocating a zone linked to the hub (if it exists)
- Applying Admin Rules
- Assigning carrier (for associated platforms)
- Generating tracking code for recipient access
- Validating and assign timeslots (for planning flow)
- Adding or updating Customer in the Customer Book
- Validating pickup and delivery pairs
- Creating pickups automatically (if enabled)
5. Completion Notifications:
- Sending notification that announcement is completed
- Sending webhook for announcement completion
- Sending webhook for tasks announced
Understanding this sequence ensures proper data management and helps troubleshoot any issues that may arise during the announcement process.