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": "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
}
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 →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
01 — Lead z formularza → CRM → e-mail powitalny (klinweb.pl). Uses httpRequest, gmail. Webhook trigger; 7 nodes.
Speed To Lead. Uses httpRequest, googleSheets, telegram, telegramTrigger. Webhook trigger; 5 nodes.
Forgexe - Contact Formulier. Uses googleSheets, httpRequest. Webhook trigger; 5 nodes.
Forgexe - Scan Wizard Lead. Uses googleSheets, httpRequest. Webhook trigger; 5 nodes.
Clean Lead Pipeline. Uses httpRequest, postgres. Webhook trigger; 5 nodes.