{
  "name": "Lead Capture → CRM Sync + Instant Reply",
  "description": "Any form, ad or landing page posts to one webhook: the lead is scored, saved to your CRM and answered within seconds.",
  "type": "GROWAIFY_SAMPLE",
  "notice": "Public preview — 2 of 7 nodes, connections removed. The full, working workflow is delivered after purchase at https://growaify.com/templates/",
  "nodes_total_in_full_version": 7,
  "category": "Sales",
  "price_usd": 29,
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "growaify-lead",
        "responseMode": "responseNode",
        "options": {}
      },
      "name": "Lead Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        -420,
        0
      ],
      "id": "g000001-0000-4000-8000-000000000001"
    },
    {
      "parameters": {
        "jsCode": "const b = $input.first().json.body || $input.first().json;\nlet score = 0;\nif (b.company) score += 20;\nif (b.budget && Number(b.budget) > 1000) score += 30;\nif (/urgent|asap|today|this week/i.test(b.message || '')) score += 25;\nif (b.phone) score += 15;\nif (b.email) score += 10;\nreturn [{ json: Object.assign({}, b, {\n  lead_id: 'LEAD-' + Date.now().toString(36).toUpperCase(),\n  lead_score: score,\n  tier: score >= 70 ? 'HOT' : score >= 40 ? 'WARM' : 'COLD',\n  received_at: new Date().toISOString()\n}) }];"
      },
      "name": "Score Lead",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        -200,
        0
      ],
      "id": "g000002-0000-4000-8000-000000000002"
    }
  ],
  "connections": {},
  "meta": {
    "growaify_template": "lead-to-crm",
    "sample": true,
    "buy": "https://growaify.com/templates/"
  }
}