Check job descriptions for bias and inclusive language with OpenAI
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs when someone submits an n8n form (“Job Description Bias & Inclusive Language Checker”). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form (“Job Description Bias & Inclusive Language Checker”).
- Map Form Fields (Code): runs custom JavaScript code
- Long Enough? (If): checks a condition and branches into true / false
- Prepare Input (Code): runs custom JavaScript code
- Too Short - Error Response (n8n Form): shows the next form page
- Analyze Bias (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Auto-fixing Output Parser
- Build HTML Report (Code): runs custom JavaScript code
- Send Report (n8n Form): shows the next form page
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
From the author
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…