Quick Overview
This workflow collects a client’s requirements and a freelancer’s proposal PDF via an n8n Form, extracts the PDF text, and uses OpenAI (GPT-4o Mini) to score the proposal and generate a structured evaluation that is rendered as an HTML report on the form completion page.
How it works
- Receives a form submission containing the client requirements text and an uploaded proposal PDF.
- Extracts the full text from the uploaded PDF.
- Sends the requirements and extracted proposal text to OpenAI (GPT-4o Mini) to score the proposal across five criteria and return strict JSON with a verdict, strengths, weaknesses, red flags, and improvements.
- Parses the AI JSON response and converts it into a styled HTML scorecard with a score breakdown and feedback sections.
- Displays the generated HTML report on the form completion page.
Setup
- Add an OpenAI credential and select it in the GPT-4o Mini chat model node.
- Activate the workflow and use the Form Trigger’s production URL to access the submission form.
- Confirm the PDF extraction node reads from the correct binary field name ("Proposal_PDF") that matches the form’s file upload field.