Block 1 - Daily Schedule
- Type / Role
- n8n-nodes-base.scheduleTrigger - scheduleTrigger
- Config choices
- Version 1.2
Who is this for? Support teams, knowledge managers, and ops builders who are drowning in outdated KB articles and repeat tickets . If your team keeps answering the same questions because your knowl...
n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.if, n8n-nodes-base.errortrigger
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Carlo B..
Original n8n.io sourceSupport teams, knowledge managers, and ops builders who are drowning in outdated KB articles and repeat tickets. If your team keeps answering the same questions because your knowledge base has gaps nobody has time to find — this template finds them automatically and writes the first draft for you.
This is a complete multi-agent AI pipeline — 31 nodes across 7 pipeline stages that automate the entire KB maintenance lifecycle:
The Configuration node defines your helpdesk API endpoints, notification settings, and thresholds. The pipeline fetches recent tickets and current KB articles via HTTP, normalises the data, then sends it to the Gap Analysis Agent (GPT-4.1).
If gaps are found, each gap is split into an individual item and routed through the Article Drafter Agent → Quality Reviewer Agent pipeline. In parallel, a Staleness Check flags outdated articles.
All results merge into the Report Generator Agent, which produces a structured health report. The Format Outputs node transforms this into both Slack blocks and a polished HTML email, delivered simultaneously via webhook and Gmail.
If no gaps are found, the pipeline skips article drafting but still runs the staleness check and generates a health report.
Required: OpenAI API key (GPT-4.1 and GPT-4.1-mini), Gmail account (for email reports) Optional: Slack incoming webhook (for Slack reports), any helpdesk with a REST API (Zendesk, Freshdesk, Intercom, etc.)
AI, AI Agent, Multi-Agent, LLM, OpenAI, GPT-4.1, Knowledge Base, Support, Helpdesk, Zendesk, Content, Automation, Gap Analysis, KB Management, Slack, Gmail, Report
> Ticket & KB Fetcher — Pulls recent support tickets and current knowledge base articles from your helpdesk API. Data is normalised into a consistent format for AI analysis. Update the HTTP Request nodes with your helpdesk URL and authentication.
> Multi-Agent Gap Analysis — 4 specialised AI agents work in sequence: (1) Gap Analysis identifies missing, weak, and stale content by cross-referencing tickets against KB articles. (2) Article Drafter writes complete KB article drafts for each gap. (3) Quality Reviewer scores each draft. (4) Report Generator produces a health score, executive summary, and prioritised actions.
> Dual Notification System — Results are formatted into both Slack blocks (with emoji health grades, key findings, and action items) and a polished HTML email (with color-coded score circle, gap tables with urgency badges, and action tables). Both are delivered simultaneously. Either channel can be disabled in the Configuration node.
> Article Freshness Check — Runs in parallel with the main pipeline. Flags any KB article not updated within the configurable threshold (default: 90 days). Results feed into the health report regardless of whether gaps were found.
> ⚠️ Credential Setup Required: After importing, you must configure: (1) OpenAI credentials on 4 AI model nodes (2x GPT-4.1, 2x GPT-4.1-mini), (2) Gmail OAuth credential on the Send Email Report node, (3) Your helpdesk API URL and auth on 2 HTTP Request nodes, and (4) Your Slack webhook URL and email address in the Configuration node. See the Setup Guide for a step-by-step checklist.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 38 workflow blocks. Download the JSON for the full node graph.
| Workflow | Detect KB gaps and auto-draft articles with GPT-4.1, Slack and Gmail |
|---|---|
| Complexity | advanced |
| Nodes | 38 |
| Categories | Internal Wiki, AI RAG |
| Author | Carlo B. |
| Published | 09 Apr 2026 |
Use the JSON export at /data/workflows/14951/14951.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Who is this for? Support teams, knowledge managers, and ops builders who are drowning in outdated KB articles and repeat tickets . If your team keeps answering the same questions because your knowl...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI RAG use case.