🎫 LinkedIn auto message router and responder with request detection

4,354 views · 🎫 Ticket Management & Triage

💡 Pro Tip — If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search — you just pass a URL and get structured data back.

View All Scrapers

Description

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, 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:

  1. 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.

  2. Human-in-the-Loop Approval: Sends the draft response to Slack with approve/reject buttons, so you maintain control while saving time. Draft can be edited from within Slack on desktop and mobile.

  3. 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 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:

{
    "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
    }
}
  1. Set up your Notion database with the three-column structure (Question, Description, Action)
  2. Configure the AI node with your preferred provider (OpenAI, Gemini, Ollama etc)
  3. Replace placeholder LinkedIn user and organization IDs with your own

How to customize this workflow to your needs

Perfect for anyone who’s tired of being their company’s accidental customer service department while trying to do their real job.

This LinkedIn automation template was inspired by a live build done by Max Tkacz and Angel Menendez for The Studio.

🔗 Nodes Used

HTTP Request, Slack, Webhook, Notion, AI Agent, OpenAI Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup