{
  "name": "Abandoned cart recovery functionality using Gmail and Google Sheets for analytics",
  "nodes": [
    {
      "id": "1",
      "name": "Cart Abandoned Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        240,
        300
      ]
    },
    {
      "id": "2",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        180
      ],
      "parameters": {
        "width": 240,
        "height": 160,
        "content": "## Cart Recovery Config\n\n⚙️ **Customize these settings:**\n- Recovery sequence timing\n- Discount percentages\n- Email templates\n- Exclusion rules"
      }
    },
    {
      "id": "3",
      "name": "Recovery Settings",
      "type": "n8n-nodes-base.set",
      "position": [
        440,
        300
      ]
    },
    {
      "id": "4",
      "name": "Qualify Cart",
      "type": "n8n-nodes-base.if",
      "position": [
        640,
        300
      ]
    },
    {
      "id": "5",
      "name": "Generate Recovery Data",
      "type": "n8n-nodes-base.code",
      "position": [
        840,
        300
      ]
    },
    {
      "id": "6",
      "name": "Wait 1 Hour",
      "type": "n8n-nodes-base.wait",
      "position": [
        1040,
        200
      ]
    },
    {
      "id": "7",
      "name": "Send First Recovery Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1240,
        200
      ]
    },
    {
      "id": "8",
      "name": "Wait 23 Hours More",
      "type": "n8n-nodes-base.wait",
      "position": [
        1440,
        200
      ]
    },
    {
      "id": "9",
      "name": "Send Second Recovery Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1640,
        200
      ]
    },
    {
      "id": "10",
      "name": "Wait 48 Hours More",
      "type": "n8n-nodes-base.wait",
      "position": [
        1840,
        200
      ]
    },
    {
      "id": "11",
      "name": "Send Final Recovery Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2040,
        200
      ]
    },
    {
      "id": "12",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1940,
        60
      ],
      "parameters": {
        "width": 240,
        "height": 160,
        "content": "## Recovery Analytics\n\n📊 **Track performance:**\n- Recovery conversion rates\n- Revenue generated\n- Email open rates\n- Best performing sequences"
      }
    },
    {
      "id": "13",
      "name": "Track Recovery Start",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1040,
        400
      ]
    }
  ],
  "connections": {
    "Wait 1 Hour": {
      "main": [
        [
          {
            "node": "Send First Recovery Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Qualify Cart": {
      "main": [
        [
          {
            "node": "Generate Recovery Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recovery Settings": {
      "main": [
        [
          {
            "node": "Qualify Cart",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 23 Hours More": {
      "main": [
        [
          {
            "node": "Send Second Recovery Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 48 Hours More": {
      "main": [
        [
          {
            "node": "Send Final Recovery Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cart Abandoned Webhook": {
      "main": [
        [
          {
            "node": "Recovery Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Recovery Data": {
      "main": [
        [
          {
            "node": "Wait 1 Hour",
            "type": "main",
            "index": 0
          },
          {
            "node": "Track Recovery Start",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send First Recovery Email": {
      "main": [
        [
          {
            "node": "Wait 23 Hours More",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Second Recovery Email": {
      "main": [
        [
          {
            "node": "Wait 48 Hours More",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}