AutomationFlowsMarketing & Ads › Whatsapp Lead to CRM

Whatsapp Lead to CRM

WhatsApp Lead to CRM. Uses httpRequest. Webhook trigger; 4 nodes.

Webhook trigger★★☆☆☆ complexity4 nodesHTTP Request
Marketing & Ads Trigger: Webhook Nodes: 4 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": "WhatsApp Lead to CRM",
  "nodes": [
    {
      "id": "a1b2c3d4-0001-0001-0001-000000000001",
      "name": "Webhook WhatsApp",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        240,
        300
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "whatsapp-lead",
        "responseMode": "responseNode",
        "options": {}
      }
    },
    {
      "id": "a1b2c3d4-0001-0001-0001-000000000002",
      "name": "Mapear Campos Lead",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        460,
        300
      ],
      "parameters": {
        "mode": "manual",
        "duplicateItem": false,
        "fields": {
          "values": [
            {
              "name": "nome",
              "type": "stringValue",
              "value": "={{ $json.body.pushName || $json.body.from }}"
            },
            {
              "name": "telefone",
              "type": "stringValue",
              "value": "={{ $json.body.from.replace('@s.whatsapp.net', '') }}"
            },
            {
              "name": "mensagem",
              "type": "stringValue",
              "value": "={{ $json.body.message.conversation }}"
            },
            {
              "name": "origem",
              "type": "stringValue",
              "value": "WhatsApp"
            },
            {
              "name": "data_contato",
              "type": "stringValue",
              "value": "={{ new Date().toISOString() }}"
            }
          ]
        },
        "options": {}
      }
    },
    {
      "id": "a1b2c3d4-0001-0001-0001-000000000003",
      "name": "Criar Lead no CRM",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        300
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.seucrm.com/v1/leads",
        "authentication": "predefinedCredentialType",
        "nodeCredentialType": "httpHeaderAuth",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        },
        "sendBody": true,
        "bodyContentType": "json",
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify({ name: $json.nome, phone: $json.telefone, message: $json.mensagem, source: $json.origem, created_at: $json.data_contato }) }}",
        "options": {}
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      }
    },
    {
      "id": "a1b2c3d4-0001-0001-0001-000000000004",
      "name": "Responder Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.1,
      "position": [
        900,
        300
      ],
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ JSON.stringify({ success: true, lead_id: $json.id, message: 'Lead criado com sucesso' }) }}",
        "options": {
          "responseCode": 200
        }
      }
    }
  ],
  "connections": {
    "Webhook WhatsApp": {
      "main": [
        [
          {
            "node": "Mapear Campos Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mapear Campos Lead": {
      "main": [
        [
          {
            "node": "Criar Lead no CRM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Criar Lead no CRM": {
      "main": [
        [
          {
            "node": "Responder Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "id": "a1b2c3d4-0001-0001-0001-000000000000",
  "meta": {
    "templateCredsSetupCompleted": false
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

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

About this workflow

WhatsApp Lead to CRM. Uses httpRequest. Webhook trigger; 4 nodes.

Source: https://github.com/Rubens-Marques/n8n-flows-library/blob/9226ec20cf7443ed2dad5c84e0f1d5f36651cfd1/flows/vendas/whatsapp-lead-crm/flow.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

Automating your marketing campaign management process can streamline your workflow and save you valuable time. With the combination of Baserow and n8n, you can efficiently handle your campaign data an

HTTP Request, GraphQL
Marketing & Ads

When a buyer inquires about a property on Zillow, Realtor.com, your IDX site, or Facebook Lead Ads, this workflow instantly creates an Aloware contact with full property details, sends a hyper-persona

HTTP Request
Marketing & Ads

WhatsApp Lead Follow-Up — reply to every lead in under 60 seconds. Uses httpRequest, googleSheets. Webhook trigger; 8 nodes.

HTTP Request, Google Sheets
Marketing & Ads

01 — Lead z formularza → CRM → e-mail powitalny (klinweb.pl). Uses httpRequest, gmail. Webhook trigger; 7 nodes.

HTTP Request, Gmail
Marketing & Ads

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

HTTP Request, Google Sheets, Telegram +1