AutomationFlowsMarketing & Ads › Save Leads + Messages

Save Leads + Messages

Save Leads + Messages. Uses httpRequest. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodesHTTP Request
Marketing & Ads Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Save Leads + Messages",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "instagram/save-lead",
        "responseMode": "lastNode"
      },
      "id": "WebhookLead",
      "name": "Webhook Lead",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        240,
        240
      ]
    },
    {
      "parameters": {
        "url": "={{$env.SUPABASE_URL}}/rest/v1/leads",
        "authentication": "genericCredentialType"
      },
      "id": "UpsertLead",
      "name": "Upsert Lead",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        500,
        240
      ]
    },
    {
      "parameters": {
        "url": "={{$env.SUPABASE_URL}}/rest/v1/messages",
        "authentication": "genericCredentialType"
      },
      "id": "InsertMessage",
      "name": "Insert Message",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        740,
        240
      ]
    }
  ],
  "connections": {
    "Webhook Lead": {
      "main": [
        [
          {
            "node": "Upsert Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upsert Lead": {
      "main": [
        [
          {
            "node": "Insert Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Save Leads + Messages. Uses httpRequest. Webhook trigger; 3 nodes.

Source: https://github.com/henriquesDigital/projeto-codex/blob/622206fd0bc10f431c6672e83fcfbcdba5ba8bc0/n8n-workflows/04-save-leads.json — original creator credit. Request a take-down →

More Marketing & Ads workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Marketing & Ads

Speed To Lead. Uses httpRequest, googleSheets, telegram, telegramTrigger. Webhook trigger; 5 nodes.

HTTP Request, Google Sheets, Telegram +1
Marketing & Ads

Forgexe - Contact Formulier. Uses googleSheets, httpRequest. Webhook trigger; 5 nodes.

Google Sheets, HTTP Request
Marketing & Ads

WA Blast — Auto Reply on Lead Submission. Uses httpRequest. Webhook trigger; 4 nodes.

HTTP Request
Marketing & Ads

This workflow automates bulk email campaigns with built-in validation, deliverability protection, and smart send-time optimization.

HTTP Request, Postgres, Gmail
Marketing & Ads

This workflow is designed to manage the assignment and validation of unique QR code coupons within a lead generation system with SuiteCRM.

HTTP Request, Form Trigger, Google Sheets +1