Skip to content

Instantly share code, notes, and snippets.

@arnaudh458
Created September 4, 2025 15:05
Show Gist options
  • Select an option

  • Save arnaudh458/888ece04ba9ecd5eab92df47114d2e27 to your computer and use it in GitHub Desktop.

Select an option

Save arnaudh458/888ece04ba9ecd5eab92df47114d2e27 to your computer and use it in GitHub Desktop.
{
"name": "Comment a LinkedIn post",
"nodes": [
{
"parameters": {
"method": "POST",
"url": "=https://api14.unipile.com:14485/api/v1/posts/{{ $json.social_id }}/comments",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "X-API-KEY",
"value": "FAKE_VALUE"
},
{
"name": "accept",
"value": "FAKE_VALUE"
}
]
},
"sendBody": true,
"bodyParameters": {
"parameters": [
{
"name": "account_id",
"value": "VrnrZzk_QB6ZExs_ULlO7w"
},
{
"name": "text",
"value": "Nunc consectetur arcu sit amet eros tempus imperdiet. Aliquam at nibh eget quam luctus ornare. Sed ante libero, ullamcorper at neque a, sodales ultrices arcu"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
416,
0
],
"id": "179e581d-b61e-4878-8394-3340a05472cc",
"name": "HTTP Request - Comment a post"
},
{
"parameters": {
"url": "https://api14.unipile.com:14485/api/v1/posts/7368649927968571392",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "account_id",
"value": "o2KNgvMYQWq9nd0roLf5XQ"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "X-API-KEY",
"value": "FAKE_VALUE"
},
{
"name": "accept",
"value": "FAKE_VALUE"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
208,
0
],
"id": "a882a06d-1513-4f62-978a-ab9a66b5576a",
"name": "HTTP Request - Retrieve a post"
},
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "054d96cb-f9ca-4b86-b035-c711105e15e1",
"name": "When clicking ‘Execute workflow’"
}
],
"pinData": {},
"connections": {
"HTTP Request - Retrieve a post": {
"main": [
[
{
"node": "HTTP Request - Comment a post",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "HTTP Request - Retrieve a post",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment