{
  "name": "Transform long content into bite-sized learning modules with GPT-4 & Google Docs",
  "nodes": [
    {
      "id": "webhook-input",
      "name": "Content Input",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -992,
        144
      ]
    },
    {
      "id": "validate",
      "name": "Validate Content",
      "type": "n8n-nodes-base.if",
      "position": [
        -288,
        144
      ]
    },
    {
      "id": "ai-analyzer",
      "name": "AI Content Analyzer",
      "type": "n8n-nodes-base.openAi",
      "position": [
        432,
        64
      ]
    },
    {
      "id": "success",
      "name": "Success Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2304,
        464
      ]
    },
    {
      "id": "error",
      "name": "Error Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        32,
        320
      ]
    },
    {
      "id": "8f2cb4de-e2cf-4c7b-85c5-da1ad294850f",
      "name": "Extract Content",
      "type": "n8n-nodes-base.set",
      "position": [
        -624,
        144
      ]
    },
    {
      "id": "d6f42e5d-c52b-4863-9274-5d7523a17802",
      "name": "Chunker",
      "type": "n8n-nodes-base.code",
      "position": [
        16,
        -128
      ]
    },
    {
      "id": "ce7acd35-9c73-430c-976a-9384e6da9174",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1040,
        -32
      ]
    },
    {
      "id": "a9eb5bf0-761d-4e38-b6ae-f86499e50d26",
      "name": "Update a document",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        2032,
        736
      ]
    },
    {
      "id": "2dd7a638-7d51-47fc-8203-945d7c336874",
      "name": "Create a document",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1808,
        736
      ]
    },
    {
      "id": "e1019640-d08a-476b-91d1-80c1905556ef",
      "name": "Format_Output",
      "type": "n8n-nodes-base.code",
      "position": [
        768,
        224
      ]
    },
    {
      "id": "cd6e38e3-64c6-4c9d-9d87-9f79a29fa195",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        1024,
        672
      ]
    },
    {
      "id": "709671a3-a263-46b2-9d29-7ffb77894f37",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1408,
        736
      ]
    },
    {
      "id": "2fe4d651-6820-4a04-a080-a593cf74221e",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1952,
        -272
      ]
    },
    {
      "id": "4152f8e3-fad2-4f29-b6fb-9c5c14204067",
      "name": "No Operation, do nothing1",
      "type": "n8n-nodes-base.noOp",
      "position": [
        288,
        464
      ]
    },
    {
      "id": "adb4236e-2b96-4eab-b42e-de6c13696232",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -736,
        -224
      ],
      "parameters": {
        "width": 368,
        "height": 544,
        "content": "# CONTENT PREPARATION\n\n**Extracts and standardizes** the input content for processing.\n\nPurpose:\n- Normalizes incoming data format\n- Ensures content field exists\n- Prepares data for validation step\n\nO"
      }
    },
    {
      "id": "slack-notify",
      "name": "Slack Modules",
      "type": "n8n-nodes-base.slack",
      "position": [
        1536,
        -96
      ]
    },
    {
      "id": "12566e4f-2759-4d8f-b597-8320fbd38b49",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        -528
      ],
      "parameters": {
        "width": 416,
        "height": 544,
        "content": "# SMART CONTENT CHUNKING\n\nBreaks large documents into topic-based chunks for optimal AI processing.\n\nFeatures:\n- Topic-based chunking (not arbitrary)\n- Preserves section boundaries\n- Handles documents"
      }
    },
    {
      "id": "bc48247f-6ba3-452b-8f0f-868000abc254",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -384
      ],
      "parameters": {
        "width": 336,
        "height": 608,
        "content": "# AI CONTENT PROCESSING\n\nConverts content chunks into structured micro-learning modules.\n\nAI Model: GPT-4\nPurpose: Create 2-4 modules per chunk containing:\n- Title\n- Key concept\n- Explanation (150-200"
      }
    },
    {
      "id": "dd2956a1-1a92-4ff0-b935-ce2de38b4191",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        -288
      ],
      "parameters": {
        "width": 304,
        "height": 672,
        "content": "# MODULE FORMATTER\n\nProcesses AI responses and creates structured module data.\n\nFunctions:\n- Parses JSON from AI responses\n- Handles multiple output formats\n- Creates email, Slack, mobile formats\n- Ad"
      }
    },
    {
      "id": "1c7ead8b-a53f-47a2-9a01-f30aff48dc08",
      "name": "Google Formatter",
      "type": "n8n-nodes-base.code",
      "position": [
        1504,
        400
      ]
    },
    {
      "id": "d73fc192-416b-4d81-b993-8381ceffae80",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        240
      ],
      "parameters": {
        "width": 512,
        "height": 432,
        "content": "# GOOGLE DOCS CONVERTER\n\nTransforms micro-learning modules into Google Docs format.\n\nFeatures:\n- Professional document structure\n- Course overview section\n- Module formatting with headers\n- Knowledge "
      }
    },
    {
      "id": "6b4acc67-8681-46b9-9ae4-973274e2c2a3",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1296,
        -576
      ],
      "parameters": {
        "width": 560,
        "height": 656,
        "content": "TEAM NOTIFICATIONS\nSends course details to Slack channel.\n\nFeatures:\n- Course summary with module count\n- First module preview\n- Completion notifications\n- Error alerts if needed\n\nChannels: Configure "
      }
    },
    {
      "id": "bd6f3caf-736a-4ef3-a3a9-4c9a98a552d7",
      "name": "Slack Course Details",
      "type": "n8n-nodes-base.slack",
      "position": [
        1536,
        -272
      ]
    },
    {
      "id": "f3f9b3fb-662d-466d-9961-91dd57622eb7",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1728,
        496
      ],
      "parameters": {
        "width": 480,
        "height": 432,
        "content": "# CREATE GOOGLE DOC\n\nPurpose of these nodes is to create a Google Doc and then update the created doc with the generated Google Doc content.\n\n**Update** the Google Doc credentials and the folder where"
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Create a document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Chunker": {
      "main": [
        [
          {
            "node": "AI Content Analyzer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Google Formatter",
            "type": "main",
            "index": 0
          },
          {
            "node": "Slack Modules",
            "type": "main",
            "index": 0
          },
          {
            "node": "Slack Course Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Content Input": {
      "main": [
        [
          {
            "node": "Extract Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format_Output": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          },
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Modules": {
      "main": [
        [
          {
            "node": "Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Response": {
      "main": [
        [
          {
            "node": "No Operation, do nothing1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Content": {
      "main": [
        [
          {
            "node": "Validate Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Formatter": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Success Response": {
      "main": [
        []
      ]
    },
    "Validate Content": {
      "main": [
        [
          {
            "node": "Chunker",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a document": {
      "main": [
        [
          {
            "node": "Update a document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update a document": {
      "main": [
        [
          {
            "node": "Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Content Analyzer": {
      "main": [
        [
          {
            "node": "Format_Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Course Details": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}