{
  "name": "Hackathon participant badge generator with QR code, PDF & email delivery",
  "nodes": [
    {
      "id": "97a3afd6-32bf-412d-9e20-91f5fee5a553",
      "name": "Webhook Trigger",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -448,
        304
      ]
    },
    {
      "id": "072fe3df-815f-4eda-ad16-1624c76ff355",
      "name": "Validate Input",
      "type": "n8n-nodes-base.function",
      "position": [
        -272,
        304
      ]
    },
    {
      "id": "d95fcf37-9a52-4446-ad80-9c4a1a2f7111",
      "name": "Email Valid?",
      "type": "n8n-nodes-base.if",
      "position": [
        64,
        304
      ]
    },
    {
      "id": "74a8b677-e908-489b-939e-24c0b3a3d55f",
      "name": "Generate Badge ID & URL",
      "type": "n8n-nodes-base.function",
      "position": [
        432,
        288
      ]
    },
    {
      "id": "c0b3e254-c96e-41ff-ba17-009ef42095eb",
      "name": "Download PDF",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        928,
        288
      ]
    },
    {
      "id": "01483244-ac10-409b-89b7-a4fe552c939e",
      "name": "Send Badge via Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1120,
        288
      ]
    },
    {
      "id": "bdf8ffc3-04ba-4043-a27c-77114808573c",
      "name": "Success Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1456,
        288
      ]
    },
    {
      "id": "c996c87f-9fb4-4321-b268-b5d1de4bee92",
      "name": "Verifi Email",
      "type": "n8n-nodes-verifiemail.verifiEmail",
      "position": [
        -96,
        304
      ]
    },
    {
      "id": "4a3dfcce-07f8-4302-a6f8-9d77d989c004",
      "name": "HTML to PDF",
      "type": "n8n-nodes-htmlcsstopdf.htmlcsstopdf",
      "position": [
        656,
        288
      ]
    },
    {
      "id": "416e76d5-1ff1-4d86-b937-dfcb69e3b9fa",
      "name": "Log to Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1296,
        288
      ]
    },
    {
      "id": "2b2adffb-dac3-4cf1-9b3c-a5936a162f25",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        336
      ],
      "parameters": {
        "width": null,
        "height": 192,
        "content": "### **CREDENTIALS REQUIRED**\n\n* VerifiEmail at verifi.email\n* HTML → PDF at https://pdfmunk.com\n* Gmail \n* Google Sheets\n\n\n"
      }
    },
    {
      "id": "f18dafc5-23eb-454d-9ff3-8e5086f086ae",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -928,
        -112
      ],
      "parameters": {
        "width": 384,
        "height": 432,
        "content": "# Hackathon Badge Workflow\n\n### **HACKATHON BADGE WORKFLOW – FULLY AUTOMATED**\n\n**Webhook → Validate → Email Check → Generate ID + QR → HTML → PDF → Gmail + Sheets → Done**\n\n**What it does:**\n\n* Recei"
      }
    },
    {
      "id": "50b61d60-8bde-4a51-9394-ba98594c863c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        -176
      ],
      "parameters": {
        "width": 672,
        "height": 640,
        "content": "# Validation Group — Validation & Safety\n\n## **VALIDATION & SAFETY (Blocks junk early)**\n\n**1. Validate Input**\n\n* Checks required fields: name, email, event\n* Rejects incomplete or invalid formats\n\n*"
      }
    },
    {
      "id": "e123be75-b60d-4b1d-9596-19231ac79923",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        -64
      ],
      "parameters": {
        "width": 432,
        "height": 496,
        "content": "#  Badge Creation Group — *Badge Creation*\n\n## BADGE CREATION \n\n**1. Generate Badge ID & URL**\n* Creates unique ID + verifyUrl\n* Generates QR code link\n* Sets formatted issue date\n\n**2. HTML to PDF**\n"
      }
    },
    {
      "id": "c8115329-27bd-443b-b175-43b1945af610",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -112
      ],
      "parameters": {
        "width": 768,
        "height": 576,
        "content": "# Delivery & Logging Group\n\n## DELIVERY & LOGGING\n\n**1. Download PDF**\n* Fetches final badge PDF\n\n**2. Send Badge via Gmail**\n* Inline badge preview + PDF attachment\n* Polished HTML email\n\n**3. Log to"
      }
    }
  ],
  "connections": {
    "HTML to PDF": {
      "main": [
        [
          {
            "node": "Download PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download PDF": {
      "main": [
        [
          {
            "node": "Send Badge via Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Valid?": {
      "main": [
        [
          {
            "node": "Generate Badge ID & URL",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Verifi Email": {
      "main": [
        [
          {
            "node": "Email Valid?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log to Sheets": {
      "main": [
        [
          {
            "node": "Success Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Input": {
      "main": [
        [
          {
            "node": "Verifi Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook Trigger": {
      "main": [
        [
          {
            "node": "Validate Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Badge via Gmail": {
      "main": [
        [
          {
            "node": "Log to Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Badge ID & URL": {
      "main": [
        [
          {
            "node": "HTML to PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}