Detecting patterns of discrimination in the workplace using AI
Workflow Description
An advanced automation system that analyzes social media posts and text data to detect workplace discrimination patterns using artificial intelligence and natural language processing models.
How it works
- 1.Activate the workflow manually and collect text data from multiple sources
- 2.Process texts through advanced LLM chains and analyze content using OpenAI models
- 3.Extract suspicious indicators and patterns, categorizing them by severity levels
- 4.Generate visual reports and charts that illustrate the findings
- 5.Consolidate data and merge results from parallel processing operations
Use cases
- Monitor social media platforms to identify discriminatory language targeting specific groups
- Analyze internal complaint logs and messages to detect systematic bias patterns
- Create periodic HR reports on potential discrimination indicators across the organization
Requirements
- Valid OpenAI API key for running advanced language models
- Secure connection to Twitter/X accounts or alternative text data sources
- Basic understanding of LLM chain configuration and custom parameters
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (38)
When clicking ‘Test workflow’
Manual Trigger
OpenAI Chat Model1
OpenAI
OpenAI Chat Model2
OpenAI
Merge
Merge
OpenAI Chat Model
OpenAI
SET company_name
Set
Define dictionary of demographic keys
Set
ScrapingBee Search Glassdoor
HTTP Request
Extract company url path
HTML Page
ScrapingBee GET company page contents
HTTP Request
Extract reviews page url path
HTML Page
ScrapingBee GET Glassdoor Reviews Content
HTTP Request
Extract Overall Review Summary
HTML Page
Extract Demographics Module
HTML Page
Extract overall ratings and distribution percentages
Information Extractor
Extract demographic distributions
Information Extractor
Define contributions to variance
Set
Set variance and std_dev
Set
Calculate P-Scores
Code
Sort Effect Sizes
Set
Calculate Z-Scores and Effect Sizes
Set
Format dataset for scatterplot
Code
Specify additional parameters for scatterplot
Set
Quickchart Scatterplot
HTTP Request
QuickChart Bar Chart
Quick Chart
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note
Sticky Note10
Sticky Note
Sticky Note11
Sticky Note
Sticky Note12
Sticky Note
Text Analysis of Bias Data
LLM Chain