{
  "name": "Automatic pantry inventory management with Notion and email notifications",
  "nodes": [
    {
      "id": "1",
      "name": "Daily Trigger",
      "type": "n8n-nodes-base.cron",
      "position": [
        260,
        360
      ]
    },
    {
      "id": "2",
      "name": "User Config",
      "type": "n8n-nodes-base.set",
      "position": [
        260,
        220
      ]
    },
    {
      "id": "3",
      "name": "Get Pantry Items",
      "type": "n8n-nodes-base.notion",
      "position": [
        540,
        360
      ]
    },
    {
      "id": "4",
      "name": "Get Existing To Buy",
      "type": "n8n-nodes-base.notion",
      "position": [
        540,
        540
      ]
    },
    {
      "id": "5",
      "name": "Compute To-Buy List",
      "type": "n8n-nodes-base.function",
      "position": [
        820,
        450
      ]
    },
    {
      "id": "6",
      "name": "Create in Grocery List",
      "type": "n8n-nodes-base.notion",
      "position": [
        1100,
        450
      ]
    },
    {
      "id": "7",
      "name": "Compose Email",
      "type": "n8n-nodes-base.function",
      "position": [
        1380,
        450
      ]
    },
    {
      "id": "8",
      "name": "Send Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1640,
        450
      ]
    },
    {
      "id": "9",
      "name": "Error Handler",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        260,
        700
      ]
    },
    {
      "id": "10",
      "name": "## Description",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "11",
      "name": "## Setup Checklist",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        220
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "12",
      "name": "## Demo & Gallery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        380
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "13",
      "name": "## QA / Test Plan",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        540
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "14",
      "name": "## Tags & Category",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        700
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "15",
      "name": "## Attribution & License",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        860
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "User Config": {
      "main": [
        [
          {
            "node": "Get Pantry Items",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Existing To Buy",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compose Email": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Trigger": {
      "main": [
        [
          {
            "node": "User Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Pantry Items": {
      "main": [
        [
          {
            "node": "Compute To-Buy List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compute To-Buy List": {
      "main": [
        [
          {
            "node": "Create in Grocery List",
            "type": "main",
            "index": 0
          },
          {
            "node": "Compose Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Existing To Buy": {
      "main": [
        [
          {
            "node": "Compute To-Buy List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}