Instantly share code, notes, and snippets.
Created
August 31, 2025 15:56
-
Star
0
(0)
You must be signed in to star a gist -
Fork
0
(0)
You must be signed in to fork a gist
-
-
Save pratik-dani/80fa8e7dbc234d6d6c7b50314ccfadca to your computer and use it in GitHub Desktop.
Social URLs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Social URLs", | |
| "nodes": [ | |
| { | |
| "parameters": { | |
| "workflowInputs": { | |
| "values": [ | |
| { | |
| "name": "domain" | |
| } | |
| ] | |
| } | |
| }, | |
| "type": "n8n-nodes-base.executeWorkflowTrigger", | |
| "typeVersion": 1.1, | |
| "position": [ | |
| -1136, | |
| 264 | |
| ], | |
| "id": "d7289b0d-a291-4a14-95c6-0796838990de", | |
| "name": "When Executed by Another Workflow" | |
| }, | |
| { | |
| "parameters": { | |
| "actorId": { | |
| "__rl": true, | |
| "value": "nFJndFXA5zjCTuudP", | |
| "mode": "list", | |
| "cachedResultName": "Google Search Results Scraper (apify/google-search-scraper)", | |
| "cachedResultUrl": "https://console.apify.com/actors/nFJndFXA5zjCTuudP/input" | |
| }, | |
| "customBody": "={\n \"queries\": \"site:crunchbase.com {{ $json.domain }}\\nsite:linkedin.com {{ $json.domain }}\\nsite:pitchbook.com {{ $json.domain }}\",\n \"maxPagesPerQuery\": 1,\n \"resultsPerPage\": 1,\n \"focusOnPaidAds\": false,\n \"searchLanguage\": \"\",\n \"languageCode\": \"\",\n \"forceExactMatch\": false,\n \"wordsInTitle\": [],\n \"wordsInText\": [],\n \"wordsInUrl\": [],\n \"mobileResults\": false,\n \"includeUnfilteredResults\": false,\n \"saveHtml\": false,\n \"saveHtmlToKeyValueStore\": true,\n \"includeIcons\": false\n}", | |
| "timeout": {}, | |
| "authentication": "apifyOAuth2Api" | |
| }, | |
| "type": "@apify/n8n-nodes-apify.apify", | |
| "typeVersion": 1, | |
| "position": [ | |
| -912, | |
| 264 | |
| ], | |
| "id": "b64f190e-d9fa-455a-9ebf-bf22c36cc8d9", | |
| "name": "Run an Actor", | |
| "credentials": { | |
| "apifyOAuth2Api": { | |
| "id": "8KUF9J0i1scMWZ84", | |
| "name": "Apify account" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "resource": "Datasets", | |
| "datasetId": "={{ $json.defaultDatasetId }}", | |
| "offset": {}, | |
| "authentication": "apifyOAuth2Api" | |
| }, | |
| "type": "@apify/n8n-nodes-apify.apify", | |
| "typeVersion": 1, | |
| "position": [ | |
| -688, | |
| 264 | |
| ], | |
| "id": "5419449e-9a99-454f-a4d2-e9d761c0ef25", | |
| "name": "Get dataset items", | |
| "credentials": { | |
| "apifyOAuth2Api": { | |
| "id": "8KUF9J0i1scMWZ84", | |
| "name": "Apify account" | |
| } | |
| } | |
| }, | |
| { | |
| "parameters": { | |
| "assignments": { | |
| "assignments": [ | |
| { | |
| "id": "7d3c054a-db4d-447c-b540-526de1d1cfaa", | |
| "name": "organicResults", | |
| "value": "={{ $json.organicResults }}", | |
| "type": "array" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.set", | |
| "typeVersion": 3.4, | |
| "position": [ | |
| -464, | |
| 264 | |
| ], | |
| "id": "aecf676f-3da0-41eb-9867-d9c1d2a04f52", | |
| "name": "Edit Fields" | |
| }, | |
| { | |
| "parameters": { | |
| "batchSize": "={{ 3 }}", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.splitInBatches", | |
| "typeVersion": 3, | |
| "position": [ | |
| -240, | |
| 264 | |
| ], | |
| "id": "b74285d0-fa4e-4dcb-942e-574b7d1f2b8e", | |
| "name": "Loop Over Items" | |
| }, | |
| { | |
| "parameters": {}, | |
| "type": "n8n-nodes-base.noOp", | |
| "name": "Replace Me", | |
| "typeVersion": 1, | |
| "position": [ | |
| 880, | |
| 432 | |
| ], | |
| "id": "1f61a72f-451a-4e93-a8d3-c5c4f4434368" | |
| }, | |
| { | |
| "parameters": { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "ed779fdf-1467-4af1-899e-10d040e79a9d", | |
| "leftValue": "={{ $json.organicResults[0].url }}", | |
| "rightValue": "linkedin\\.com/company/[^/]+", | |
| "operator": { | |
| "type": "string", | |
| "operation": "regex" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.if", | |
| "typeVersion": 2.2, | |
| "position": [ | |
| -16, | |
| 264 | |
| ], | |
| "id": "c9c58142-bfa3-438c-9ed3-258a333f748e", | |
| "name": "LinkedIn URL Extractor" | |
| }, | |
| { | |
| "parameters": { | |
| "assignments": { | |
| "assignments": [ | |
| { | |
| "id": "e5430247-4cc3-4829-9b49-e54aa9a1ca92", | |
| "name": "linkedin_url", | |
| "value": "={{ $json.organicResults[0].url }}", | |
| "type": "string" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.set", | |
| "typeVersion": 3.4, | |
| "position": [ | |
| 656, | |
| 0 | |
| ], | |
| "id": "cea57a06-1402-4589-ba72-e1ef84d1a45b", | |
| "name": "Edit Fields1" | |
| }, | |
| { | |
| "parameters": { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "c72391b8-d9cb-4f0c-ad2b-aec71115834e", | |
| "leftValue": "={{ $json.organicResults[0].url }}", | |
| "rightValue": "crunchbase\\.com/organization/[^/]+", | |
| "operator": { | |
| "type": "string", | |
| "operation": "regex" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.if", | |
| "typeVersion": 2.2, | |
| "position": [ | |
| 208, | |
| 360 | |
| ], | |
| "id": "ce5fa7a2-7c51-4cfd-8137-64700d58c60d", | |
| "name": "Crunchbase Extractor" | |
| }, | |
| { | |
| "parameters": { | |
| "assignments": { | |
| "assignments": [ | |
| { | |
| "id": "e5430247-4cc3-4829-9b49-e54aa9a1ca92", | |
| "name": "crunchbase_url", | |
| "value": "={{ $json.organicResults[0].url }}", | |
| "type": "string" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.set", | |
| "typeVersion": 3.4, | |
| "position": [ | |
| 656, | |
| 192 | |
| ], | |
| "id": "517e47b0-9f46-4bc6-b5ae-1ea309ca2d40", | |
| "name": "Edit Fields2" | |
| }, | |
| { | |
| "parameters": { | |
| "assignments": { | |
| "assignments": [ | |
| { | |
| "id": "e5430247-4cc3-4829-9b49-e54aa9a1ca92", | |
| "name": "pitchbook_url", | |
| "value": "={{ $json.organicResults[0].url }}", | |
| "type": "string" | |
| } | |
| ] | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.set", | |
| "typeVersion": 3.4, | |
| "position": [ | |
| 656, | |
| 336 | |
| ], | |
| "id": "1c96d672-35f7-4359-ac7d-bab7d90bd95d", | |
| "name": "Edit Fields3" | |
| }, | |
| { | |
| "parameters": { | |
| "conditions": { | |
| "options": { | |
| "caseSensitive": true, | |
| "leftValue": "", | |
| "typeValidation": "strict", | |
| "version": 2 | |
| }, | |
| "conditions": [ | |
| { | |
| "id": "c72391b8-d9cb-4f0c-ad2b-aec71115834e", | |
| "leftValue": "={{ $json.organicResults[0].url }}", | |
| "rightValue": "pitchbook\\.com/profiles/company/[^/]+", | |
| "operator": { | |
| "type": "string", | |
| "operation": "regex" | |
| } | |
| } | |
| ], | |
| "combinator": "and" | |
| }, | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.if", | |
| "typeVersion": 2.2, | |
| "position": [ | |
| 432, | |
| 416 | |
| ], | |
| "id": "2cd5179f-7bff-4104-a0d4-006af3c24640", | |
| "name": "Pitchbook Extractor" | |
| }, | |
| { | |
| "parameters": { | |
| "aggregate": "aggregateAllItemData", | |
| "options": {} | |
| }, | |
| "type": "n8n-nodes-base.aggregate", | |
| "typeVersion": 1, | |
| "position": [ | |
| -16, | |
| 72 | |
| ], | |
| "id": "b51c743f-80b1-4c1e-b684-c05aac400574", | |
| "name": "Aggregate" | |
| } | |
| ], | |
| "pinData": { | |
| "When Executed by Another Workflow": [ | |
| { | |
| "json": { | |
| "domain": "microsoft.com" | |
| } | |
| } | |
| ] | |
| }, | |
| "connections": { | |
| "When Executed by Another Workflow": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Run an Actor", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Run an Actor": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Get dataset items", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Get dataset items": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Edit Fields", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Edit Fields": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Loop Over Items", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Loop Over Items": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Aggregate", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "LinkedIn URL Extractor", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Replace Me": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Loop Over Items", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "LinkedIn URL Extractor": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Edit Fields1", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Crunchbase Extractor", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Edit Fields1": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Replace Me", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Crunchbase Extractor": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Edit Fields2", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Pitchbook Extractor", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Edit Fields2": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Replace Me", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Edit Fields3": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Replace Me", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| }, | |
| "Pitchbook Extractor": { | |
| "main": [ | |
| [ | |
| { | |
| "node": "Edit Fields3", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ], | |
| [ | |
| { | |
| "node": "Replace Me", | |
| "type": "main", | |
| "index": 0 | |
| } | |
| ] | |
| ] | |
| } | |
| }, | |
| "active": false, | |
| "settings": { | |
| "executionOrder": "v1" | |
| }, | |
| "versionId": "18a7b122-1d35-42eb-9014-36ca99909a9c", | |
| "meta": { | |
| "instanceId": "4b2ada92eac5fa9c8485e82fc999c531ceecbe4766408fa5795a0a1a333d5b3c" | |
| }, | |
| "id": "jbLhyNgaRHGzpnyE", | |
| "tags": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment