{
  "name": "7-day Pinterest content planner with Notion integration and email delivery",
  "nodes": [
    {
      "id": null,
      "name": "Sticky: README",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Prereqs + Schema",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Setup Checklist",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Testing & Behavior",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Compliance + Troubleshooting",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        360
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Weekly Cron",
      "type": "n8n-nodes-base.cron",
      "position": [
        -160,
        40
      ]
    },
    {
      "id": null,
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -160,
        200
      ]
    },
    {
      "id": null,
      "name": "Set: User Config",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        200
      ]
    },
    {
      "id": null,
      "name": "If: Notion Enabled?",
      "type": "n8n-nodes-base.if",
      "position": [
        360,
        220
      ]
    },
    {
      "id": null,
      "name": "Notion: Get Ideas",
      "type": "n8n-nodes-base.notion",
      "position": [
        540,
        220
      ]
    },
    {
      "id": null,
      "name": "Function: Extract Ideas",
      "type": "n8n-nodes-base.function",
      "position": [
        720,
        220
      ]
    },
    {
      "id": null,
      "name": "Function: Sample Ideas",
      "type": "n8n-nodes-base.function",
      "position": [
        360,
        60
      ]
    },
    {
      "id": null,
      "name": "Function: Build 7-Day Plan",
      "type": "n8n-nodes-base.function",
      "position": [
        900,
        120
      ]
    },
    {
      "id": null,
      "name": "Function: Build Email",
      "type": "n8n-nodes-base.function",
      "position": [
        960,
        240
      ]
    },
    {
      "id": null,
      "name": "Email: Send Plan",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1140,
        240
      ]
    },
    {
      "id": null,
      "name": "On Error",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -160,
        360
      ]
    },
    {
      "id": null,
      "name": "On Error → Email Owner",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1140,
        300
      ]
    }
  ],
  "connections": {
    "On Error": {
      "main": [
        [
          {
            "node": "On Error → Email Owner",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Weekly Cron": {
      "main": [
        [
          {
            "node": "Set: User Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Set: User Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: User Config": {
      "main": [
        [
          {
            "node": "If: Notion Enabled?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion: Get Ideas": {
      "main": [
        [
          {
            "node": "Function: Extract Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If: Notion Enabled?": {
      "main": [
        [
          {
            "node": "Notion: Get Ideas",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Function: Sample Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Build Email": {
      "main": [
        [
          {
            "node": "Email: Send Plan",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Sample Ideas": {
      "main": [
        [
          {
            "node": "Function: Build 7-Day Plan",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Extract Ideas": {
      "main": [
        [
          {
            "node": "Function: Build 7-Day Plan",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Build 7-Day Plan": {
      "main": [
        [
          {
            "node": "Function: Build Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}