MohammadAli-production/solvei8-sewing-wip-rpa
0
Solvei8 RPA v26 — Daily Sewing WIP + Finishing Final QC QC Report Automation
Automated RPA tool for downloading and processing two reports from Solvei8 Analytics in a single job run:
- Daily Sewing WIP Report
- Daily Finishing Final QC QC Report
✅ What's New in v26 (vs v25)
✅ What Was in v25 (still applies)
Features
- ✅ Downloads Daily Sewing WIP Report (same as v25 — unchanged)
- ✅ Downloads Daily Finishing Final QC QC Report (NEW in v26)
- ✅ Fresh login every run — no stale session errors
- ✅ Department filter auto-clear — handles filtered report page
- ✅ Date-first selection — correct modal interaction order for both reports
- ✅ WIP Summary Excel — two columns: Line (1–28 + Pilot Line 01) and WIP quantity
- ✅ Live streaming log
- ✅ Custom date picker
- ✅ No persistent storage needed — works on free HF tier
Setup
1. Create the Space
- Go to huggingface.co/new-space
- SDK: Docker
- Visibility: Private (recommended — contains credentials)
2. Upload Files
Upload all 4 files: Dockerfile, app.py, requirements.txt, README.md
3. Set Secrets
4. ⚠️ Do NOT Enable Persistent Storage
Output Files Per Run (5 total)
How the Finishing QC Download Works (v26)
After completing the WIP Report download, the RPA:
- Navigates back to the reports page
- Searches for "Daily Finishing Final QC QC Report" (multi-layer TreeWalker/JS/XPath)
- Opens the report modal
- Selects the target date
- Clicks BOTH "Select All" buttons (Shifts + Lines)
- Clicks "Download EXCEL"
- Saves raw file as
FinishingQC_DATE_TS_RAW_ORIGINAL.xlsx
Version History
Troubleshooting
Login fails: Check SOLVEI8_USERNAME and SOLVEI8_PASSWORD secrets.
Download timeout: Site may be slow — tool waits 120s per file. Try again.
Finishing QC not found: Report name must be exactly "Daily Finishing Final QC QC Report" on the reports page.
Only WIP downloaded: Check log for FQC- prefixed step entries to diagnose the Finishing QC failure.
