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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 13 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Gemini Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Set High-Risk Social Mention Data (Edit Fields (Set)): sets 5 fields: platform, author_handle, follower_count…
  2. Attach PR Matrix & Context (Code): runs custom JavaScript code
  3. AI Crisis Triage Agent (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Mode; output parser: Parse Crisis Data
  4. Route by Severity Level (Switch): routes items into 3 branches
  5. Format War-Room Alert (Code): runs custom JavaScript code
  6. Format Support Escalation Alert (Code): runs custom JavaScript code
  7. Set Community Voice Data (Edit Fields (Set)): sets 2 fields: incident_tier, status
  8. Merge: merges the data from its input branches
  9. Final Ledger Sync Code (Code): runs custom JavaScript code

Services it uses

Google Gemini Chat Model

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (9)

From the author

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.…

Excerpt from Qasim's description on n8n.io.

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.