{
  "name": "Capture LinkedIn Buying-Signal Mentions Into Pipedrive as Leads",
  "nodes": [
    {
      "name": "LinkedIn — Search Intent",
      "type": "n8n-nodes-base.linkedIn",
      "typeVersion": 1,
      "parameters": {
        "operation": "search",
        "keyword": "recommendations OR alternative to"
      },
      "notes": "Search for buying-signal phrases.",
      "position": [
        260,
        300
      ]
    },
    {
      "name": "Qualify Signal",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "parameters": {
        "resource": "text",
        "operation": "message",
        "modelId": "gpt-4o-mini",
        "messages": {
          "values": [
            {
              "role": "user",
              "content": "Does this post express genuine buying intent for our category? Answer yes/no with reason: {{ $json.text }}"
            }
          ]
        }
      },
      "notes": "Swap in Anthropic or any LLM node if you prefer.",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "Pipedrive — Upsert Contact",
      "type": "n8n-nodes-base.pipedrive",
      "typeVersion": 1,
      "parameters": {
        "operation": "upsert",
        "email": "={{ $json.email }}"
      },
      "notes": "Upsert keyed on email keeps records de-duplicated.",
      "position": [
        740,
        300
      ]
    },
    {
      "name": "Respond / Finish",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "parameters": {},
      "notes": "End of flow — extend with extra steps as needed.",
      "position": [
        980,
        300
      ]
    }
  ],
  "connections": {
    "LinkedIn — Search Intent": {
      "main": [
        [
          {
            "node": "Qualify Signal",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Qualify Signal": {
      "main": [
        [
          {
            "node": "Pipedrive — Upsert Contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pipedrive — Upsert Contact": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
