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 →
{
"updatedAt": "2026-03-15T20:45:35.914Z",
"createdAt": "2026-03-08T19:25:50.113Z",
"id": "BjHe6jnpWTYOcPS3",
"name": "VenueDesk \u2014 API: Get Leads",
"description": null,
"active": true,
"isArchived": false,
"nodes": [
{
"id": "wh1",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
200,
300
],
"parameters": {
"path": "leads-get",
"httpMethod": "GET",
"responseMode": "responseNode",
"authentication": "none"
},
"credentials": {}
},
{
"id": "ext1",
"name": "Extract Tenant",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
420,
300
],
"parameters": {
"jsCode": "// No tenant filtering needed \u2014 leadgen is a single admin tool\nreturn { json: {} };"
}
},
{
"id": "pg1",
"name": "Get All Leads",
"type": "n8n-nodes-base.postgres",
"typeVersion": 2,
"position": [
640,
300
],
"credentials": {
"postgres": {
"name": "<your credential>"
}
},
"parameters": {
"operation": "executeQuery",
"query": "SELECT * FROM leads ORDER BY created_at DESC LIMIT 500",
"options": {}
}
},
{
"id": "re1",
"name": "Respond",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
880,
300
],
"parameters": {
"respondWith": "allIncomingItems",
"options": {}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Extract Tenant",
"type": "main",
"index": 0
}
]
]
},
"Extract Tenant": {
"main": [
[
{
"node": "Get All Leads",
"type": "main",
"index": 0
}
]
]
},
"Get All Leads": {
"main": [
[
{
"node": "Respond",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1",
"callerPolicy": "workflowsFromSameOwner",
"availableInMCP": true
},
"staticData": null,
"meta": null,
"versionId": "a2033043-296e-4539-8252-5d3ff1fb530d",
"activeVersionId": "a2033043-296e-4539-8252-5d3ff1fb530d",
"versionCounter": 10,
"triggerCount": 1,
"shared": [
{
"updatedAt": "2026-03-08T19:25:50.113Z",
"createdAt": "2026-03-08T19:25:50.113Z",
"role": "workflow:owner",
"workflowId": "BjHe6jnpWTYOcPS3",
"projectId": "xsdyFVsct988qLUy",
"project": {
"updatedAt": "2025-12-04T20:24:17.537Z",
"createdAt": "2025-12-04T19:47:48.685Z",
"id": "xsdyFVsct988qLUy",
"name": "andrew johnson <andrew.ralston.johnson@gmail.com>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "e2485274-7097-4eb5-8502-e39b2308096c"
}
}
],
"tags": [],
"activeVersion": {
"updatedAt": "2026-03-10T20:51:51.514Z",
"createdAt": "2026-03-10T20:51:51.514Z",
"versionId": "a2033043-296e-4539-8252-5d3ff1fb530d",
"workflowId": "BjHe6jnpWTYOcPS3",
"nodes": [
{
"id": "wh1",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
200,
300
],
"parameters": {
"path": "leads-get",
"httpMethod": "GET",
"responseMode": "responseNode",
"authentication": "none"
},
"webhookId": "leads-get",
"credentials": {}
},
{
"id": "ext1",
"name": "Extract Tenant",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
420,
300
],
"parameters": {
"jsCode": "// No tenant filtering needed \u2014 leadgen is a single admin tool\nreturn { json: {} };"
}
},
{
"id": "pg1",
"name": "Get All Leads",
"type": "n8n-nodes-base.postgres",
"typeVersion": 2,
"position": [
640,
300
],
"credentials": {
"postgres": {
"id": "iEsRYyB7vjr5G7i8",
"name": "Postgres account 3"
}
},
"parameters": {
"operation": "executeQuery",
"query": "SELECT * FROM leads ORDER BY created_at DESC LIMIT 500",
"options": {}
}
},
{
"id": "re1",
"name": "Respond",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
880,
300
],
"parameters": {
"respondWith": "allIncomingItems",
"options": {}
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Extract Tenant",
"type": "main",
"index": 0
}
]
]
},
"Extract Tenant": {
"main": [
[
{
"node": "Get All Leads",
"type": "main",
"index": 0
}
]
]
},
"Get All Leads": {
"main": [
[
{
"node": "Respond",
"type": "main",
"index": 0
}
]
]
}
},
"authors": "andrew johnson",
"name": null,
"description": null,
"autosaved": false,
"workflowPublishHistory": [
{
"createdAt": "2026-03-15T20:45:35.934Z",
"id": 1408,
"workflowId": "BjHe6jnpWTYOcPS3",
"versionId": "a2033043-296e-4539-8252-5d3ff1fb530d",
"event": "deactivated",
"userId": "e2485274-7097-4eb5-8502-e39b2308096c"
},
{
"createdAt": "2026-03-15T20:45:35.944Z",
"id": 1409,
"workflowId": "BjHe6jnpWTYOcPS3",
"versionId": "a2033043-296e-4539-8252-5d3ff1fb530d",
"event": "activated",
"userId": "e2485274-7097-4eb5-8502-e39b2308096c"
},
{
"createdAt": "2026-03-10T20:51:51.538Z",
"id": 933,
"workflowId": "BjHe6jnpWTYOcPS3",
"versionId": "a2033043-296e-4539-8252-5d3ff1fb530d",
"event": "deactivated",
"userId": "e2485274-7097-4eb5-8502-e39b2308096c"
},
{
"createdAt": "2026-03-10T20:51:51.547Z",
"id": 934,
"workflowId": "BjHe6jnpWTYOcPS3",
"versionId": "a2033043-296e-4539-8252-5d3ff1fb530d",
"event": "activated",
"userId": "e2485274-7097-4eb5-8502-e39b2308096c"
}
]
}
}
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.
postgres
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
VenueDesk — API: Get Leads. Uses postgres. Webhook trigger; 4 nodes.
Source: https://github.com/AndyJay72/VenueDesk/blob/main/n8n-workflows/BjHe6jnpWTYOcPS3.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.
get-data-for-marketting-dashboard. Uses postgres, googleAnalytics, httpRequest. Webhook trigger; 20 nodes.
Enrich person L3. Uses executeWorkflowTrigger, postgres, perplexity, httpRequest. Webhook trigger; 12 nodes.
Enrich company L1. Uses executeWorkflowTrigger, postgres, perplexity. Webhook trigger; 9 nodes.
Kreativ: Lead Scoring. Uses executeWorkflowTrigger, postgres, httpRequest. Webhook trigger; 8 nodes.