{
  "name": "Hostinger form lead capture & qualification with OpenAI, Beehiiv & Google Sheets",
  "nodes": [
    {
      "id": "79eb3b2e-7039-4462-b63a-941a8b7ed5c5",
      "name": "List Beehiiv publications",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -684,
        -40
      ]
    },
    {
      "id": "495b8118-f0dc-442e-8b52-48cd3b698753",
      "name": "Add Beehiiv subscriber",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -464,
        -40
      ]
    },
    {
      "id": "3ae5298e-c0bf-44ef-9f1b-d6f1b8964c73",
      "name": "Extract & Qualify",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1060,
        -40
      ]
    },
    {
      "id": "e35a283f-7ddd-4d20-b3cb-2a2d57cb1a36",
      "name": "New form trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -1280,
        -40
      ]
    },
    {
      "id": "172514fb-f8b5-4bf9-940c-edf115f6448d",
      "name": "insert in Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -244,
        -40
      ]
    },
    {
      "id": "cbdae788-7246-4efa-adfe-1db0a395ce50",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -260
      ],
      "parameters": {
        "width": 300,
        "height": 380,
        "content": "## Set up steps\n- Create an account on [Hostinger](https://hostinger.es?REFERRALCODE=6MKHELLOUQOS) \n- Set up a form in your website and send a test response\n- Check your email to map the hostinger sen"
      }
    },
    {
      "id": "738d2276-6cc0-41c8-9eec-ca26aba6a164",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -754,
        -260
      ],
      "parameters": {
        "width": 460,
        "height": 380,
        "content": "## Newsletter sync \nEvery time a user fills your contact form, they will be added to your newsletter on [Beehiiv](https://www.beehiiv.com?via=1node-ai). Just make sure you have added this inside your "
      }
    },
    {
      "id": "e99246b5-38a2-4c3b-bfc1-dfacb6ad208f",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1060,
        -260
      ],
      "parameters": {
        "width": 280,
        "height": null,
        "content": "## Extract form response\nOne of Hostinger's weaknesses is not being able to store form data. This is where we message an OpenAI model to extract email data as JSON"
      }
    }
  ],
  "connections": {
    "New form trigger": {
      "main": [
        [
          {
            "node": "Extract & Qualify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "insert in Sheets": {
      "main": [
        []
      ]
    },
    "Extract & Qualify": {
      "main": [
        [
          {
            "node": "List Beehiiv publications",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Beehiiv subscriber": {
      "main": [
        [
          {
            "node": "insert in Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Beehiiv publications": {
      "main": [
        [
          {
            "node": "Add Beehiiv subscriber",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}