{"product_id":"detect-recurring-servicenow-incidents-with-gemini-slack","title":"Detect Recurring ServiceNow Incidents with Gemini \u0026 Slack","description":"\u003ch3\u003eDetect recurring ServiceNow incidents automatically with Gemini \u0026amp; share results in Slack\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow pulls recent ServiceNow incidents, identifies repeating incident patterns with Google Gemini, creates matching \u003cstrong\u003eServiceNow Problem\u003c\/strong\u003e records, and posts a weekly summary to \u003cstrong\u003eSlack\u003c\/strong\u003e—so your team can move from “symptoms” to actionable root-cause work faster.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns weekly (Mondays at 8:00 AM)\u003c\/strong\u003e to start a new analysis (or manually for testing).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches ServiceNow Incidents\u003c\/strong\u003e opened within the last \u003cstrong\u003e30 days\u003c\/strong\u003e, then normalizes key fields for consistent processing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGroups incidents into clusters\u003c\/strong\u003e by \u003cstrong\u003econfiguration item (cmdb_ci)\u003c\/strong\u003e and \u003cstrong\u003ecategory\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eFor each cluster, sends incident details to \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e (via an AI agent) to:\n    \u003cul\u003e\n      \u003cli\u003eassess whether the pattern is recurring,\u003c\/li\u003e\n      \u003cli\u003eestimate recurrence frequency,\u003c\/li\u003e\n      \u003cli\u003egenerate a root-cause hypothesis,\u003c\/li\u003e\n      \u003cli\u003edraft a problem description, and\u003c\/li\u003e\n      \u003cli\u003erecommend an appropriate priority.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates ServiceNow Problem records\u003c\/strong\u003e for clusters flagged as recurring and meeting a \u003cstrong\u003eminimum recurrence threshold\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a Slack-formatted weekly report\u003c\/strong\u003e with links back to the created ServiceNow Problem records and posts it to your configured Slack channel.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomation engineers who want \u003cstrong\u003erecurring incident detection\u003c\/strong\u003e without manual triage.\u003c\/li\u003e\n  \u003cli\u003eSaaS operators running weekly IT operations reviews and needing a \u003cstrong\u003eProblem management\u003c\/strong\u003e pipeline from incidents.\u003c\/li\u003e\n  \u003cli\u003eTeams aiming to reduce repeat outages by converting repeated incident clusters into tracked ServiceNow Problems.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eServiceNow\u003c\/strong\u003e integration using Basic Auth: read from \u003cstrong\u003eIncident\u003c\/strong\u003e and create records in \u003cstrong\u003eProblem\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Gemini (PaLM)\u003c\/strong\u003e credential for the Gemini chat model used by the AI agent.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSlack\u003c\/strong\u003e integration to post the weekly incident-to-problem summary.\u003c\/li\u003e\n  \u003cli\u003eCore n8n nodes\/logic include: \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eno op\u003c\/strong\u003e, \u003cstrong\u003eslack\u003c\/strong\u003e, and \u003cstrong\u003eaggregate\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45916231860403,"sku":"N8N-18828","price":46.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/UScKrZ0b0WO4JitW5JN7Y_sWZLQoal.png?v=1788012686","url":"https:\/\/buyflowscripts.com\/products\/detect-recurring-servicenow-incidents-with-gemini-slack","provider":"N8N Commerce","version":"1.0","type":"link"}