Quick Overview
This workflow collects a job description via an n8n Form, validates and trims the text, then uses the OpenAI Chat Model to generate an inclusivity score, gender-coding read, and flagged phrases with suggested rewrites, returning the results as an HTML report on the form.
How it works
- Receives a job description (plus optional role title and industry) through an n8n Form Trigger.
- Normalizes the submitted fields and checks that the job description is at least 150 characters long.
- Returns a friendly HTML error message to the form when the submission is too short.
- Truncates very long job descriptions to stay within model limits.
- Sends the prepared text to the OpenAI Chat Model and parses the response into a structured bias report (score, summary, gender coding, flags, and readability note).
- Formats the structured results into an HTML report and displays it back to the user in the form completion page.
Setup
- Add an OpenAI credential to the OpenAI Chat Model node (or replace it with another supported chat model and credentials).
- Activate the workflow and use the Form Trigger production URL to access the form and run end-to-end tests.
- If needed, adjust the minimum length check (150 characters) and the maximum text length cutoff (12,000 characters) to match your use case.