AI Agents

Detecting workplace discrimination patterns using advanced AI analysis

38 nodes 323 185 Automatic trigger
Download

Workflow Description

An automated workflow that monitors employee interactions across communication channels and internal data to identify discrimination indicators and bias patterns. It delivers detailed visual reports based on advanced language model analysis and actionable insights.

How it works

  1. 1.Trigger manual or automatic data scan from multiple organizational sources
  2. 2.Process text using advanced language models to detect discrimination markers and bias signals
  3. 3.Merge and categorize findings by risk severity and discrimination type
  4. 4.Generate interactive visual charts showing identified patterns and trends
  5. 5.Produce comprehensive report with evidence documentation and remediation recommendations

Use cases

  • Audit hiring policies and promotion decisions for fairness and consistency
  • Screen internal communications to identify biased or harmful language patterns
  • Create immediate alerts for HR when suspicious behaviors are detected
  • Build historical evidence records for preventive action and compliance documentation

Requirements

  • Active OpenAI account with advanced GPT model access for linguistic analysis
  • Authorized access to employee data and internal communications channels
  • Knowledge of applicable anti-discrimination laws and compliance requirements
  • Trained HR team to appropriately respond to and act on findings

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

OpenAI Twitter/X Quick Chart LLM Chain

Details

Trigger Automatic trigger
Nodes 38
Apps 4
Views 323
Downloads 185

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (38)

/

When clicking ‘Test workflow’

Manual Trigger

#1

OpenAI Chat Model1

OpenAI

#2

OpenAI Chat Model2

OpenAI

#3

Merge

Merge

#4

OpenAI Chat Model

OpenAI

#5

SET company_name

Set

#6

Define dictionary of demographic keys

Set

#7

ScrapingBee Search Glassdoor

HTTP Request

#8

Extract company url path

HTML Page

#9

ScrapingBee GET company page contents

HTTP Request

#10

Extract reviews page url path

HTML Page

#11

ScrapingBee GET Glassdoor Reviews Content

HTTP Request

#12

Extract Overall Review Summary

HTML Page

#13

Extract Demographics Module

HTML Page

#14

Extract overall ratings and distribution percentages

Information Extractor

#15

Extract demographic distributions

Information Extractor

#16

Define contributions to variance

Set

#17

Set variance and std_dev

Set

#18

Calculate P-Scores

Code

#19

Sort Effect Sizes

Set

#20

Calculate Z-Scores and Effect Sizes

Set

#21

Format dataset for scatterplot

Code

#22

Specify additional parameters for scatterplot

Set

#23

Quickchart Scatterplot

HTTP Request

#24

QuickChart Bar Chart

Quick Chart

#25

Sticky Note

Sticky Note

#26

Sticky Note1

Sticky Note

#27

Sticky Note2

Sticky Note

#28

Sticky Note3

Sticky Note

#29

Sticky Note4

Sticky Note

#30

Sticky Note6

Sticky Note

#31

Sticky Note7

Sticky Note

#32

Sticky Note8

Sticky Note

#33

Sticky Note9

Sticky Note

#34

Sticky Note10

Sticky Note

#35

Sticky Note11

Sticky Note

#36

Sticky Note12

Sticky Note

#37

Text Analysis of Bias Data

LLM Chain

#38