Templates / Detect recurring ServiceNow incidents with Google Gemini and Slack

Detect recurring ServiceNow incidents with Google Gemini and Slack

Ready for 3.0

by iamvaar ✓ · 15 views · created 2026-08-29 · 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.

What this workflow does

This AI workflow has 16 nodes and runs on a schedule (every week at 08:00) (plus 1 other trigger). Along the way it connects ServiceNow, Slack and Google Gemini Chat Model.

How it runs

Trigger: On a schedule (every week at 08:00) (plus 1 other trigger).

  1. Set Config Parameters (Edit Fields (Set)): sets 2 fields: lookback_days, min_recurrence_threshold
  2. Fetch Incidents from Lookback (ServiceNow): get many (incident)
  3. Standardize Incident Fields (Edit Fields (Set)): sets or maps fields
  4. Group Incidents by Category (Code): runs custom JavaScript code
  5. Incident Analyzer Agent (AI Agent): runs an AI agent, with model: Google Gemini Chatbot; output parser: Parse Structured Output
  6. Set Threshold and Slack Channel (Edit Fields (Set)): sets 2 fields: min_recurrence_threshold, slack_channel
  7. Check Recurrence Threshold (If): checks a condition and branches into true / false
  8. Create ServiceNow Problem (ServiceNow): create (table record)
  9. Aggregate: combines items into one
  10. Construct Weekly Report Message (Code): runs custom JavaScript code

…plus 1 more step. See the full node list below.

Services it uses

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

Nodes used (12)

From the author

Quick overview Video Explanation: https://www.linkedin.com/posts/iamvaarblankarray-n8n-automation-ugcPost-7499437115198373888-XrkB/ This workflow runs weekly to pull recent ServiceNow incidents, groups them by configuration item and category, uses Google…

Excerpt from iamvaar'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.