{
  "name": "LookValid: Screen a signup email before the welcome sequence",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "screen-signup-email",
        "responseMode": "lastNode",
        "options": {}
      },
      "id": "webhook",
      "name": "Lead webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://YOUR_API_HOST/v1/email-domain-check",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ email: $('Lead webhook').item.json.body.email }) }}",
        "options": {}
      },
      "id": "check-email",
      "name": "LookValid email-domain-check",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        260,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": "",
          "name": "LookValid API key"
        }
      }
    }
  ],
  "connections": {
    "Lead webhook": {
      "main": [
        [
          {
            "node": "LookValid email-domain-check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  }
}