LinkedIn auto message router and responder with request detection
Needs changesWhat this workflow does
This AI workflow has 36 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack, OpenAI Chat Model and Notion. It also calls n8n.cloud over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Global Variables (Edit Fields (Set)): sets 7 fields: type, message, message_id…
- Verify Webhook (Respond to Webhook): sends the response back to the webhook caller
- Check if from me (If): checks a condition and branches into true / false
- Parse Webhook (Edit Fields (Set)): sets 1 field: body.payload
- User Switcher (Switch): routes items into 2 branches
- Get Linkedin User Data from Unipile (HTTP Request): calls an HTTP API
- Isolate Message and Payload (Edit Fields (Set)): sets 2 fields: message, body.payload.actions[0].value
- Isolate Payload (Edit Fields (Set)): sets 1 field: body
- Set User Data from Unipile (Edit Fields (Set)): sets 12 fields: first_name, last_name, headline…
- Get Linkedin Org Data from Unipile (HTTP Request): calls an HTTP API
…plus 19 more steps. See the full node list below.
Services it uses
HTTP calls to: n8n.cloud
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (14)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Edit Fields (Set)
n8n-nodes-base.set - Respond to Webhook
n8n-nodes-base.respondToWebhook - Slack
n8n-nodes-base.slack - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Notion
n8n-nodes-base.notion - Aggregate
n8n-nodes-base.aggregate
From the author
Who is this for? Public-facing professionals (developer advocates, founders, marketers, content creators) who get bombarded with LinkedIn messages that aren't actually for them - support requests when you're in marketing, sales inquiries when you're a devrel,…