{
  "name": "Generate SEO Arabic articles and save to Notion",
  "nodes": [
    {
      "id": "b25624fb-0f62-4843-a895-186dcde46e98",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -100,
        -280
      ]
    },
    {
      "id": "ecb65485-28b8-46db-94ee-d5b55ff3f101",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        640,
        -280
      ]
    },
    {
      "id": "b72ea761-08c3-4c07-a149-434affefd068",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1260,
        -280
      ]
    },
    {
      "id": "bd027eb0-7179-4615-a7a0-ef93020b3bbb",
      "name": "Prmopts For Search",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        280,
        -280
      ]
    },
    {
      "id": "3ae7b855-715b-4298-a2dc-a29d24f372ca",
      "name": "Sonar - Search",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        880,
        -280
      ]
    },
    {
      "id": "8b9a40a8-bbe0-42be-b46a-14a8d5686cf9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        -380
      ],
      "parameters": {
        "width": 1640,
        "height": 380,
        "content": "## Research\n"
      }
    },
    {
      "id": "582ce887-713a-47e3-bbe0-d0b27eb84553",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        480
      ],
      "parameters": {
        "width": 860,
        "height": 380,
        "content": "## Outline\n"
      }
    },
    {
      "id": "86b33453-3f7a-42ce-ba8c-f5e7b1b3733c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        360,
        960
      ],
      "parameters": {
        "width": 820,
        "height": 320,
        "content": "## Writing The Article\n"
      }
    },
    {
      "id": "3f3896ad-0734-4343-918a-a444e6565415",
      "name": "Make An Outline",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        520,
        600
      ]
    },
    {
      "id": "f42f70d2-a3e9-4af1-8d95-8ac7650f1816",
      "name": "Split Out1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        940,
        600
      ]
    },
    {
      "id": "8cdef061-bae0-4bb8-b191-8b28718a901d",
      "name": "Writing The Article",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        640,
        1020
      ]
    },
    {
      "id": "787cea83-903f-430d-ab50-d678ba2da189",
      "name": "notion",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        860,
        1640
      ]
    },
    {
      "id": "f74fd145-7d53-4770-ac82-3466840a5eac",
      "name": "Make Notion Page",
      "type": "n8n-nodes-base.notion",
      "position": [
        120,
        -280
      ]
    },
    {
      "id": "073990ce-477c-4fc4-bbe8-aad4737678a4",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        220,
        1620
      ]
    },
    {
      "id": "9db38150-7bee-4066-9bdb-017775815c23",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        680,
        1620
      ]
    },
    {
      "id": "c48f41d3-e3f6-4c17-9056-89669032fdb5",
      "name": "Form",
      "type": "n8n-nodes-base.form",
      "position": [
        1000,
        1440
      ]
    },
    {
      "id": "bb916a02-687f-4e8f-bad8-92e342f5c40d",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        1400
      ],
      "parameters": {
        "width": 1400,
        "height": 460,
        "content": "## Saving The Article\n\n"
      }
    },
    {
      "id": "f2179207-c5d1-457d-bbf5-54d636fe3715",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        440,
        1560
      ]
    },
    {
      "id": "f37f4950-eda7-42cf-a788-eb2903ad303a",
      "name": "People_Also_Ask",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        440,
        200
      ]
    },
    {
      "id": "543eeb8a-d160-4865-a057-6495db437cf3",
      "name": "Filter_Q&A",
      "type": "n8n-nodes-base.code",
      "position": [
        660,
        200
      ]
    },
    {
      "id": "18d9ce34-71e8-469a-b2df-40953477b38a",
      "name": "Gather_Q&A",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        880,
        200
      ]
    },
    {
      "id": "27064bd4-e37b-48e2-b005-c9b1221882cb",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        300,
        100
      ],
      "parameters": {
        "width": 880,
        "height": 280,
        "content": "## FAQs From People_Also_Ask"
      }
    },
    {
      "id": "397bedb5-665b-4ef6-b997-6e95c045cb1f",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1160,
        -360
      ],
      "parameters": {
        "width": 820,
        "height": 2240,
        "content": "### 🔸 On form submission (Form Trigger)\n\n- **Purpose:** Starts the workflow when a user submits the article-writing form.\n\n• **Details:**\n\n- Collects \"KW\" (keyword) and optionally \"Article's Title\".\n-"
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "notion": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "People_Also_Ask",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Sonar - Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter_Q&A": {
      "main": [
        [
          {
            "node": "Gather_Q&A",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gather_Q&A": {
      "main": [
        [
          {
            "node": "Make An Outline",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Writing The Article",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sonar - Search": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Form",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Make An Outline": {
      "main": [
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "People_Also_Ask": {
      "main": [
        [
          {
            "node": "Filter_Q&A",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Make Notion Page": {
      "main": [
        [
          {
            "node": "Prmopts For Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Make Notion Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prmopts For Search": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Writing The Article": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}