{
  "name": "Repurpose one idea into a week of social content with Notion and GPT-4o",
  "nodes": [
    {
      "id": "9c1b68ed-9cdb-4b22-adb5-ba838cc7c1af",
      "name": "Sticky: Overview & Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4abe0ac9-cd23-49fc-9430-7b869c6f0a43",
      "name": "Sticky: Step 1 – Triggers",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c8689525-a4a1-4435-85b9-080765309c15",
      "name": "Sticky: Step 2 – AI & Storage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "72bd68bc-1624-47b5-b5c6-17f67357368c",
      "name": "Webhook: Receive Idea/URL",
      "type": "n8n-nodes-base.webhook",
      "position": [
        240,
        180
      ]
    },
    {
      "id": "90210297-95e0-49af-a328-199880926478",
      "name": "Notion Trigger: On Ready Status",
      "type": "n8n-nodes-base.notionTrigger",
      "position": [
        240,
        420
      ]
    },
    {
      "id": "f58b4bf1-c95a-469e-bfc3-24e7116c85e2",
      "name": "Merge: Both Triggers",
      "type": "n8n-nodes-base.merge",
      "position": [
        480,
        300
      ]
    },
    {
      "id": "dbe9c25a-f7e5-4fad-b672-f89e26dae8d7",
      "name": "Wait: Jitter 7–22s",
      "type": "n8n-nodes-base.wait",
      "position": [
        660,
        300
      ]
    },
    {
      "id": "cce8bee3-6f2d-4acb-9066-21cdec677f15",
      "name": "Set: Gather Inputs",
      "type": "n8n-nodes-base.set",
      "position": [
        840,
        300
      ]
    },
    {
      "id": "37c27b20-9b27-442b-b68e-bd4a4af0f9a0",
      "name": "IF: Has Source URL?",
      "type": "n8n-nodes-base.if",
      "position": [
        1020,
        300
      ]
    },
    {
      "id": "24b93fd5-e4c6-4062-9dcd-c3eba6f5c1b5",
      "name": "HTTP: Fetch Source Page",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1200,
        200
      ]
    },
    {
      "id": "83f26631-069e-4e28-b150-a72664087e07",
      "name": "Code: Strip HTML to Text",
      "type": "n8n-nodes-base.function",
      "position": [
        1380,
        200
      ]
    },
    {
      "id": "c8e44a12-3d42-43a0-8428-eb8ec4b0cece",
      "name": "Set: Use Raw Idea",
      "type": "n8n-nodes-base.set",
      "position": [
        1200,
        420
      ]
    },
    {
      "id": "590fb664-da79-47b3-8949-f3b239ca7118",
      "name": "Merge: Choose Source",
      "type": "n8n-nodes-base.merge",
      "position": [
        1560,
        300
      ]
    },
    {
      "id": "b947146a-49f8-4729-ba86-6cff40dea301",
      "name": "Set: User Config (Edit Me!)",
      "type": "n8n-nodes-base.set",
      "position": [
        1740,
        300
      ]
    },
    {
      "id": "ea78bd26-74ca-49d6-b460-711d9aa76e6a",
      "name": "OpenAI: Repurpose → JSON",
      "type": "n8n-nodes-base.openAi",
      "position": [
        1920,
        300
      ]
    },
    {
      "id": "25ff45b8-af1f-422c-a4d7-74f4c52ea5ca",
      "name": "Code: Parse AI Output",
      "type": "n8n-nodes-base.function",
      "position": [
        2100,
        300
      ]
    },
    {
      "id": "695cdca1-d4c4-415a-96dc-0878907d2c15",
      "name": "Notion: Save Content Page",
      "type": "n8n-nodes-base.notion",
      "position": [
        2280,
        300
      ]
    },
    {
      "id": "f54e1226-a106-4fc5-a20b-f73824ea37f0",
      "name": "IF: Schedule to Tailwind?",
      "type": "n8n-nodes-base.if",
      "position": [
        2460,
        220
      ]
    },
    {
      "id": "e1f9d3a5-1ad0-468e-a413-62152de0161f",
      "name": "HTTP: Post to Tailwind",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2640,
        220
      ]
    },
    {
      "id": "2f311e7e-145b-4357-8d32-68e819ed7baa",
      "name": "IF: Post to Pinterest?",
      "type": "n8n-nodes-base.if",
      "position": [
        2460,
        380
      ]
    },
    {
      "id": "ee969e37-60ca-4e88-9b40-193630789ebd",
      "name": "HTTP: Create Pinterest Pin",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2640,
        380
      ]
    },
    {
      "id": "9e72c909-389f-40cb-a62b-544521672a5f",
      "name": "Sticky: Troubleshooting & Observability",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Set: Use Raw Idea": {
      "main": [
        [
          {
            "node": "Merge: Choose Source",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Set: Gather Inputs": {
      "main": [
        [
          {
            "node": "IF: Has Source URL?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Has Source URL?": {
      "main": [
        [
          {
            "node": "HTTP: Fetch Source Page",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set: Use Raw Idea",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge: Both Triggers": {
      "main": [
        [
          {
            "node": "Wait: Jitter 7–22s",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge: Choose Source": {
      "main": [
        [
          {
            "node": "Set: User Config (Edit Me!)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait: Jitter 7–22s": {
      "main": [
        [
          {
            "node": "Set: Gather Inputs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code: Parse AI Output": {
      "main": [
        [
          {
            "node": "Notion: Save Content Page",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "IF: Schedule to Tailwind?",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "IF: Post to Pinterest?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Post to Pinterest?": {
      "main": [
        [
          {
            "node": "HTTP: Create Pinterest Pin",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP: Fetch Source Page": {
      "main": [
        [
          {
            "node": "Code: Strip HTML to Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code: Strip HTML to Text": {
      "main": [
        [
          {
            "node": "Merge: Choose Source",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Schedule to Tailwind?": {
      "main": [
        [
          {
            "node": "HTTP: Post to Tailwind",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook: Receive Idea/URL": {
      "main": [
        [
          {
            "node": "Merge: Both Triggers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI: Repurpose → JSON": {
      "main": [
        [
          {
            "node": "Code: Parse AI Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: User Config (Edit Me!)": {
      "main": [
        [
          {
            "node": "OpenAI: Repurpose → JSON",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion Trigger: On Ready Status": {
      "main": [
        [
          {
            "node": "Merge: Both Triggers",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  }
}