{
  "openruna_format": "flow-graph-v1",
  "title": "Auto Knowledge Base Article Generator",
  "slug": "auto-knowledge-base-article-generator",
  "source_filename": "1756_Code_HTTP_Automation_Webhook.json",
  "nodes": [
    {
      "id": "Create Perplexity Content",
      "name": "Create Perplexity Content",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "AI Writer Agent",
      "name": "AI Writer Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "AI Editor Agent",
      "name": "AI Editor Agent",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model",
      "name": "OpenAI Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "OpenAI Chat Model1",
      "name": "OpenAI Chat Model1",
      "integration": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "kind": "action"
    },
    {
      "id": "Accept and Publish",
      "name": "Accept and Publish",
      "integration": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "kind": "action"
    },
    {
      "id": "When chat message received",
      "name": "When chat message received",
      "integration": "@n8n/n8n-nodes-langchain.chat",
      "kind": "trigger"
    },
    {
      "id": "JSON.parse1",
      "name": "JSON.parse1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Format",
      "name": "Format",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "JSON.parse",
      "name": "JSON.parse",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Format Perplexity Output & Add Citations",
      "name": "Format Perplexity Output & Add Citations",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Initialize Count",
      "name": "Initialize Count",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Increment Count",
      "name": "Increment Count",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Check Limit",
      "name": "Check Limit",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Stop Here",
      "name": "Stop Here",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Execute Workflow",
      "name": "Execute Workflow",
      "integration": "executeWorkflow",
      "kind": "action"
    },
    {
      "id": "JSON.parse3",
      "name": "JSON.parse3",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "should submit",
      "name": "should submit",
      "integration": "if",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Merge",
      "to": "Format"
    },
    {
      "from": "Format",
      "to": "AI Editor Agent"
    },
    {
      "from": "Stop Here",
      "to": "JSON.parse3"
    },
    {
      "from": "JSON.parse",
      "to": "AI Writer Agent"
    },
    {
      "from": "JSON.parse",
      "to": "Increment Count"
    },
    {
      "from": "Check Limit",
      "to": "Stop Here"
    },
    {
      "from": "Check Limit",
      "to": "should submit"
    },
    {
      "from": "JSON.parse1",
      "to": "Merge"
    },
    {
      "from": "JSON.parse3",
      "to": "Execute Workflow"
    },
    {
      "from": "should submit",
      "to": "JSON.parse3"
    },
    {
      "from": "should submit",
      "to": "JSON.parse"
    },
    {
      "from": "AI Editor Agent",
      "to": "Check Limit"
    },
    {
      "from": "AI Writer Agent",
      "to": "Create Perplexity Content"
    },
    {
      "from": "AI Writer Agent",
      "to": "JSON.parse1"
    },
    {
      "from": "Increment Count",
      "to": "Merge"
    },
    {
      "from": "Initialize Count",
      "to": "AI Writer Agent"
    },
    {
      "from": "Initialize Count",
      "to": "Increment Count"
    },
    {
      "from": "Create Perplexity Content",
      "to": "Format Perplexity Output & Add Citations"
    },
    {
      "from": "When chat message received",
      "to": "Initialize Count"
    },
    {
      "from": "Format Perplexity Output & Add Citations",
      "to": "Merge"
    }
  ]
}