{
  "name": "Automate digital product delivery & sales tracking with Stripe, Email, Notion & Telegram",
  "nodes": [
    {
      "id": null,
      "name": "Stripe Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        200,
        300
      ]
    },
    {
      "id": null,
      "name": "Get Stripe Session",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        420,
        300
      ]
    },
    {
      "id": null,
      "name": "Check Product",
      "type": "n8n-nodes-base.if",
      "position": [
        650,
        300
      ]
    },
    {
      "id": null,
      "name": "Send Email - Product A",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        900,
        150
      ]
    },
    {
      "id": null,
      "name": "Send Email - Product B",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        900,
        450
      ]
    },
    {
      "id": null,
      "name": "Log to Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        1150,
        300
      ]
    },
    {
      "id": null,
      "name": "Telegram Notify",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1400,
        300
      ]
    }
  ],
  "connections": {
    "Check Product": {
      "main": [
        [
          {
            "node": "Send Email - Product A",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Email - Product B",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log to Notion": {
      "main": [
        [
          {
            "node": "Telegram Notify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Stripe Webhook": {
      "main": [
        [
          {
            "node": "Get Stripe Session",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Stripe Session": {
      "main": [
        [
          {
            "node": "Check Product",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email - Product A": {
      "main": [
        [
          {
            "node": "Log to Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email - Product B": {
      "main": [
        [
          {
            "node": "Log to Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}