Completes all 4 Python automation scripts for Ferrero DAM workflows. New Features: - A5→A6 script for rework asset downloads - Separate Box folder for revisions (349441822875) - Folder naming with -Revisions suffix - Smart tracking ID lookup/reuse for existing assets - Email notifications for success and partial completion Changes: 1. NEW: scripts/a5_to_a6_download.py - Downloads rework assets from campaigns with status A5 - Uploads to Box Revisions folder with tracking IDs - Updates status A5→A6 when all assets succeed - No webhook (rework workflow) - Logs to logs/a5_to_a6.log 2. EDIT: shared/database.py - Added find_or_create_tracking_id() method - Searches by opentext_id + local_campaign_id - Reuses existing tracking IDs from A1→A2 workflow - Prevents duplicate entries for same asset/campaign 3. EDIT: shared/notifier.py - Added a5_to_a6_complete email template - Added a5_to_a6_partial email template - Shows "(Updated existing)" indicator for reused IDs Tested: ✓ All connections working (DAM, Box, Database) ✓ Script executes correctly ✓ Log file created successfully ✓ Found 2 A5 campaigns in test All 4 Python workflows now complete: ✓ A1→A2 (Master Assets) ✓ A2→A3 (Upload from Box) ✓ A5→A6 (Rework Assets) ✓ B1→B2 (Global Masters) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| shared | ||
| a1_to_a2_download.py | ||
| a2_to_a3_upload.py | ||
| a2_to_a3_upload_polling.py | ||
| a5_to_a6_download.py | ||
| b1_to_b2_download.py | ||
| test_connection.py | ||