Workflow: Auto Knowledge Base Article Generator ⚡ About the Creators This workflow was created by Varritech Technologies, an innovative agency that leverages AI to engineer, design, and deliver software development projects 500% faster than traditional agencies. Based in New York City, we specialize in custom software development, web applications, and digital transformation solutions. If you need assistance implementing this workflow or have questions about content management solutions, please

Workflow: Auto Knowledge Base Article Generator ⚡ About the Creators This workflow was created by Varritech Technologies, an innovative agency that leverages AI to engineer, design, and deliver software development projects 500% faster than traditional agencies. Based in New York City, we specialize in custom software development, web applications, and digital transformation solutions. If you need assistance implementing this workflow or have questions about content management solutions, please reach out to our team. 🏗️ Architecture Overview This workflow automates the end-to-end creation of a structured knowledge-base article from a simple chat prompt: 1. Chat Trigger → Receives user request 2. AI Drafting Loop → Generates & refines JSON article via AI agents 3. Perplexity Research Call → Deep-dive content generation 4. Editorial Loop → Up to 3 AI-driven revisions 5. Contentful Publish → Pushes final JSON into CMS --- 📦 Node-by-Node Breakdown Webhook: Chat Trigger Type: HTTP Webhook (POST /webhook/knowledge-article) Payload: Purpose: Kicks off the workflow on that chat prompt. AI Writer Agent Inputs: chatInput or existing article JSON Outputs: Purpose: Generates the article skeleton (metadata + initial content). HTTP Request: Perplexity Content Method: POST URL: Body: Purpose: Retrieves a long-form, deeply researched draft for the article body. Function: Format Output & Citations Logic: - Parse raw Perplexity response - Extract source URIs - Append them under a sources markdown list Editorial Loop 1. Initialize Counter to 0 2. AI Editor Agent - Reads draft JSON - Returns either: - action: "rewrite" + improvements: [...] - or action: "submit" 3. Merge Improvements (if rewriting) - Applies suggested updates to JSON fields 4. Limit Check - Stops after 3 iterations or on "submit" HTTP Request: Publish to Contentful Method: PUT URL: Headers: - Authorization: Bearer <token> - Content-Type: application/vnd.contentful.management.v1+json Body: Maps JSON → Contentful entry fields Outcome: Publishes the finalized article live. 🔍 Design Rationale & Best Practices Separation of Concerns Writer vs. Editor agents isolate creative drafting from quality review. Idempotent Loop Counter + action flags prevent infinite retries. Extensibility Swap in different research APIs or CMS targets with minimal changes. Structured JSON Ensures predictable input/output for each node.
Download the workflow JSON file after purchase.
Open n8n → click the menu → Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.