{
  "name": "Automate birthday discount emails for e-commerce using Google Sheets and Gmail",
  "nodes": [
    {
      "id": "ce1fb25e-decc-4943-ae7c-cb16d6377344",
      "name": "Daily Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        224,
        224
      ]
    },
    {
      "id": "6ec3e314-e7d2-4548-936e-07d47a62e400",
      "name": "Get Customer Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        464,
        224
      ]
    },
    {
      "id": "fdce0115-b0c4-4660-81aa-87f83075bf09",
      "name": "Is It Their Birthday?",
      "type": "n8n-nodes-base.if",
      "position": [
        704,
        224
      ]
    },
    {
      "id": "62332fbf-d069-46e3-a19e-0d6c45bd588f",
      "name": "Generate Discount Code",
      "type": "n8n-nodes-base.function",
      "position": [
        944,
        224
      ]
    },
    {
      "id": "b93688ae-975a-4278-9fa6-015ab3e9b7d9",
      "name": "Send Birthday Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1184,
        224
      ]
    },
    {
      "id": "b6f9b241-4f67-47d5-8c26-5a13b1587567",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        176
      ],
      "parameters": {
        "width": 1232,
        "height": 224,
        "content": "## Flow"
      }
    },
    {
      "id": "89f14e7e-81a3-4206-b7e4-09cac5daf811",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        448
      ],
      "parameters": {
        "width": 1232,
        "height": 1072,
        "content": "# ⚙ Workflow Note: Automated Birthday Discount for E-Commerce\n\n---\n\n## **Problem**\nMany e-commerce businesses miss the opportunity to create a personal connection with their customers. Sending a speci"
      }
    }
  ],
  "connections": {
    "Daily Schedule": {
      "main": [
        [
          {
            "node": "Get Customer Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Customer Data": {
      "main": [
        [
          {
            "node": "Is It Their Birthday?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is It Their Birthday?": {
      "main": [
        [
          {
            "node": "Generate Discount Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Discount Code": {
      "main": [
        [
          {
            "node": "Send Birthday Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}