Tag LinkedIn DM Replies with AI | n8n Marketing Automation


Posted by Abrar Sami on 15 June 2025


Tag LinkedIn DM Replies with AI | n8n Marketing Automation

Manually checking every LinkedIn DM reply is a waste of time — especially when you're sending outreach at scale. With n8n and OpenAI, you can analyze incoming replies and automatically tag them based on tone or intent.

💬 Why Use AI Tagging?

  • Instantly identify interested leads
  • Filter out cold replies or spam
  • Route warm leads to the right team

🧰 Tools Needed

  • LinkedIn DM scraping tool (e.g., Phantombuster, TexAu)
  • n8n with OpenAI integration
  • Google Sheets, Airtable, or CRM for tagging

🔁 How It Works

  1. Scrape new LinkedIn DM replies into n8n
  2. Send reply text to OpenAI
  3. Label the message (e.g., Positive, Neutral, Negative)
  4. Store or act on that data

🧪 Sample Workflow JSON


{
  "nodes": [
    {
      "name": "LinkedIn DM Webhook",
      "type": "n8n-nodes-base.webhook",
      "parameters": {
        "path": "linkedin-dm",
        "httpMethod": "POST"
      }
    },
    {
      "name": "Classify Intent",
      "type": "n8n-nodes-base.openai",
      "parameters": {
        "prompt": "Classify the tone of this reply as Positive, Neutral, or Negative:
{{$json["message"]}}",
        "temperature": 0.3
      }
    },
    {
      "name": "Log to Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "parameters": {
        "sheetId": "linkedindm_tags",
        "range": "Replies!A:C"
      }
    }
  ]
}

This setup saves hours of manual triage — and helps your team focus on the replies that matter.

Solving Marketing Problems since 2020

Other Services

Producthunt launches

Media Buying

150+ Directory site launches

MVP Development

Get in touch

151 Chin Swee Road #02-24 Manhattan House, Singapore (169876)


©2025 The Kranes, All right reserved.