Skip to content

Instantly share code, notes, and snippets.

@pratik-dani
Created August 31, 2025 15:56
Show Gist options
  • Select an option

  • Save pratik-dani/17f18f0a3f58d89a301acd26ae47b74b to your computer and use it in GitHub Desktop.

Select an option

Save pratik-dani/17f18f0a3f58d89a301acd26ae47b74b to your computer and use it in GitHub Desktop.
Pitchbook Scraper
{
"name": "Pitchbook Scraper",
"nodes": [
{
"parameters": {
"workflowInputs": {
"values": [
{
"name": "pitchbook_url"
}
]
}
},
"type": "n8n-nodes-base.executeWorkflowTrigger",
"typeVersion": 1.1,
"position": [
-1120,
168
],
"id": "3de4062a-ea78-418d-8517-41e07ccc0b7f",
"name": "When Executed by Another Workflow"
},
{
"parameters": {},
"type": "n8n-nodes-base.noOp",
"name": "Check Again",
"typeVersion": 1,
"position": [
224,
264
],
"id": "a9e315c1-5d86-4127-b616-6b99edd97376"
},
{
"parameters": {
"resource": "webScrapper",
"operation": "monitorProgressSnapshot",
"snapshot_id": "={{ $json.snapshot_id }}",
"requestOptions": {}
},
"type": "@brightdata/n8n-nodes-brightdata.brightData",
"typeVersion": 1,
"position": [
-448,
96
],
"id": "7ee7f774-3ba4-42fa-a63d-f882c438e377",
"name": "Check the status of a batch extraction",
"credentials": {
"brightdataApi": {
"id": "cghP2sCmubIaCvoX",
"name": "BrightData account"
}
}
},
{
"parameters": {},
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
0,
192
],
"id": "1ab085a0-99d2-4010-b4c0-6bcbb3dc92e1",
"name": "Wait 5 Seconds",
"webhookId": "1ed9768a-7b5e-4571-8355-2398252eef4b"
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 2
},
"conditions": [
{
"id": "521904c4-36ac-4af8-858f-56bb7620d300",
"leftValue": "={{ $json.status }}",
"rightValue": "ready",
"operator": {
"type": "string",
"operation": "equals",
"name": "filter.operator.equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
-224,
96
],
"id": "6236ff72-e2f0-4f83-93d6-1be0737ea0e0",
"name": "If"
},
{
"parameters": {
"resource": "webScrapper",
"operation": "downloadSnapshot",
"snapshot_id": "={{ $json.snapshot_id }}",
"requestOptions": {}
},
"type": "@brightdata/n8n-nodes-brightdata.brightData",
"typeVersion": 1,
"position": [
0,
0
],
"id": "81a2c444-f8e9-4bbd-9da9-b5b83c64aad6",
"name": "Download the snapshot content",
"alwaysOutputData": true,
"credentials": {
"brightdataApi": {
"id": "cghP2sCmubIaCvoX",
"name": "BrightData account"
}
}
},
{
"parameters": {
"options": {
"reset": true
}
},
"type": "n8n-nodes-base.splitInBatches",
"typeVersion": 3,
"position": [
-672,
168
],
"id": "45604b72-2900-43f0-a82f-bfc6998a2563",
"name": "Loop Over Items"
},
{
"parameters": {
"resource": "webScrapper",
"operation": "triggerCollectionByUrl",
"dataset_id": {
"__rl": true,
"value": "gd_m4ijiqfp2n9oe3oluj",
"mode": "list",
"cachedResultName": "pitchbook companies information"
},
"urls": "=[{\"url\": \"{{ $json.pitchbook_url }}\"}]",
"requestOptions": {}
},
"type": "@brightdata/n8n-nodes-brightdata.brightData",
"typeVersion": 1,
"position": [
-896,
168
],
"id": "b65e8675-33af-4116-8172-e1c3df796962",
"name": "Initiate batch extraction from URL",
"credentials": {
"brightdataApi": {
"id": "cghP2sCmubIaCvoX",
"name": "BrightData account"
}
}
}
],
"pinData": {
"When Executed by Another Workflow": [
{
"json": {
"pitchbook_url": "https://pitchbook.com/profiles/company/11026-45"
}
}
]
},
"connections": {
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Initiate batch extraction from URL",
"type": "main",
"index": 0
}
]
]
},
"Check Again": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Check the status of a batch extraction": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Wait 5 Seconds": {
"main": [
[
{
"node": "Check Again",
"type": "main",
"index": 0
}
]
]
},
"If": {
"main": [
[
{
"node": "Download the snapshot content",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait 5 Seconds",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[],
[
{
"node": "Check the status of a batch extraction",
"type": "main",
"index": 0
}
]
]
},
"Initiate batch extraction from URL": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "6e88e565-99a8-4ce6-b2c3-7c4572b8a3b1",
"meta": {
"instanceId": "4b2ada92eac5fa9c8485e82fc999c531ceecbe4766408fa5795a0a1a333d5b3c"
},
"id": "whSRVOjrQcgHZ20l",
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment