Playwright Auto-Save Quotes to Drive
Budget: $250 – $750 USD
I have an internal web-based quotation system and I want the entire “export to PDF and file it” step taken off my hands. Using Playwright, the script must:
• Log in to the quotation portal, detect when a new quote calculation is finalised, and trigger the built-in export/print routine.
• Save each quote as a PDF (no other formats needed) directly into a designated Google Drive folder via Drive’s API.
• Name the PDF exactly as “{Client Name} – {Quote ID}.pdf” so the team can locate files instantly.
A clean, headless run is important; the routine should work from a scheduled job on our server and send success/failure logs so I know it ran. Hand over the commented Playwright code (TypeScript or JavaScript is fine), a simple README for environment variables and Google service-account setup, and a short demo video or screenshots proving it all works.
I’ll test by generating a few live quotes—if the PDFs appear in Drive with the correct names, we’re done.
• Log in to the quotation portal, detect when a new quote calculation is finalised, and trigger the built-in export/print routine.
• Save each quote as a PDF (no other formats needed) directly into a designated Google Drive folder via Drive’s API.
• Name the PDF exactly as “{Client Name} – {Quote ID}.pdf” so the team can locate files instantly.
A clean, headless run is important; the routine should work from a scheduled job on our server and send success/failure logs so I know it ran. Hand over the commented Playwright code (TypeScript or JavaScript is fine), a simple README for environment variables and Google service-account setup, and a short demo video or screenshots proving it all works.
I’ll test by generating a few live quotes—if the PDFs appear in Drive with the correct names, we’re done.