{
  "name": "Lead Enrichment (starter)",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "lead-nouveau",
        "options": {}
      },
      "id": "e1f2a3b4-0004-4000-8000-000000000004",
      "name": "Webhook Entree",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [240, 300],
      "webhookId": "lead-nouveau"
    },
    {
      "parameters": {
        "method": "GET",
        "url": "https://api.exemple.fr/enrich",
        "options": {}
      },
      "id": "e1f2a3b4-0005-4000-8000-000000000005",
      "name": "HTTP Enrichir",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [460, 300]
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "loose"
          },
          "conditions": [
            {
              "id": "cond-taille",
              "leftValue": "={{ $json.taille }}",
              "rightValue": 50,
              "operator": {
                "type": "number",
                "operation": "larger"
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "e1f2a3b4-0006-4000-8000-000000000006",
      "name": "IF Lead Chaud",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [680, 300]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "set-hot",
              "name": "statut",
              "value": "hot",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "e1f2a3b4-0007-4000-8000-000000000007",
      "name": "Set Hot Lead",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "position": [900, 220]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "set-news",
              "name": "statut",
              "value": "newsletter",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "e1f2a3b4-0008-4000-8000-000000000008",
      "name": "Set Newsletter",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "position": [900, 380]
    },
    {
      "parameters": {
        "respondWith": "text",
        "responseBody": "OK"
      },
      "id": "e1f2a3b4-0009-4000-8000-000000000009",
      "name": "Respond OK",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.1,
      "position": [1120, 300]
    }
  ],
  "connections": {
    "Webhook Entree": {
      "main": [
        [
          {
            "node": "HTTP Enrichir",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Enrichir": {
      "main": [
        [
          {
            "node": "IF Lead Chaud",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF Lead Chaud": {
      "main": [
        [
          {
            "node": "Set Hot Lead",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set Newsletter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Hot Lead": {
      "main": [
        [
          {
            "node": "Respond OK",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Newsletter": {
      "main": [
        [
          {
            "node": "Respond OK",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "pinData": {}
}
