Skip to content
FlowHubFluxonLab
B
AI Automationfree

Spot Workplace Discrimination Patterns with AI

by Ludwigadapted from n8n official workflow galleryUpdated Aug 2026
RequiresBBasic LLM ChainCCodeHTMLHTMLHTTP RequestHTTP RequestInformation ExtractorInformation ExtractorOpenAI Chat ModelOpenAI Chat ModelQuickChartQuickChart
Share Post Share
MaWhen clicking ‘Test workflow’When clicking ‘…OpenAI Chat Model1OpenAI Chat Mod…OpenAI Chat Model2OpenAI Chat Mod…MeMergeOpenAI Chat ModelOpenAI Chat Mod…SeSET company_nameSeDefine dictionary of demographic keysDefine dictiona…HRScrapingBee Search GlassdoorScrapingBee Sea…HtExtract company url pathExtract company…HRScrapingBee GET company page contentsScrapingBee GET…HtExtract reviews page url pathExtract reviews…HRScrapingBee GET Glassdoor Reviews ContentScrapingBee GET…HtExtract Overall Review SummaryExtract Overall…HtExtract Demographics ModuleExtract Demogra…IEExtract overall ratings and distribution percentagesExtract overall…IEExtract demographic distributionsExtract demogra…SeDefine contributions to varianceDefine contribu…SeSet variance and std_devSet variance an…CoCalculate P-ScoresCalculate P-Sco…SeSort Effect SizesSort Effect Siz…SeCalculate Z-Scores and Effect SizesCalculate Z-Sco…CoFormat dataset for scatterplotFormat dataset …SeSpecify additional parameters for scatterplotSpecify additio…HRQuickchart ScatterplotQuickchart Scat…QCQuickChart Bar ChartQuickChart Bar …CLText Analysis of Bias DataText Analysis o…1234567891011121314151617181920212223242526
1/5
STEPS · 26
Run manually by an operator

How It Works: • Scrapes company review data from Glassdoor using ScrapingBee. • Extracts demographic-based ratings using AI-powered text analysis. • Calculates workplace disparities with statistical measures like z-scores, effect sizes, and p-values. • Generates visualizations (scatter plots, bar charts) to highlight patterns of discrimination or bias. Example Visualizations: Set Up Steps: Estimated time: ~20 minutes. • Replace ScrapingBee and OpenAI credentials with your own. • Input the company name you want to analyze (best results with large U.S.-based organizations). • Run the workflow and review the AI-generated insights and visual reports. This workflow empowers users to identify potential workplace discrimination trends, helping advocate for greater equity and accountability.

Tags

n8nreference-onlychain-llmhtmlinformation-extractorlm-chat-open-aiquick-chart
Connects
BBasic LLM ChainCCodehtmlHTMLWHTTP RequestinformationextractorInformation ExtractoropenaichatmodelOpenAI Chat Model
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes26
AddedJan 30, 2025

Related workflows

See all AI Automation
DhtmlWopenaichatmodel
free

Scrape and summarize webpages with AI

This workflow integrates both web scraping and NLP functionalities. It uses HTML parsing to extract links, HTTP requests to fetch essay content, and AI-based summarization using GPT-4o. It's an excellent example of an end-to-end automated task that is not only efficient but also provides real value by summarizing valuable content. Note that to use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
BCgooglecalendaropenaichatmodel
free

Schedule weekly focus-time blocks with Google Calendar, OpenAI, and Slack

Quick overview This workflow runs every Sunday at 18:00 to scan your Google Calendar for next week, find free gaps of at least two hours within your working hours, auto-book them as “🧘 Focus Time” events, and then DM you a personalized deep-work plan in Slack using OpenAI. How it works Runs every Sunday at 18:00 on a schedule. Loads your working-hour preferences and fetches all events from your Google Calendar. Calculates weekday-only free gaps within your working hours and keeps only gaps that meet the minimum block length. If no qualifying gap exists, sends you a Slack DM warning that next week is too fragmented for a focus block. If gaps exist, limits the number of blocks for the week and creates “🧘 Focus Time (protected by n8n)” events in Google Calendar for each selected slot. Uses OpenAI to generate a short, personal Slack message that lists the protected blocks and suggests what kind of work fits each. Sends the generated deep-work plan to you as a Slack DM. Setup Add Google Calendar credentials, select the calendar to read from and the calendar to create “🧘 Focus Time” events in. Add Slack credentials and set your target Slack username in both the plan DM and warning mes

by kenta