{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "f51fc817-6fe6-47aa-9fb2-a74614417162",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -660,
        -180
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "cc5e2ab4-04a7-4e2c-acbe-1cfbb74f5c7c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9a28e493-cb2e-4a95-ac1a-925b80897035",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        -260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "63d44194-73e7-43f5-9553-4ece56b67619",
      "name": "Get Order By Increment ID",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -440,
        -180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "eae95104-f7ab-410e-a150-6fba641bc6aa",
      "name": "Checks If Order Exist",
      "type": "n8n-nodes-base.if",
      "position": [
        -220,
        -180
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "79745ed9-731d-404b-a487-25bd2a3afcca",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        0,
        -180
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9b7ab232-4046-4acc-bbb0-3f001e05590b",
      "name": "Update Guest Order Email",
      "type": "n8n-nodes-base.mySql",
      "position": [
        220,
        -180
      ],
      "parameters": {},
      "typeVersion": 2.4
    },
    {
      "id": "0fff6518-a075-4deb-8d77-5c31b8d83917",
      "name": "resend order confirmation",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        -180
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c228566c-7f60-4524-b626-e3d825cfc21c",
      "name": "Checks for Resend",
      "type": "n8n-nodes-base.if",
      "position": [
        440,
        -180
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "88bbb3e5-f5ec-43e4-aa4a-696dbee08aed",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        -440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Update Guest Order Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Checks for Resend": {
      "main": [
        [
          {
            "node": "resend order confirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Get Order By Increment ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Checks If Order Exist": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Guest Order Email": {
      "main": [
        [
          {
            "node": "Checks for Resend",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Order By Increment ID": {
      "main": [
        [
          {
            "node": "Checks If Order Exist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}