Maintain and rewrite knowledge base articles with Claude and Slack
Ready for 3.0What this workflow does
This AI workflow has 43 nodes and runs on a schedule (every week at 09:00). Along the way it connects Postgres, Anthropic Chat Model, Slack and HTTP Request. It also calls api.tavily.com over HTTP.
How it runs
Trigger: On a schedule (every week at 09:00).
- Set Workflow Configuration (Edit Fields (Set)): sets 4 fields: knowledgeBaseApiUrl, currentProductVersion, stalenessThresholdDays…
- Fetch Knowledge Base Articles (HTTP Request): calls an HTTP API
- Calculate Staleness Signals (Code): runs custom JavaScript code
- Compute Staleness Scores (Code): runs custom JavaScript code
- Query Support Ticket Topics (Postgres): run a query
- Extract and Validate Links (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
- Gap Analyzer Agent (AI Agent): runs an AI agent, with model: Claude Sonnet Gap Analyzer; output parser: Parse Gap Analysis Output
- Check Article Links (HTTP Request): calls an HTTP API (HEAD)
- Query User Feedback Data (Postgres): run a query
…plus 21 more steps. See the full node list below.
Services it uses
HTTP calls to: api.tavily.com
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 (16)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Postgres
n8n-nodes-base.postgres - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Aggregate
n8n-nodes-base.aggregate - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge - Sentiment Analysis
@n8n/n8n-nodes-langchain.sentimentAnalysis - Switch
n8n-nodes-base.switch - Http Request Tool
n8n-nodes-base.httpRequestTool - Compare Datasets
n8n-nodes-base.compareDatasets
From the author
Quick Overview This workflow runs weekly to audit knowledge base articles for staleness, broken links, user sentiment, factual accuracy, and SEO, then uses Anthropic Claude to rewrite low-complexity updates, routes larger changes to Jira for SME review, logs…