Score client toxicity from form submissions with GPT-4o Mini and n8n Forms
Ready for 3.0What this workflow does
This AI workflow has 5 nodes and runs when someone submits an n8n form (“Toxic Client Detector”). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: When someone submits an n8n form (“Toxic Client Detector”).
- 2. Score Toxicity with AI (Basic LLM Chain): sends a prompt to an LLM, with model: GPT-4o Mini
- 3. Code - Build Result Page (Code): runs custom JavaScript code
- 4. Form - Show 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 (5)
- n8n Form Trigger
n8n-nodes-base.formTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - n8n Form
n8n-nodes-base.form
From the author
Quick Overview This workflow collects a client’s message via an n8n Form, analyzes it with OpenAI (GPT-4o Mini) to score toxicity and identify warning signs, then generates a styled HTML report showing the score, verdict, flags, and protection tips on the…