{
  "name": "Automate lead intake & CRM with Tally Forms to Google Sheets and SendGrid emails",
  "nodes": [
    {
      "id": "3164137f-9e3b-4cc1-93e9-98a3e039373c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        -144
      ],
      "parameters": {
        "width": 512,
        "height": 464,
        "content": "## LEAD INTAKE & CRM AUTOMATION\n\n## How it works\n1. Webhook receives data from form on submission.\n2. Code assign lead ID calculate follow-up dates and generate email according to tag\n3. SendGrid send"
      }
    },
    {
      "id": "08fb1b00-3b72-4698-8858-c10eadc2aed6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        -64
      ],
      "parameters": {
        "width": 800,
        "height": 272,
        "content": "## 1. Arrange lead(s)"
      }
    },
    {
      "id": "3e1c36ac-3acf-428b-b009-38cc1c3dbc60",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        -128
      ],
      "parameters": {
        "width": 400,
        "height": 304,
        "content": "## 2. Save to CRM"
      }
    },
    {
      "id": "4252ca8e-5bc6-4846-a538-7b7948add81d",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1248,
        -160
      ],
      "parameters": {
        "width": 784,
        "height": 336,
        "content": "## 3. Send email & update CRM"
      }
    },
    {
      "id": "c72203e4-c483-45ca-9ed2-e35f1d6a471b",
      "name": "Receive Lead from Tally Form",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "5cdd29a1-3a33-4114-bd51-809859d8ebe7",
      "name": "Generate Unique Lead ID",
      "type": "n8n-nodes-base.code",
      "position": [
        208,
        0
      ]
    },
    {
      "id": "90b6125e-afb8-4235-b162-cc339340d700",
      "name": "Auto-Tag Lead by Services",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        0
      ]
    },
    {
      "id": "7ac7533b-99c9-4bba-93da-f4a3ae5c32a6",
      "name": "Calculate Follow-up Date & Lead Score",
      "type": "n8n-nodes-base.code",
      "position": [
        624,
        0
      ]
    },
    {
      "id": "89b2ee2a-2ba2-45d1-abd6-8f8e5c2d5901",
      "name": "Save Lead to CRM Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        832,
        0
      ]
    },
    {
      "id": "43038ebb-c3a0-4c1c-a38b-79031594ca70",
      "name": "Log Activity to Tracker",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1040,
        -96
      ]
    },
    {
      "id": "fa5f1269-8205-4de4-bf61-a72c29be537d",
      "name": "Generate Personalized Welcome Email",
      "type": "n8n-nodes-base.code",
      "position": [
        1296,
        0
      ]
    },
    {
      "id": "057b5ac6-07cd-46cc-9460-e0305a82dfae",
      "name": "Send Welcome Email via SendGrid",
      "type": "n8n-nodes-base.sendGrid",
      "position": [
        1552,
        -96
      ]
    },
    {
      "id": "0c3d1194-f9f2-4ca9-bbf0-8a91fcb15652",
      "name": "Update Lead Status to Nurturing",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1808,
        0
      ]
    }
  ],
  "connections": {
    "Save Lead to CRM Sheet": {
      "main": [
        [
          {
            "node": "Log Activity to Tracker",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate Personalized Welcome Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Unique Lead ID": {
      "main": [
        [
          {
            "node": "Auto-Tag Lead by Services",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Activity to Tracker": {
      "main": [
        []
      ]
    },
    "Auto-Tag Lead by Services": {
      "main": [
        [
          {
            "node": "Calculate Follow-up Date & Lead Score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Lead from Tally Form": {
      "main": [
        [
          {
            "node": "Generate Unique Lead ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Welcome Email via SendGrid": {
      "main": [
        []
      ]
    },
    "Update Lead Status to Nurturing": {
      "main": [
        []
      ]
    },
    "Generate Personalized Welcome Email": {
      "main": [
        [
          {
            "node": "Send Welcome Email via SendGrid",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update Lead Status to Nurturing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Follow-up Date & Lead Score": {
      "main": [
        [
          {
            "node": "Save Lead to CRM Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}