{
  "name": "Generate AI-powered markdown posts from workflow JSON with Gemini & LlamaIndex",
  "nodes": [
    {
      "id": "7b3480f2-a37b-45f8-9c17-471ed6c156ce",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        1088
      ],
      "parameters": {
        "width": 370,
        "height": 100,
        "content": "## ☕ Appreciate This Workflow?\n\nSupport the creator by sending coffee:\n\n**PayPal:** [paypal.me/khmuhtadin](https://paypal.me/khmuhtadin)\n\nThank you! 🚀"
      }
    },
    {
      "id": "2aedb616-d284-4c01-aeef-2861261aa25e",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -784,
        496
      ]
    },
    {
      "id": "08bb3e9c-ad00-44fb-9e08-ce1a6805f6f8",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -560,
        496
      ]
    },
    {
      "id": "e6f8db03-b521-4329-8b24-814b9f6f8057",
      "name": "n8n kb",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
      "position": [
        -208,
        512
      ]
    },
    {
      "id": "727398b8-cb31-4d6c-a251-805d22ac3ae1",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        208
      ],
      "parameters": {
        "width": 1888,
        "height": 1004,
        "content": "\n# Knowledge Base"
      }
    },
    {
      "id": "683674d6-cbaf-4b12-81f2-91084b8266f2",
      "name": "Parse Document via LlamaIndex",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -368,
        880
      ]
    },
    {
      "id": "215f858c-8965-411a-92d0-23a4e6ce8411",
      "name": "Monitor Document Processing",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -144,
        880
      ]
    },
    {
      "id": "6830ab49-57e9-44e7-8375-ac42bc3947ef",
      "name": "Check Parsing Completion",
      "type": "n8n-nodes-base.if",
      "position": [
        80,
        816
      ]
    },
    {
      "id": "5433bb1f-4809-4433-bb5e-ba61a708f5d8",
      "name": "Wait Before Status Recheck",
      "type": "n8n-nodes-base.wait",
      "position": [
        304,
        976
      ]
    },
    {
      "id": "441896de-cced-4ee4-b16d-90fea53c469b",
      "name": "Retrieve Parsed Content",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        304,
        768
      ]
    },
    {
      "id": "fc205d0e-ae4f-4d71-a1f6-0ecc226c19e6",
      "name": "Download Knowledge Document",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -592,
        880
      ]
    },
    {
      "id": "48db5b2b-fdf2-498b-bbdb-2523ff517baf",
      "name": "Knowledge Base Updated Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -816,
        880
      ]
    },
    {
      "id": "5a16f1dd-8e75-4cfa-8d0c-adae819fc78e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        208
      ],
      "parameters": {
        "width": 576,
        "height": 1008,
        "content": "# 📋 Credentials Setup Guide\n\n## Required Credentials\n\n### 1. Azure OpenAI API\n**Node:** Embeddings Azure OpenAI\n- **Purpose:** Generate embeddings for vector storage\n- **Setup:**\n  1. Go to [Azure Por"
      }
    },
    {
      "id": "81eceaab-3f60-4ebc-967f-356c64c4e172",
      "name": "Reranker Cohere",
      "type": "@n8n/n8n-nodes-langchain.rerankerCohere",
      "position": [
        -128,
        720
      ]
    },
    {
      "id": "e157dfee-5f76-456c-a260-eafeda3d88a9",
      "name": "Embedd 004",
      "type": "@n8n/n8n-nodes-langchain.embeddingsGoogleGemini",
      "position": [
        528,
        608
      ]
    },
    {
      "id": "db3b9d62-67f0-4bff-88c8-9f4ab50a3356",
      "name": "GEmini 2.5 pro",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -352,
        496
      ]
    },
    {
      "id": "094e1290-4b7a-4f7f-849c-59b6e8d4b3a0",
      "name": "N8N KB",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
      "position": [
        528,
        768
      ]
    },
    {
      "id": "2f304cb4-8a96-410a-8d15-e8bf1cc5fcc2",
      "name": "n8ncreator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -304,
        288
      ]
    },
    {
      "id": "6d7c4c21-14bb-42d7-8ed5-52ae833020f6",
      "name": "Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        672,
        928
      ]
    }
  ],
  "connections": {
    "n8n kb": {
      "ai_tool": [
        [
          {
            "node": "n8ncreator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Embedd 004": {
      "ai_embedding": [
        [
          {
            "node": "n8n kb",
            "type": "ai_embedding",
            "index": 0
          },
          {
            "node": "N8N KB",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Data Loader": {
      "ai_document": [
        [
          {
            "node": "N8N KB",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "GEmini 2.5 pro": {
      "ai_languageModel": [
        [
          {
            "node": "n8ncreator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Reranker Cohere": {
      "ai_reranker": [
        [
          {
            "node": "n8n kb",
            "type": "ai_reranker",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "n8ncreator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Retrieve Parsed Content": {
      "main": [
        [
          {
            "node": "N8N KB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Parsing Completion": {
      "main": [
        [
          {
            "node": "Retrieve Parsed Content",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait Before Status Recheck",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Status Recheck": {
      "main": [
        [
          {
            "node": "Monitor Document Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Knowledge Document": {
      "main": [
        [
          {
            "node": "Parse Document via LlamaIndex",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Monitor Document Processing": {
      "main": [
        [
          {
            "node": "Check Parsing Completion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Document via LlamaIndex": {
      "main": [
        [
          {
            "node": "Monitor Document Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Knowledge Base Updated Trigger": {
      "main": [
        [
          {
            "node": "Download Knowledge Document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}