{
  "slug": "lead-capture",
  "name": "Lead capture",
  "description": "Turn an enquiry into a routed, timestamped record instead of an unread inbox message.",
  "page": "https://lazerforms.com/use-cases/lead-capture",
  "create_url": "https://lazerforms.com/signup?template=lead-capture",
  "fields": [
    {
      "id": "lc_name",
      "type": "text",
      "label": "Your name",
      "required": true,
      "description": ""
    },
    {
      "id": "lc_email",
      "type": "email",
      "label": "Work email",
      "required": true,
      "description": ""
    },
    {
      "id": "lc_company",
      "type": "text",
      "label": "Company",
      "required": true,
      "description": ""
    },
    {
      "id": "lc_country",
      "type": "text",
      "label": "Country",
      "required": true,
      "description": ""
    },
    {
      "id": "lc_size",
      "type": "select",
      "label": "Company size",
      "required": true,
      "description": "",
      "options": [
        {
          "label": "1 to 10 people",
          "value": "1_to_10_people"
        },
        {
          "label": "11 to 50 people",
          "value": "11_to_50_people"
        },
        {
          "label": "51 to 250 people",
          "value": "51_to_250_people"
        },
        {
          "label": "251 to 1,000 people",
          "value": "251_to_1_000_people"
        },
        {
          "label": "More than 1,000 people",
          "value": "more_than_1_000_people"
        }
      ]
    },
    {
      "id": "lc_need",
      "type": "select",
      "label": "What you are looking for",
      "required": true,
      "description": "",
      "options": [
        {
          "label": "Pricing for a specific project",
          "value": "pricing_for_a_specific_project"
        },
        {
          "label": "A demonstration",
          "value": "a_demonstration"
        },
        {
          "label": "A partnership or reseller conversation",
          "value": "a_partnership_or_reseller_conversation"
        },
        {
          "label": "Technical questions before buying",
          "value": "technical_questions_before_buying"
        },
        {
          "label": "Support for something we already bought",
          "value": "support_for_something_we_already_bought"
        }
      ]
    },
    {
      "id": "lc_timing",
      "type": "select",
      "label": "When you want to start",
      "required": true,
      "description": "",
      "options": [
        {
          "label": "This month",
          "value": "this_month"
        },
        {
          "label": "Within a quarter",
          "value": "within_a_quarter"
        },
        {
          "label": "Within a year",
          "value": "within_a_year"
        },
        {
          "label": "Researching only",
          "value": "researching_only"
        }
      ]
    },
    {
      "id": "lc_detail",
      "type": "textarea",
      "label": "Anything else worth knowing",
      "required": false,
      "description": ""
    }
  ],
  "structure": [
    {
      "id": "lc_h1",
      "type": "heading",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "Tell us what you need",
        "level": 2,
        "alignment": "left",
        "color": "#000",
        "font_size": 0,
        "font_weight": "700",
        "margin_top": 24,
        "margin_bottom": 8
      }
    },
    {
      "id": "lc_intro",
      "type": "paragraph",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "Answer five questions and the right person will call you back. Nothing here goes to a mailing list.",
        "alignment": "left",
        "color": "#555",
        "font_size": 0,
        "line_height": "1.55",
        "margin_top": 0,
        "margin_bottom": 14
      }
    },
    {
      "id": "lc_name",
      "type": "text",
      "label": "Your name",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "lc_email",
      "type": "email",
      "label": "Work email",
      "config": {
        "required": true,
        "placeholder": "e.g., name@example.com",
        "description": ""
      },
      "meta": {}
    },
    {
      "id": "lc_company",
      "type": "text",
      "label": "Company",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "lc_country",
      "type": "text",
      "label": "Country",
      "config": {
        "required": true,
        "placeholder": "Where the work would be delivered",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0
      }
    },
    {
      "id": "lc_size",
      "type": "select",
      "label": "Company size",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "options": [
          {
            "label": "1 to 10 people",
            "value": "1_to_10_people"
          },
          {
            "label": "11 to 50 people",
            "value": "11_to_50_people"
          },
          {
            "label": "51 to 250 people",
            "value": "51_to_250_people"
          },
          {
            "label": "251 to 1,000 people",
            "value": "251_to_1_000_people"
          },
          {
            "label": "More than 1,000 people",
            "value": "more_than_1_000_people"
          }
        ]
      }
    },
    {
      "id": "lc_need",
      "type": "select",
      "label": "What you are looking for",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "options": [
          {
            "label": "Pricing for a specific project",
            "value": "pricing_for_a_specific_project"
          },
          {
            "label": "A demonstration",
            "value": "a_demonstration"
          },
          {
            "label": "A partnership or reseller conversation",
            "value": "a_partnership_or_reseller_conversation"
          },
          {
            "label": "Technical questions before buying",
            "value": "technical_questions_before_buying"
          },
          {
            "label": "Support for something we already bought",
            "value": "support_for_something_we_already_bought"
          }
        ]
      }
    },
    {
      "id": "lc_timing",
      "type": "select",
      "label": "When you want to start",
      "config": {
        "required": true,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "options": [
          {
            "label": "This month",
            "value": "this_month"
          },
          {
            "label": "Within a quarter",
            "value": "within_a_quarter"
          },
          {
            "label": "Within a year",
            "value": "within_a_year"
          },
          {
            "label": "Researching only",
            "value": "researching_only"
          }
        ]
      }
    },
    {
      "id": "lc_detail",
      "type": "textarea",
      "label": "Anything else worth knowing",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "minlength": 0,
        "maxlength": 0,
        "rows": 4
      }
    },
    {
      "id": "lc_div",
      "type": "divider",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "style": "solid",
        "color": "#ddd",
        "thickness": 1,
        "margin_top": 20,
        "margin_bottom": 20
      }
    },
    {
      "id": "lc_privacy",
      "type": "paragraph",
      "label": "",
      "config": {
        "required": false,
        "placeholder": "",
        "description": ""
      },
      "meta": {
        "text": "We use these answers to reply to your enquiry and for nothing else.",
        "alignment": "left",
        "color": "#555",
        "font_size": 0,
        "line_height": "1.55",
        "margin_top": 0,
        "margin_bottom": 14
      }
    }
  ],
  "example_submission": {
    "values": {
      "lc_name": "Jordan Ellery",
      "lc_email": "person@example.com",
      "lc_company": "Northbank Logistics",
      "lc_country": "Where the work would be delivered",
      "lc_size": "1_to_10_people"
    },
    "idempotency_key": "lead-capture-2026-09-09-001",
    "agent": {
      "name": "your-agent"
    }
  },
  "notes": [
    "Key every value by the field id, never by the label. A label may be renamed.",
    "A fileupload value is {\"base64\", \"filename\", \"content_type\"} or {\"url\"}, capped at 3 MB.",
    "A select value must match one of the option values exactly.",
    "A checkbox-simple value is one of yes, no, or na.",
    "A datepicker value is YYYY-MM-DD.",
    "Send an idempotency_key so a retry cannot store the same submission twice."
  ]
}