Check job descriptions for bias with forms and OpenAI GPT-4.1

Go to Workflow
0 views
Built by isaWOW isaWOW
Created on July 24, 2026

Description

Quick Overview
This workflow collects a job description via an n8n form and uses OpenAI to score inclusivity, identify gender-coded language, and flag discouraging phrases with suggested rewrites, returning the results as a formatted HTML report.

How it works
Receives a job description submission through an n8n Form Trigger, with optional role title and industry context.
Validates that the job description has at least 150 characters and returns an on-page error message if it is too short.
Trims very long job description text to stay within model limits before analysis.
Sends the prepared job description to an OpenAI chat model to generate a structured bias and inclusive-language report (score, gender-coding details, flagged phrases, and readability note).
Formats the structured results into an HTML report with severity highlighting and word chips for gender-coded terms.
Displays the HTML report back to the user in the form completion page.

Setup
Add an OpenAI API credential to the OpenAI chat model node and confirm the selected model is available to your account.
Activate the workflow and use the Form Trigger production URL to access the form.
Optionally adjust the minimum-length check (150 characters) and the maximum text limit (12,000 characters) to match your usage and cost constraints.

Nodes Used (5)

Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured