workflows.fit
Back to n8n workflows
n8n template$19By Varritech

Generate knowledge base articles with GPT & Perplexity AI for Contentful CMS

Workflow: Auto Knowledge Base Article Generator ⚡ About the Creators This workflow was created by [Varritech Technologies](https://varritech.com), an innovative agency that leverages AI to engineer, design, and delive...

DevelopmentCore NodesAILangchainHttp RequestAgentLm Chat Open AiTool Workflow
Open checkout
Loading interactive preview...

Template notes

Workflow: Auto Knowledge Base Article Generator

⚡ About the Creators This workflow was created by [Varritech Technologies](https://varritech.com), 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

mermaid flowchart LR A[Webhook: Chat Trigger] --> B[AI Writer Agent] B --> C[HTTP Request: Perplexity Content] C --> D[Function: Format Output & Citations] D --> E[Loop Start: Initialize Count] E --> F[AI Editor Agent] F --> G{action == "rewrite"?} G -- yes --> H[Function: Merge Improvements] H --> I[Increment Count] --> F G -- no --> J[Stop Loop] J --> K[HTTP Request: Publish to Contentful]

Webhook: Chat Trigger