{ "name": "LGM — Capture & enrich inbound leads from a form", "nodes": [ { "parameters": { "formTitle": "Talk to sales", "formFields": { "values": [ { "fieldLabel": "First name", "requiredField": true }, { "fieldLabel": "Last name", "requiredField": true }, { "fieldLabel": "Work email", "fieldType": "email", "requiredField": true }, { "fieldLabel": "Company", "requiredField": false } ] }, "options": {} }, "id": "form", "name": "New form submission", "type": "n8n-nodes-base.formTrigger", "typeVersion": 2.2, "position": [0, 260], "webhookId": "lgm-inbound-form" }, { "parameters": { "resource": "lead", "operation": "createOrUpdate", "audience": "Inbound leads", "identifiers": { "firstname": "={{ $json['First name'] }}", "lastname": "={{ $json['Last name'] }}", "proEmail": "={{ $json['Work email'] }}", "companyName": "={{ $json.Company }}" }, "additionalFields": {} }, "id": "create", "name": "Create lead in LGM", "type": "@lagrowthmachine/n8n-nodes-lagrowthmachine.laGrowthMachine", "typeVersion": 1, "position": [240, 260], "credentials": { "laGrowthMachineApi": { "id": "REPLACE_ME", "name": "La Growth Machine account" } } }, { "parameters": { "resource": "lead", "operation": "enrich", "enrichType": "EMAIL_ENRICH", "identifiers": { "firstname": "={{ $('New form submission').item.json['First name'] }}", "lastname": "={{ $('New form submission').item.json['Last name'] }}", "companyName": "={{ $('New form submission').item.json.Company }}" }, "mode": "sync" }, "id": "enrich", "name": "Enrich (find pro email)", "type": "@lagrowthmachine/n8n-nodes-lagrowthmachine.laGrowthMachine", "typeVersion": 1, "position": [480, 260], "credentials": { "laGrowthMachineApi": { "id": "REPLACE_ME", "name": "La Growth Machine account" } } }, { "parameters": { "resource": "message", "operation": "post", "select": "channel", "channelId": { "__rl": true, "value": "REPLACE_CHANNEL", "mode": "id" }, "text": "=🎯 New inbound lead added to *Inbound leads*: {{ $('New form submission').item.json['First name'] }} {{ $('New form submission').item.json['Last name'] }} — {{ $('New form submission').item.json.Company }}", "otherOptions": {} }, "id": "slack", "name": "Notify sales on Slack", "type": "n8n-nodes-base.slack", "typeVersion": 2.2, "position": [720, 260], "credentials": { "slackApi": { "id": "REPLACE_ME", "name": "Slack account" } } }, { "parameters": { "content": "## Inbound capture\n\nA form submission creates the lead in the **Inbound leads** audience, enriches it to find the pro email, and pings sales on Slack.\n\nSwap the **Form Trigger** for a Webhook if your form lives elsewhere (Typeform, Tally, HubSpot…). From here the lead is ready to be added to a campaign in LGM.", "height": 240, "width": 420 }, "id": "note", "name": "Setup", "type": "n8n-nodes-base.stickyNote", "typeVersion": 1, "position": [0, -20] } ], "connections": { "New form submission": { "main": [[{ "node": "Create lead in LGM", "type": "main", "index": 0 }]] }, "Create lead in LGM": { "main": [[{ "node": "Enrich (find pro email)", "type": "main", "index": 0 }]] }, "Enrich (find pro email)": { "main": [[{ "node": "Notify sales on Slack", "type": "main", "index": 0 }]] } }, "settings": { "executionOrder": "v1" }, "meta": { "templateCredsSetupCompleted": false } }