AutomationFlowsMarketing & Ads › Dirty Lead Pipeline

Dirty Lead Pipeline

Dirty Lead Pipeline. Uses httpRequest, postgres. Webhook trigger; 4 nodes.

Webhook trigger★★☆☆☆ complexity4 nodesHTTP RequestPostgres
Marketing & Ads Trigger: Webhook Nodes: 4 Complexity: ★★☆☆☆ Added:

This workflow follows the HTTP Request → Postgres recipe pattern — see all workflows that pair these two integrations.

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": "Dirty Lead Pipeline",
  "nodes": [
    {
      "id": "trigger-1",
      "name": "Webhook Start",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        200,
        200
      ],
      "parameters": {
        "path": "lint-dirty",
        "httpMethod": "POST"
      }
    },
    {
      "id": "lookup-1",
      "name": "Look up jane.doe@example.com",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "position": [
        400,
        200
      ],
      "parameters": {
        "method": "GET",
        "url": "https://api.example.com/users"
      }
    },
    {
      "id": "charge-1",
      "name": "Charge Customer",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.1,
      "retryOnFail": true,
      "maxTries": 5,
      "position": [
        600,
        200
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.stripe.com/v1/charges",
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer <redacted-credential>"
            }
          ]
        }
      }
    },
    {
      "id": "save-1",
      "name": "Save To DB",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.3,
      "position": [
        800,
        200
      ],
      "parameters": {
        "operation": "insert",
        "schema": "public",
        "table": "leads"
      }
    }
  ],
  "connections": {
    "Webhook Start": {
      "main": [
        [
          {
            "node": "Look up jane.doe@example.com",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Look up jane.doe@example.com": {
      "main": [
        [
          {
            "node": "Charge Customer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Charge Customer": {
      "main": [
        [
          {
            "node": "Save To DB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

Dirty Lead Pipeline. Uses httpRequest, postgres. Webhook trigger; 4 nodes.

Source: https://github.com/wranngle/n8n_showcase/blob/main/fixtures/lint/dirty.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

Clean Lead Pipeline. Uses httpRequest, postgres. Webhook trigger; 5 nodes.

HTTP Request, Postgres
Marketing & Ads

Wranngle Lead Intake (Centralized). Uses postgres, emailSend, httpRequest. Webhook trigger; 5 nodes.

Postgres, Email Send, 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

get-data-for-marketting-dashboard. Uses postgres, googleAnalytics, httpRequest. Webhook trigger; 20 nodes.

Postgres, Google Analytics, HTTP Request
Marketing & Ads

Enrich person L3. Uses executeWorkflowTrigger, postgres, perplexity, httpRequest. Webhook trigger; 12 nodes.

Execute Workflow Trigger, Postgres, Perplexity +1