
UniPile LinkedIn Profile Lookup Subworkflow
説明
Categories
⚙️ Automation
Nodes Used
n8n-nodes-base.setn8n-nodes-base.setn8n-nodes-base.setn8n-nodes-base.aggregaten8n-nodes-base.aggregaten8n-nodes-base.stickyNoten8n-nodes-base.httpRequestn8n-nodes-base.httpRequestn8n-nodes-base.executeWorkflowTrigger
Price無料
Views0
最終更新11/28/2025
workflow.json
{
"meta": {
"instanceId": "cb484ba7b742928a2048bf8829668bed5b5ad9787579adea888f05980292a4a7"
},
"nodes": [
{
"id": "f87a2a83-11c2-40f6-9b80-c1c13cb1d71f",
"name": "When Executed by Another Workflow",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-560,
-100
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "sender"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "43349b3c-cdc8-445b-8f03-6e42d19ccce9",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-840,
-500
],
"parameters": {
"color": 7,
"width": 1386,
"height": 840,
"content": "\n## Enrich LinkedIn Data with User or Org Data\nLinkedIn messages arrive from one of two object types, users or organizations. This workflow extracts the user data and passes it along. If the user is not found, then the Organization endpoint is searched instead. If it's found, it send that, otherwise it sends a not found object. "
},
"typeVersion": 1
},
{
"id": "880c3f22-bb81-4311-bcf2-6943dd7a0988",
"name": "Get Linkedin User Data from Unipile",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
-360,
-100
],
"parameters": {
"url": "=https://api9.unipile.com:13976/api/v1/users/{{ $json.sender }}",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "account_id",
"value": "-oWmWRkASjKGUZadYcjcyg"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "VfYHlcsosNuUS2YD",
"name": "unipile angel"
}
},
"typeVersion": 4.2
},
{
"id": "0e15d998-a820-48d6-80fe-56331df2998d",
"name": "Set User Data from Unipile",
"type": "n8n-nodes-base.set",
"position": [
-100,
-240
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "aee91408-b68d-472e-8c3e-89260dd38c1c",
"name": "first_name",
"type": "string",
"value": "={{ $json.first_name }}"
},
{
"id": "57b3be6f-ba76-48c3-8f2e-1d9bb03d0dd5",
"name": "last_name",
"type": "string",
"value": "={{ $json.last_name }}"
},
{
"id": "75167f30-96d6-4442-9542-9d1b8e17fcb6",
"name": "headline",
"type": "string",
"value": "={{ $json.headline }}"
},
{
"id": "3e8bccc1-04a9-49f6-8053-eba22fe8d2f4",
"name": "websites",
"type": "array",
"value": "={{ $json.websites }}"
},
{
"id": "2e3dd2fe-5f71-4d19-bee8-085dd9bfc18c",
"name": "follower_count",
"type": "number",
"value": "={{ $json.follower_count }}"
},
{
"id": "ac5cc567-3c4f-481c-b229-9dc1e48d39fb",
"name": "connections_count",
"type": "number",
"value": "={{ $json.connections_count }}"
},
{
"id": "6bad07a6-4641-48cb-b436-fb735319865f",
"name": "location",
"type": "string",
"value": "={{ $json.location }}"
},
{
"id": "029fa351-f49f-4388-a59e-5719fcf8a506",
"name": "profile_picture_url",
"type": "string",
"value": "={{ $json.profile_picture_url }}"
},
{
"id": "2f96dca6-acee-41c0-83b5-00cd406d3301",
"name": "is_influencer",
"type": "boolean",
"value": "={{ $json.is_influencer }}"
},
{
"id": "4278e070-ce56-4993-b637-57ac60e83a49",
"name": "is_premium",
"type": "boolean",
"value": "={{ $json.is_premium }}"
},
{
"id": "b92c38f1-1423-4b7e-a807-320d13e0a944",
"name": "shared_connections_count",
"type": "number",
"value": "={{ $json.shared_connections_count }}"
},
{
"id": "96b24500-e6a4-444a-806c-0b61a1f00407",
"name": "type",
"type": "string",
"value": "user"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "5eca56b3-e771-40c7-8415-2b9553a281ec",
"name": "Group in one object - User",
"type": "n8n-nodes-base.aggregate",
"position": [
80,
-240
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData",
"destinationFieldName": "linkedinprofile"
},
"typeVersion": 1
},
{
"id": "778e02d4-a6ab-4eaf-98e1-840cc09aa773",
"name": "Get Linkedin Org Data from Unipile",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueErrorOutput",
"position": [
-100,
-20
],
"parameters": {
"url": "=https://api9.unipile.com:13976/api/v1/linkedin/company/{{ $json.sender }}",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "account_id",
"value": "-oWmWRkASjKGUZadYcjcyg"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "VfYHlcsosNuUS2YD",
"name": "unipile angel"
}
},
"typeVersion": 4.2
},
{
"id": "acd3ec80-4e8e-4539-bc06-b21e1aa63774",
"name": "Set Linkedin Org Data from Unipile",
"type": "n8n-nodes-base.set",
"position": [
180,
-40
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "aee91408-b68d-472e-8c3e-89260dd38c1c",
"name": "first_name",
"type": "string",
"value": "={{ $json.name }}"
},
{
"id": "57b3be6f-ba76-48c3-8f2e-1d9bb03d0dd5",
"name": "last_name",
"type": "string",
"value": "="
},
{
"id": "75167f30-96d6-4442-9542-9d1b8e17fcb6",
"name": "headline",
"type": "string",
"value": "={{ $json.description }}"
},
{
"id": "3e8bccc1-04a9-49f6-8053-eba22fe8d2f4",
"name": "websites",
"type": "string",
"value": "={{ $json.website }}"
},
{
"id": "2e3dd2fe-5f71-4d19-bee8-085dd9bfc18c",
"name": "follower_count",
"type": "number",
"value": "={{ $json.followers_count }}"
},
{
"id": "ac5cc567-3c4f-481c-b229-9dc1e48d39fb",
"name": "employee_count",
"type": "number",
"value": "={{ $json.employee_count_range.from }}"
},
{
"id": "6bad07a6-4641-48cb-b436-fb735319865f",
"name": "location",
"type": "string",
"value": "={{ $json.locations[0].street.join(' ') }}, {{ $json.locations[0].city }} {{ $json.locations[0].area }}, {{ $json.locations[0].postalCode }} {{ $json.locations[0].country }}."
},
{
"id": "89035aa7-e7bb-46eb-9f4b-633e2c17478a",
"name": "hashtags",
"type": "array",
"value": "={{ $json.hashtags }}"
},
{
"id": "25b0abe6-aef7-4d6f-88ea-5fcbd3472089",
"name": "profile_picture_url",
"type": "string",
"value": "={{ $json.logo }}"
},
{
"id": "decf44b7-520e-4977-9df5-276c5117d8e4",
"name": "type",
"type": "string",
"value": "organization"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "ad3d70cf-adec-47d0-a0d2-48ddaf4d11fb",
"name": "Group in one object - Org",
"type": "n8n-nodes-base.aggregate",
"position": [
380,
-40
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData",
"destinationFieldName": "linkedinprofile"
},
"typeVersion": 1
},
{
"id": "45516b60-4465-4140-adbc-df9bf66b22ef",
"name": "Set unable to find data object",
"type": "n8n-nodes-base.set",
"position": [
180,
160
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "438518ca-d55a-45d5-9210-0c53de7ae108",
"name": "linkedinprofile",
"type": "string",
"value": "Unable to find LinkedIn Data"
}
]
}
},
"typeVersion": 3.4
}
],
"pinData": {},
"connections": {
"Group in one object - Org": {
"main": [
[]
]
},
"Group in one object - User": {
"main": [
[]
]
},
"Set User Data from Unipile": {
"main": [
[
{
"node": "Group in one object - User",
"type": "main",
"index": 0
}
]
]
},
"When Executed by Another Workflow": {
"main": [
[
{
"node": "Get Linkedin User Data from Unipile",
"type": "main",
"index": 0
}
]
]
},
"Get Linkedin Org Data from Unipile": {
"main": [
[
{
"node": "Set Linkedin Org Data from Unipile",
"type": "main",
"index": 0
}
],
[
{
"node": "Set unable to find data object",
"type": "main",
"index": 0
}
]
]
},
"Set Linkedin Org Data from Unipile": {
"main": [
[
{
"node": "Group in one object - Org",
"type": "main",
"index": 0
}
]
]
},
"Get Linkedin User Data from Unipile": {
"main": [
[
{
"node": "Set User Data from Unipile",
"type": "main",
"index": 0
}
],
[
{
"node": "Get Linkedin Org Data from Unipile",
"type": "main",
"index": 0
}
]
]
}
}
}