Templates / Triage social crisis mentions with Google Gemini and webhook routing

Triage social crisis mentions with Google Gemini and webhook routing

Ready for 3.0

by Qasim ✓ · 2 views · created 2026-08-20 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (9)

Basic LLM ChainGoogle Gemini Chat ModelStructured Output Parser

What it does

Quick overview This workflow receives social mention payloads via a webhook, uses Google Gemini to triage them against a PR crisis matrix, and routes the result into P0/P1/P2 handling paths while generating a structured incident record and response drafts. How it works 1. Receives a social mention via an HTTP POST webhook (or uses a manual test payload) containing platform, author, follower count, text, and URL. 2. Adds PR crisis matrix guidelines and normalizes the incoming mention fields for analysis. 3. Uses Google Gemini to score urgency/toxicity, classify severity (P0/P1/P2), extract key allegations, and draft both public and internal response text. 4. Routes the mention based on the urgency score into an executive “war-room” alert (P0), a support escalation brief (P1), or a simple community archive record (P2). 5. Consolidates the routed output and builds a final PR incident ledger entry with a unique incident ID, all scores, summaries, and drafts. Setup 1. Add Google Gemini (PaLM) API credentials for the Google Gemini node. 2. If using live monitoring, copy the webhook URL from the workflow and configure your social listening/source system to POST mention events to /social-mention-stream. 3. Review and adjust the crisis matrix thresholds and any hard-coded routing text (war-room/support language) to match your organization’s incident process.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.