{
  "name": "Sync Note.com articles to WordPress with OpenAI categorization and tags",
  "nodes": [
    {
      "id": "5b1148da-46a5-430a-908b-8e95dc7dfab1",
      "name": "RSS Feed Trigger - Note.com",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -352,
        368
      ]
    },
    {
      "id": "f0d7156f-f03e-42e6-a61e-76a27dd203bc",
      "name": "Extract Note ID",
      "type": "n8n-nodes-base.set",
      "position": [
        -128,
        368
      ]
    },
    {
      "id": "6247674e-c752-4964-92e0-ef5ea4bdfefc",
      "name": "Get Article from Note.com API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        96,
        368
      ]
    },
    {
      "id": "3a6d7c51-c683-40bc-9ca4-255ca546fdc1",
      "name": "AI Categorization (OpenAI)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        256,
        368
      ]
    },
    {
      "id": "afcfa166-ec32-4bb5-b14b-38136e9171d6",
      "name": "Parse AI Response",
      "type": "n8n-nodes-base.code",
      "position": [
        528,
        368
      ]
    },
    {
      "id": "82ec0f58-35b0-4322-8bf7-9838ada971c8",
      "name": "Download Featured Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        752,
        368
      ]
    },
    {
      "id": "26560c4d-8fcc-40c8-bf07-179236470b7c",
      "name": "Upload Featured Image to WordPress",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        976,
        368
      ]
    },
    {
      "id": "5e74a9b7-ef16-4f96-87f0-487c72ba8a73",
      "name": "Prepare Image Array",
      "type": "n8n-nodes-base.set",
      "position": [
        1200,
        368
      ]
    },
    {
      "id": "d51124e4-8d69-4c64-be20-521680922ced",
      "name": "Split Images",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1408,
        368
      ]
    },
    {
      "id": "fba9b363-88dc-4a60-b060-96924188d863",
      "name": "Download Article Images",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1632,
        368
      ]
    },
    {
      "id": "8c0ca64f-ba98-4001-84a4-fa4cab2b07c8",
      "name": "Upload Article Images to WordPress",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1856,
        368
      ]
    },
    {
      "id": "ae800ca0-a2ba-404d-954a-d98d3df1cb18",
      "name": "Create URL Mapping",
      "type": "n8n-nodes-base.set",
      "position": [
        2080,
        368
      ]
    },
    {
      "id": "a168a2d7-0c60-47b8-a8aa-19500579d550",
      "name": "Aggregate URL Mappings",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2288,
        368
      ]
    },
    {
      "id": "cd7b90b6-d23e-4752-984f-a92c9509e974",
      "name": "Replace Image URLs in Content",
      "type": "n8n-nodes-base.code",
      "position": [
        2512,
        368
      ]
    },
    {
      "id": "9b9b5ce0-d197-4951-9786-33d3d0d41467",
      "name": "Create WordPress Post",
      "type": "n8n-nodes-base.wordpress",
      "position": [
        2736,
        368
      ]
    },
    {
      "id": "36516bd8-2fa3-45a3-8340-73c92525a2c1",
      "name": "Set Featured Image on Post",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2960,
        368
      ]
    },
    {
      "id": "e86e6085-9a5d-4446-9afb-ed3d915cfcd1",
      "name": "Sticky Note - Introduction",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        192
      ],
      "parameters": {
        "width": 400,
        "height": 540,
        "content": "##  Note.com to WordPress Auto-Publisher\n\nThis workflow automatically syndicates articles from note.com to your WordPress site.\n\n### How it works:\n1. **RSS Trigger** - Monitors your note.com RSS feed "
      }
    },
    {
      "id": "8cf4491a-08a9-4f5b-82f1-89fac91c631c",
      "name": "Sticky Note - AI",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        112
      ],
      "parameters": {
        "width": 376,
        "height": 216,
        "content": "###  AI Categorization\n\nOpenAI analyzes the article title and first 2000 characters to determine:\n- Best matching category (single)\n- Relevant tags (multiple)\n\n**Customize the system prompt** to match"
      }
    },
    {
      "id": "cc2123bd-17cd-467d-aae3-2e693846d016",
      "name": "Sticky Note - Images",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1616,
        96
      ],
      "parameters": {
        "width": 328,
        "height": 244,
        "content": "###  Image Processing\n\nAll images are:\n1. Downloaded from note.com\n2. Uploaded to WordPress media library\n3. URLs replaced in article content\n\nThis ensures images are hosted on YOUR server."
      }
    },
    {
      "id": "950ad1e0-c3d5-4b8a-8ad8-e64361ee109e",
      "name": "Sticky Note - Config",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -368,
        144
      ],
      "parameters": {
        "width": 376,
        "height": 180,
        "content": "###  Configuration Required\n\n1. **Replace RSS URL** with your note.com feed\n2. **Update WordPress URL** in HTTP nodes\n3. **Customize categories/tags** in AI prompt\n4. **Set credentials** for OpenAI an"
      }
    }
  ],
  "connections": {
    "Split Images": {
      "main": [
        [
          {
            "node": "Download Article Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Note ID": {
      "main": [
        [
          {
            "node": "Get Article from Note.com API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Response": {
      "main": [
        [
          {
            "node": "Download Featured Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create URL Mapping": {
      "main": [
        [
          {
            "node": "Aggregate URL Mappings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Image Array": {
      "main": [
        [
          {
            "node": "Split Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create WordPress Post": {
      "main": [
        [
          {
            "node": "Set Featured Image on Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate URL Mappings": {
      "main": [
        [
          {
            "node": "Replace Image URLs in Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Article Images": {
      "main": [
        [
          {
            "node": "Upload Article Images to WordPress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Featured Image": {
      "main": [
        [
          {
            "node": "Upload Featured Image to WordPress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Categorization (OpenAI)": {
      "main": [
        [
          {
            "node": "Parse AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RSS Feed Trigger - Note.com": {
      "main": [
        [
          {
            "node": "Extract Note ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Article from Note.com API": {
      "main": [
        [
          {
            "node": "AI Categorization (OpenAI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Replace Image URLs in Content": {
      "main": [
        [
          {
            "node": "Create WordPress Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Article Images to WordPress": {
      "main": [
        [
          {
            "node": "Create URL Mapping",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Featured Image to WordPress": {
      "main": [
        [
          {
            "node": "Prepare Image Array",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}