AutomationFlowsData & Sheets › Aggregate Chats with Toxicity Filter & Postgres

Aggregate Chats with Toxicity Filter & Postgres

Original n8n title: Chat Aggregation

Chat Aggregation. Uses httpRequest, postgres. Webhook trigger; 5 nodes.

Webhook trigger★★★★☆ complexity5 nodesHTTP RequestPostgres
Data & Sheets Trigger: Webhook Nodes: 5 Complexity: ★★★★☆ Added:

This workflow follows the HTTP Request → Postgres recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Chat Aggregation",
  "nodes": [
    {
      "name": "Triggers",
      "type": "n8n-nodes-base.webhook"
    },
    {
      "name": "Normalize Message",
      "type": "n8n-nodes-base.function"
    },
    {
      "name": "Toxicity Filter",
      "type": "n8n-nodes-base.httpRequest"
    },
    {
      "name": "DB Insert",
      "type": "n8n-nodes-base.postgres"
    },
    {
      "name": "WebSocket Broadcast",
      "type": "n8n-nodes-base.httpRequest"
    }
  ],
  "connections": {}
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Chat Aggregation. Uses httpRequest, postgres. Webhook trigger; 5 nodes.

Source: https://github.com/SwanyThree23/333333/blob/7f16072f8b9007b4e8a7a3f65db67fc851871cd1/n8n-workflows/chat-aggregation.json — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Data & Sheets

Scraping. Uses httpRequest, postgres, @apify/n8n-nodes-apify, respondToWebhook. Webhook trigger; 61 nodes.

HTTP Request, Postgres, @Apify/N8N Nodes Apify
Data & Sheets

Workflow B — AI Listing Engine. Uses httpRequest, postgres, errorTrigger. Webhook trigger; 47 nodes.

HTTP Request, Postgres, Error Trigger
Data & Sheets

Fluxo de voluntárias ZendeskXANXBD. Uses functionItem, zendesk, httpRequest, postgres. Webhook trigger; 25 nodes.

Function Item, Zendesk, HTTP Request +1
Data & Sheets

Fluxo de voluntárias ZendeskXANXBD. Uses functionItem, zendesk, httpRequest, postgres. Webhook trigger; 25 nodes.

Function Item, Zendesk, HTTP Request +1
Data & Sheets

Fluxo de voluntárias ZendeskXANXBD. Uses functionItem, zendesk, httpRequest, postgres. Webhook trigger; 25 nodes.

Function Item, Zendesk, HTTP Request +1