993 B
993 B
Upwork Email-Triggered Auto-Apply Pipeline
Architecture
Gmail (Upwork notification)
→ Gmail API watch() push notification
→ Google Pub/Sub
→ Cloudflare Worker (webhook)
→ Clawdbot wake event
→ Pipeline script processes new emails
→ Score job (skip if < $50/hr or < $1K fixed)
→ Scrape full job details from Upwork
→ Spawn sub-agent to build deliverables
→ Deploy deliverables to CF Pages
→ Submit proposal with screenshots + demo link
→ Post results to Discord #pipeline
Components
pipeline.sh— Main pipeline entry point (called by Clawdbot wake)worker/— Cloudflare Worker for Gmail push webhooktemplates/— Proposal templatesprocessed.json— Track already-processed email IDs
Setup
- Gmail OAuth:
gog auth add jake@localbosses.org --services gmail - Deploy CF Worker:
cd worker && wrangler deploy - Set up Gmail watch:
node setup-watch.js - Add Clawdbot cron for wake event handling