FindPrompts
n8nLead GenerationBeginner3 steps

Lead Magnet Delivery

When someone requests your lead magnet, this workflow emails them the download link via Gmail and appends them to your subscriber sheet. Reliable, instant delivery that captures the contact.

WebhookGmailGoogle Sheets

How it works

  1. 1Trigger: webhook receives a lead magnet request
  2. 2Email the download link via Gmail
  3. 3Append the lead to the subscriber sheet

Setup

  • Point your opt-in form at the webhook URL.
  • Connect Gmail and Google Sheets credentials.
  • Replace the download link with your hosted file.
  • Create a Leads sheet with email/source columns.

Workflow JSON

{
  "name": "Lead Magnet Delivery",
  "nodes": [
    {
      "id": "lm01aa",
      "name": "Magnet Request",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        220,
        300
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "lead-magnet",
        "responseMode": "onReceived"
      }
    },
    {
      "id": "lm02bb",
      "name": "Send Download",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        460,
        300
      ],
      "parameters": {
        "resource": "message",
        "operation": "send",
        "sendTo": "={{ $json.body.email }}",
        "subject": "Your download is here",
        "message": "Thanks! Download your guide: https://example.com/download/guide.pdf",
        "options": {}
      }
    },
    {
      "id": "lm03cc",
      "name": "Add to List",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.4,
      "position": [
        700,
        300
      ],
      "parameters": {
        "operation": "append",
        "documentId": "YOUR_SHEET_ID",
        "sheetName": "Leads",
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "email": "={{ $('Magnet Request').item.json.body.email }}",
            "source": "lead-magnet"
          }
        }
      }
    }
  ],
  "connections": {
    "Magnet Request": {
      "main": [
        [
          {
            "node": "Send Download",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Download": {
      "main": [
        [
          {
            "node": "Add to List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "meta": {}
}

Command Palette

Search for a command to run...