ferrero-opentext/Python-Version/scripts/shared
DJP 3e21b90f6a Add B1→B2 email templates and remove webhook from B1→B2 workflow
Email Templates Added:

1. b1_to_b2_complete
   - Subject: Global Master Assets Downloaded
   - Shows campaign name, ID, asset count
   - Lists all processed assets with tracking IDs and Box URLs
   - Notes Box folder: 349261192115
   - Status updated: B1 → B2

2. b1_to_b2_partial
   - Subject: Partial Download - Global Campaign
   - Shows successful and failed assets separately
   - Each asset listed with name, tracking ID, error
   - Notes status NOT updated (remains B1)
   - Mentions automatic retry

Webhook Removed from B1→B2:
- B1→B2 workflow now only sends email (no webhook)
- Webhook only for A1→A2 workflow
- Simplified B1→B2 notifications

Email will now render properly with formatted HTML instead of raw dict.

Next B1→B2 run will send properly formatted email!

🤖 Generated with Claude Code
2025-11-03 14:04:14 -05:00
..
__pycache__ Add B1→B2 email templates and remove webhook from B1→B2 workflow 2025-11-03 14:04:14 -05:00
__init__.py Start Python automation - Foundation components 2025-10-30 16:38:26 -04:00
box_client.py Add A2→A3 polling version and fix database to use existing columns 2025-10-30 19:21:13 -04:00
config_loader.py Start Python automation - Foundation components 2025-10-30 16:38:26 -04:00
dam_client.py Fix B1→B2 workflow - Correct function name and search for Global comm campaigns 2025-11-03 13:47:20 -05:00
database.py Add A2→A3 polling version and fix database to use existing columns 2025-10-30 19:21:13 -04:00
filename_parser.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00
metadata_extractor_mvp.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00
notifier.py Add B1→B2 email templates and remove webhook from B1→B2 workflow 2025-11-03 14:04:14 -05:00