How calisatgi/um-process-gift works
UM-Process-Gift appears to be a command-line report tool for finding recently bounced Campaign Monitor transactional messages and exporting their details. The visible workflow fetches clients, retrieves and filters bounced-message timelines, looks up message details, extracts gift/revenue identifiers, and prepares a sorted report. The source excerpt is incomplete: it does not show the full client-selection flow or the final export dispatch, so those connections are not asserted. The README provides no further capability detail.
Main entry points: CM_Bounced_CLI.py Workflow coordinator
Components 13
CLI workflow
- Workflow coordinator
CM_Bounced_CLI.py - Client selection
CM_Bounced_CLI.py
Message collection
- Fetch clients
CM_Bounced_CLI.py - Fetch bounce timeline
CM_Bounced_CLI.py - Seven-day filter
CM_Bounced_CLI.py - Fetch message details
CM_Bounced_CLI.py
Report preparation
- Extract identifiers
CM_Bounced_CLI.py - Build sorted report
CM_Bounced_CLI.py - PDF export
CM_Bounced_CLI.py - Excel export
CM_Bounced_CLI.py
Other components
- Operator
- Campaign Monitor API
- Report file
Connections 13
- Operator → Workflow coordinator: starts
- Workflow coordinator → Fetch clients: requests clients
- Fetch clients → Campaign Monitor API: calls API
- Workflow coordinator → Client selection: prompts selection
- Workflow coordinator → Fetch bounce timeline: requests timeline
- Fetch bounce timeline → Campaign Monitor API: calls API
- Workflow coordinator → Seven-day filter: filters messages
- Workflow coordinator → Fetch message details: requests details
- Fetch message details → Campaign Monitor API: calls API
- Workflow coordinator → Extract identifiers: parses details
- Workflow coordinator → Build sorted report: sorts records
- PDF export → Report file: writes PDF
- Excel export → Report file: writes workbook