LinkedIn Auto Message Router and Responder with Request Detection - n8n Workflow | Neura Market
LinkedIn Auto Message Router and Responder with Request Detection
## 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 in devrel, partnership pitches when you handle content, etc.
## What problem is this workflow solving?
When you're visible online, people assume you handle everything at your company. You end up spending hours daily playing human router, forwarding messages like "How do I reset my password?" or "What's your enterprise pricing?" to the right teams. This **LinkedIn automation workflow** stops you from being your company's unofficial customer service representative.
## What this workflow does
This **AI-powered LinkedIn DM management** workflow automatically assesses incoming LinkedIn messages and routes them intelligently:
1. **Automated Message Assessment**: Receives inbound LinkedIn messages via UniPile and looks up sender details from both personal and company LinkedIn profiles.
2. **Smart Route Matching**: Compares the message content against your **message routing workflow** table in Notion, which contains:
- **Question**: How can I become an n8n ambassador?
- **Description**: Route here when a user is requesting to become an n8n ambassador. Also when they're asking how they could do more to evangelize n8n in their city, or to start organizing n8n meetups and events in their city.
- **Action**: Tell the user to open the following notion page which has details on the ambassador program including how to apply, as well as perks of the program: https://www.notion.so/n8n-Ambassador-Program-d883b2a130e5448faedbebe5139187ea?pvs=21
3. **AI Response Generation**: When a message matches an existing route, this **AI assistant** generates a personalized response draft based on the Action instructions from your routing table.
4. **Human-in-the-Loop Approval**: Sends the draft response to Slack with approve/reject buttons, so you maintain control while saving time. The draft can be edited from within Slack on desktop and mobile.
5. **Automated LinkedIn Responses**: Once approved, sends the reply back via LinkedIn and marks the original message as handled.
The result: You stop being a human switchboard and can focus on your actual job while people still get helpful, timely responses through **automated customer service**. You can also add routes for things you do handle but get asked about daily (like "How do I join your beta?" or "What's your content strategy?") to standardize your responses.
## Setup
1. Sign up for a [UniPile](https://unipile.com) account and create a webhook under the Messaging section.
2. Set the callback URL to this workflow's production URL.
3. Generate a UniPile API key with all required scopes and store it in your n8n credentials.
4. Create a Slack app and enable interactive message buttons and webhooks.
Here is a Slack App manifest template for easy deployment in Slack:
```json
{
"display_information": {
"name": "Request Router",
"description": "A bot that alerts when a new LinkedIn question comes in.",
"background_color": "#12575e"
},
"features": {
"bot_user": {
"display_name": "Request Router",
"always_online": false
}
},
"oauth_config": {
"scopes": {
"bot": [
"chat:write",
"chat:write.customize",
"chat:write.public",
"links:write",
"im:history",
"im:read",
"im:write"
]
}
},
"settings": {
"interactivity": {
"is_enabled": true,
"request_url": "Your webhook URL here"
},
"org_deploy_enabled": false,
"socket_mode_enabled": false,
"token_rotation_enabled": false
}
}
```
5. Set up your Notion database with the three-column structure (Question, Description, Action).
6. Configure the AI node with your preferred provider (OpenAI, Gemini, Ollama, etc.).
7. Replace placeholder LinkedIn user and organization IDs with your own.
## How to customize this workflow to your needs
- **Database Options**: Swap Notion with Google Sheets, Airtable, or another database.
- **Filtering Logic**: Add custom filters based on keywords, message length, follower count, or business logic.
- **AI Customization**: Adjust the system prompt to match your brand tone and response goals.
- **Approval Platform**: Replace Slack with email, Discord, or another review platform.
- **Team Routing**: Use Slack metadata to route approvals to specific team members based on message category.
- **Enrichment**: Add secondary data enrichment using tools like Clearbit or FullContact.
- **Response Rules**: Create conditional logic for different response types based on sender profile or message content.
Perfect for anyone who's tired of being their company's accidental customer service.
Platform
n8n
Category
Customer Support
Price
Free
Creator
Angel Menendez
12575e
if
set
noOp
slack
notion
switch
webhook
aggregate
stickyNote
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.