{
  "name": "Meetup registration system with PostgreSQL database & interactive giveaway tool",
  "nodes": [
    {
      "id": "76bd011c-3ace-4094-8fa0-bac818192d9a",
      "name": "Thank you screen",
      "type": "n8n-nodes-base.form",
      "position": [
        620,
        600
      ]
    },
    {
      "id": "dc0a7158-2b27-4a83-8fc0-e826ce425b7f",
      "name": "Format participant list",
      "type": "n8n-nodes-base.code",
      "position": [
        420,
        1140
      ]
    },
    {
      "id": "7fba3d0f-8c7b-4f19-8954-9b8ab7a6d95b",
      "name": "Mapping form to database",
      "type": "n8n-nodes-base.set",
      "position": [
        180,
        600
      ]
    },
    {
      "id": "6d66e53e-147c-42a8-a742-349901287c96",
      "name": "Get all participants",
      "type": "n8n-nodes-base.postgres",
      "position": [
        200,
        1140
      ]
    },
    {
      "id": "8478dcf5-7e9c-471e-b7db-d7b601f4fd58",
      "name": "Giveaway App",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -20,
        1140
      ]
    },
    {
      "id": "0df6e338-46ee-42fc-b2b8-4986e167f271",
      "name": "Respond to Giveaway App",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        620,
        1140
      ]
    },
    {
      "id": "99f96a32-d847-43f7-8740-cff828d7b314",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1500,
        420
      ],
      "parameters": {
        "width": 660,
        "height": 520,
        "content": "# 🎉 n8n Workflow: Meetup Participant Registration & Giveaway App\n\nThis n8n workflow is designed to handle both the participant registration process and the random selection of giveaway winners via a f"
      }
    },
    {
      "id": "cf039ad9-01ee-4484-ae3d-d0225227da32",
      "name": "Participant Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -40,
        600
      ]
    },
    {
      "id": "d1387478-3489-4d10-b2a0-910eda73469c",
      "name": "Save Participant to Database",
      "type": "n8n-nodes-base.postgres",
      "position": [
        400,
        600
      ]
    },
    {
      "id": "7222a521-913f-4326-84c3-8b84e1d07735",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        420
      ],
      "parameters": {
        "width": 1660,
        "height": 520,
        "content": "\n## 📋 Participant Registration Flow\n\nThis part of the workflow handles user submissions from a registration form.\n\n### 🔄 Steps:\n1. **📝 Participant Form**\n   - Triggered when a participant submits the "
      }
    },
    {
      "id": "0562529e-7a41-4a25-a949-87fed3007814",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -800,
        980
      ],
      "parameters": {
        "width": 1660,
        "height": 480,
        "content": "## 🎁 Giveaway App\n\nThis section serve frontend app to display and select random winners.\n\n### 🔄 Steps:\n1. **🌐 Webhook GET (Giveaway App)**\n   - Exposes a public endpoint that delivers a ready-to-use H"
      }
    },
    {
      "id": "f166d098-c4c9-470f-9bb2-afbf7e9df119",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1500,
        980
      ],
      "parameters": {
        "width": 660,
        "height": 480,
        "content": "# Preview\n![Preview](https://raw.githubusercontent.com/Ficky-Dev/images/refs/heads/main/Meetup%20Giveaway.gif)"
      }
    }
  ],
  "connections": {
    "Giveaway App": {
      "main": [
        [
          {
            "node": "Get all participants",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Participant Form": {
      "main": [
        [
          {
            "node": "Mapping form to database",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get all participants": {
      "main": [
        [
          {
            "node": "Format participant list",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format participant list": {
      "main": [
        [
          {
            "node": "Respond to Giveaway App",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mapping form to database": {
      "main": [
        [
          {
            "node": "Save Participant to Database",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Participant to Database": {
      "main": [
        [
          {
            "node": "Thank you screen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}