Documint PDF Integration - Supabase Edge Function
Budget: -
HOURLY / PART_TIME
⭐ 0.00 (0)
United States
html, api, pdf
Fixed-scope · Remote · ~1 week
WHAT TIZZA DOES
Tizza generates personalized relocation intelligence reports for professionals considering international moves. A user pays via Stripe, fills in an intake form, and receives a polished PDF report by email covering six pillars: Visa & Legal, Financial, Career, Health, Lifestyle, and Emotional Fit.
CURRENT STACK
- Frontend: Lovable (full-stack, hosted)
- Backend: Supabase (edge functions, pg_cron, pg_net) — on Lovable Cloud / Pro plan
- AI: Claude API (Anthropic Opus) — generates report JSON
- Email: Resend
- Payments: Stripe
- PDF target: Documint (replacing current Puppeteer/PDFShift approach)
THE JOB
The Claude API already generates a structured JSON report. Your task is to connect that JSON to Documint so the output is a professional PDF, then deliver it to the user via Resend.
Specifically:
- Set up the Documint template — map all report fields (6 pillars, city verdict, headers, body text, scores) to Documint's template schema
- Update the Supabase edge function to call the Documint API with the generated JSON payload
- Handle the PDF response and pass it to Resend for email delivery
- Ensure secrets are correctly set in both Lovable environment variables AND Supabase edge function secrets
- QA: run 3 end-to-end test reports and confirm clean PDF output across sections
WHAT I'LL PROVIDE
- Full access to the Lovable project and Supabase dashboard
- The existing edge function code
- A sample JSON payload (real report output from Claude API)
- The existing HTML report template (for reference on layout/fields)
- Documint account (already created or I'll create before you start)
- Resend API key and email templates already in place
DELIVERABLES
- Working Documint template with all fields mapped
- Updated edge function deployed and live
- 3 QA'd test PDFs shared with me for sign-off
- Brief handover note explaining what was changed and where secrets live
YOU'RE A FIT IF YOU HAVE
- Experience with Supabase edge functions (Deno/TypeScript)
- Worked with third-party PDF APIs (Documint, PDFShift, Puppeteer, or similar)
- Comfortable with Lovable projects or similar no-code/full-stack platforms
- Available to start within 2–3 days and deliver within 1 week
NICE TO HAVE
- Previous work with Claude API or other LLM output pipelines
- Experience with Resend or similar transactional email tools
BUDGET
$150–300 fixed price depending on experience. Open to a small milestone structure (50% start, 50% on delivery of QA'd PDFs).
HOW TO APPLY
Send a short message (3–5 sentences) with: one similar project you've done, your availability, and your fixed-price quote. No cover letter templates — I read every application.
Open job