This workflow follows the Gmail → HTTP Request 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 →
{
"name": "01 \u2014 Lead z formularza \u2192 CRM \u2192 e-mail powitalny (klinweb.pl)",
"nodes": [
{
"parameters": {
"content": "## Lead z formularza \u2192 CRM \u2192 automatyczny follow-up\nSzablon KlinWeb (klinweb.pl). **Po imporcie pod\u0142\u0105cz w\u0142asne dane logowania** w w\u0119z\u0142ach \u201eZapis w CRM\" (HTTP) i \u201eE-mail powitalny\" (Gmail/SMTP). Zmie\u0144 URL API CRM i pole `path` webhooka na w\u0142asne.",
"height": 140,
"width": 720,
"color": 4
},
"id": "note-a1",
"name": "Sticky Note a1",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
0,
-180
]
},
{
"parameters": {
"httpMethod": "POST",
"path": "lead-form",
"responseMode": "onReceived",
"options": {}
},
"id": "n1-webhook",
"name": "Formularz (Webhook)",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
0,
0
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "a1",
"name": "email",
"value": "={{ $json.body.email.toLowerCase().trim() }}",
"type": "string"
},
{
"id": "a2",
"name": "imie",
"value": "={{ $json.body.name.trim() }}",
"type": "string"
},
{
"id": "a3",
"name": "zrodlo",
"value": "={{ $json.query.utm_source || \"organic\" }}",
"type": "string"
}
]
},
"options": {}
},
"id": "n1-set",
"name": "Normalizacja p\u00f3l",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
220,
0
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"typeValidation": "strict"
},
"conditions": [
{
"id": "c1",
"leftValue": "={{ $json.email }}",
"rightValue": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
"operator": {
"type": "string",
"operation": "regex"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "n1-if",
"name": "E-mail poprawny?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
440,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.twoj-crm.pl/v1/contacts",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\n \"email\": \"{{ $json.email }}\",\n \"name\": \"{{ $json.imie }}\",\n \"source\": \"{{ $json.zrodlo }}\",\n \"owner\": \"handlowiec@twojafirma.pl\"\n}",
"options": {}
},
"id": "n1-crm",
"name": "Zapis w CRM (HTTP)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
660,
-100
]
},
{
"parameters": {
"sendTo": "={{ $json.email }}",
"subject": "Dzi\u0119kujemy za kontakt \u2014 odezwiemy si\u0119 w ci\u0105gu godziny",
"message": "Cze\u015b\u0107 {{ $json.imie }},\n\ndostali\u015bmy Twoje zg\u0142oszenie i wracamy z odpowiedzi\u0105 najp\u00f3\u017aniej w ci\u0105gu godziny w dni robocze.\n\nPozdrawiamy,\nZesp\u00f3\u0142",
"options": {}
},
"id": "n1-mail",
"name": "E-mail powitalny",
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.1,
"position": [
880,
-100
]
},
{
"parameters": {},
"id": "n1-noop",
"name": "Odrzu\u0107 (z\u0142y e-mail)",
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [
660,
120
]
}
],
"connections": {
"Formularz (Webhook)": {
"main": [
[
{
"node": "Normalizacja p\u00f3l",
"type": "main",
"index": 0
}
]
]
},
"Normalizacja p\u00f3l": {
"main": [
[
{
"node": "E-mail poprawny?",
"type": "main",
"index": 0
}
]
]
},
"E-mail poprawny?": {
"main": [
[
{
"node": "Zapis w CRM (HTTP)",
"type": "main",
"index": 0
}
],
[
{
"node": "Odrzu\u0107 (z\u0142y e-mail)",
"type": "main",
"index": 0
}
]
]
},
"Zapis w CRM (HTTP)": {
"main": [
[
{
"node": "E-mail powitalny",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": [
{
"name": "klinweb.pl"
},
{
"name": "szablon-PL"
}
]
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
01 — Lead z formularza → CRM → e-mail powitalny (klinweb.pl). Uses httpRequest, gmail. Webhook trigger; 7 nodes.
Source: https://github.com/markus-smile/n8n-workflows-pl/blob/main/01-lead-formularz-crm-followup.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow automates bulk email campaigns with built-in validation, deliverability protection, and smart send-time optimization.
This workflow acts as an instant SDR that replies to new inbound leads across multiple channels in real time. It first captures and normalizes all incoming lead data into a unified structure. The work
A comprehensive n8n workflow template for streamlining influencer application processing with real-time social media data validation, intelligent scoring algorithms, and automated onboarding workflows
Cana V2 Lead Processor. Uses httpRequest, gmail, dataTable. Webhook trigger; 20 nodes.
AI LeadOps Main. Uses httpRequest, googleSheets, slack, gmail. Webhook trigger; 19 nodes.