This workflow corresponds to n8n.io template #15658 — we link there as the canonical source.
This workflow follows the Agent → HTTP Request recipe pattern — see all workflows that pair these two integrations.
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 →
{
"meta": {
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "db792aac-0505-4478-b823-c031de1637c6",
"name": "Sticky Note13",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1296,
-432
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "28f96942-f2d4-400d-bc52-6659a3292c84",
"name": "Sticky Note16",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1296,
-848
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "db145696-8b69-4303-9f8e-383c5aacbc4a",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2048,
-112
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "aa6abd05-4f0b-4911-a24b-042b40081e7e",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1488,
-64
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bfaecd8f-a0e2-4939-8ec3-0b2bd71306a9",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1056,
-80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "07d92fa9-0c76-4d35-bc0e-b809887348c6",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-608,
-112
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d833457c-3c22-47a2-8f70-ebc5e26d9cd8",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-224,
-80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c846ca35-8967-46fc-a865-52c15398506a",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-96
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1f1e87bf-fa9e-4ab0-81cc-722905cdf8f3",
"name": "When LinkedIn Reply Received",
"type": "n8n-nodes-base.webhook",
"position": [
-1440,
96
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "14be39c3-1663-4e4a-ae70-6e452ef76ea3",
"name": "Filter Valid LinkedIn URLs",
"type": "n8n-nodes-base.filter",
"position": [
-1232,
96
],
"parameters": {},
"typeVersion": 2.3
},
{
"id": "11bcd609-4b4d-4747-96f3-f0af8391cc46",
"name": "Fetch LinkedIn Public Identifier",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1008,
96
],
"parameters": {},
"typeVersion": 4.4
},
{
"id": "e9a2b947-09b3-4c1b-9a53-218a24b5e6f8",
"name": "Fetch LinkedIn Chat Messages",
"type": "n8n-nodes-base.httpRequest",
"position": [
-816,
96
],
"parameters": {},
"typeVersion": 4.4
},
{
"id": "31eb6520-d42d-4d7f-bd25-3d43ffd2c871",
"name": "LinkedIn Reply Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-560,
96
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "950ac100-9871-4fd7-958d-9e756eee98e6",
"name": "Wait Business Hours Delay",
"type": "n8n-nodes-base.wait",
"position": [
288,
80
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c8371bab-e5db-40cc-ac22-64fd5752cb24",
"name": "If Escalation Needed",
"type": "n8n-nodes-base.if",
"position": [
-176,
96
],
"parameters": {},
"typeVersion": 2.3
},
{
"id": "ed0852a8-c789-463f-9a34-0e083ba9614c",
"name": "Send Escalation to Discord",
"type": "n8n-nodes-base.discord",
"position": [
64,
240
],
"parameters": {},
"typeVersion": 2
},
{
"id": "550f8410-1529-4b2b-8a01-82d0d4f3c004",
"name": "Post AI Reply to LinkedIn Chat",
"type": "n8n-nodes-base.httpRequest",
"position": [
480,
80
],
"parameters": {},
"typeVersion": 4.4
},
{
"id": "388dcff6-82dd-4c9b-81a9-765aca1d8c46",
"name": "OpenAI GPT-5-mini Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-560,
288
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "97814695-54d0-4695-b3b8-4ab16ceb79f3",
"name": "Parse Linkedin output",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-416,
288
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "79358389-cf52-4eda-9d70-cdc4fd4e0e99",
"name": "Create webhook Unipile",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1072,
496
],
"parameters": {},
"typeVersion": 4.4
},
{
"id": "6b0f9914-a7e7-4b22-a53d-a29c696768bb",
"name": "When clicking \u2018Execute workflow\u2019",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1440,
496
],
"parameters": {},
"typeVersion": 1
},
{
"id": "518e4d88-6d65-47ed-94bb-98d2846ad86a",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
-1264,
496
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "67d1f751-afc5-4402-bf2c-3adf1dc328a0",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1488,
368
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"connections": {
"Edit Fields": {
"main": [
[
{
"node": "Create webhook Unipile",
"type": "main",
"index": 0
}
]
]
},
"If Escalation Needed": {
"main": [
[
{
"node": "Wait Business Hours Delay",
"type": "main",
"index": 0
}
],
[
{
"node": "Send Escalation to Discord",
"type": "main",
"index": 0
}
]
]
},
"LinkedIn Reply Agent": {
"main": [
[
{
"node": "If Escalation Needed",
"type": "main",
"index": 0
}
]
]
},
"Parse Linkedin output": {
"ai_outputParser": [
[
{
"node": "LinkedIn Reply Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"OpenAI GPT-5-mini Model": {
"ai_languageModel": [
[
{
"node": "LinkedIn Reply Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Wait Business Hours Delay": {
"main": [
[
{
"node": "Post AI Reply to LinkedIn Chat",
"type": "main",
"index": 0
}
]
]
},
"Filter Valid LinkedIn URLs": {
"main": [
[
{
"node": "Fetch LinkedIn Public Identifier",
"type": "main",
"index": 0
}
]
]
},
"Fetch LinkedIn Chat Messages": {
"main": [
[
{
"node": "LinkedIn Reply Agent",
"type": "main",
"index": 0
}
]
]
},
"When LinkedIn Reply Received": {
"main": [
[
{
"node": "Filter Valid LinkedIn URLs",
"type": "main",
"index": 0
}
]
]
},
"Fetch LinkedIn Public Identifier": {
"main": [
[
{
"node": "Fetch LinkedIn Chat Messages",
"type": "main",
"index": 0
}
]
]
},
"When clicking \u2018Execute workflow\u2019": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow is for sales teams, growth agencies, and solo operators running LinkedIn outreach campaigns who want to automate prospect reply handling without losing the human touch on complex cases. A webhook receives incoming LinkedIn message events and filters out invalid…
Source: https://n8n.io/workflows/15658/ — 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 is for customer service teams, solopreneurs, and small businesses that receive WhatsApp inquiries and want to automate first-level responses while keeping a human in the loop for complex
⏺ 🚀 How it works
leads. Uses supabase, gmail, formTrigger, httpRequest. Webhook trigger; 62 nodes.
🧠 Gwen – The AI Voice Marketing Agent Gwen is your intelligent voice-powered marketing assistant built in n8n. She combines the power of OpenAI, ElevenLabs, and automation workflows to handle content
Tired of grinding out YouTube content? This n8n workflow turns AI into your personal video factory—creating engaging, faceless shorts on autopilot. Perfect for creators, marketers, or side-hustlers lo