WorkflowOtherOpen

Auto Knowledge Base Article Generator

Triggered manually or by an app event. Connects Code, Condition, Execute Workflow, Function, HTTP request. Writer Agent - Focuses on writing for all the fields in contentful - Has a specified format for input and output - Handles implementing feedback from editor agent Count Incrementer - Tracks a variable count to ensure the flow hits a max number of feedback iterations. - This is critical for fe

Front matter
name: Auto Knowledge Base Article Generator
description: Triggered manually or by an app event. Connects Code, Condition, Execute Workflow, Function, HTTP request. ## Writer Agent - Focuses on writing for all the fields in contentful - Has a specified format for input and output - Handles implementing feedback from editor agent ## Count Incrementer - Tracks a variable count to ensure the flow hits a max number of feedback iterations. - This is critical for feedback to avoid hitting an infinite loop. ## Editor Agent - Sole purpose is to look at the quality of output for the previous combo of perplexity & openAI Agent. - Determines if it is publishable or
category: Automation
kind: Workflow
software: Code|Condition|Execute Workflow|Function|HTTP request

Auto Knowledge Base Article Generator

Triggered manually or by an app event. Connects Code, Condition, Execute Workflow, Function, HTTP request. ## Writer Agent

  • Focuses on writing for all the fields in contentful
  • Has a specified format for input and output
  • Handles implementing feedback from editor agent ## Count Incrementer
  • Tracks a variable count to ensure the flow hits a max number of feedback iterations.
  • This is critical for feedback to avoid hitting an infinite loop. ## Editor Agent
  • Sole purpose is to look at the quality of output for the previous combo of perplexity & openAI Agent.
  • Determines if it is publishable or

Steps

  • Manual Trigger (manualTrigger)
  • Create Perplexity Content (httpRequest)
  • AI Writer Agent (noOp)
  • AI Editor Agent (noOp)
  • OpenAI Chat Model (noOp)
  • OpenAI Chat Model1 (noOp)
  • Accept and Publish (noOp)
  • When chat message received (noOp)
  • JSON.parse1 (code)
  • Merge (merge)
  • Format (code)
  • JSON.parse (code)
  • Format Perplexity Output & Add Citations (code)
  • Initialize Count (set)
  • Increment Count (function)
  • Check Limit (if)
  • Stop Here (noOp)
  • Execute Workflow (executeWorkflow)
  • JSON.parse3 (code)
  • should submit (if)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Sticky Note3 (stickyNote)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Code/1756_Code_HTTP_Automation_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.