AutomationFlowsAI & RAG › AI Agent: Find the Right Linkedin Profiles in Seconds

AI Agent: Find the Right Linkedin Profiles in Seconds

ByBadr @b4dr on n8n.io

A practical AI-powered workflow that helps you find relevant LinkedIn profiles using natural language queries and saves the results automatically to Google Sheets. Accepts natural language requests (e.g., "Find marketing managers in Paris") Uses AI to extract search parameters:…

Chat trigger trigger★★★★☆ complexityAI-powered15 nodesChat TriggerAgentOpenAI ChatMemory Buffer WindowTool WorkflowExecute Workflow TriggerOpenAIHTTP Request
AI & RAG Trigger: Chat trigger Nodes: 15 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #2898 — we link there as the canonical source.

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "36cc8135-361a-4bf3-9aed-855c3ff75727",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        840,
        0
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d9f9ae73-db54-40bf-b75d-3fd3cf3abeba",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1060,
        0
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "087cca82-0543-4f9c-ae8b-5d5748332010",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        960,
        220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "aea4d359-4fbe-4601-8734-fae260b3bef6",
      "name": "Window Buffer Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1140,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "3d4a9b61-05d8-4786-9658-fc07c84c7110",
      "name": "Call n8n Workflow Tool",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        1340,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "d7b221d2-0a17-48d2-8fc3-0aeaadd67f52",
      "name": "Execute Workflow Trigger",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        560,
        560
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a5c917fd-fc88-4266-95ff-69449caebcda",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        780,
        560
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "8ef1ca79-7e16-448a-88cb-b90c1d56d5a4",
      "name": "Set Search Page Numbers",
      "type": "n8n-nodes-base.set",
      "position": [
        1140,
        560
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3f09fb56-ac2a-4b07-bea6-751f1d8b7095",
      "name": "Split Search Pages",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1380,
        560
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "38580cf0-166f-421b-a085-126fe6381eb7",
      "name": "Google Custom Search API Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1600,
        560
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "fabaa4ea-8747-45d8-99ef-327e67c17f13",
      "name": "Filter LinkedIn Profiles",
      "type": "n8n-nodes-base.code",
      "position": [
        1820,
        560
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ae53ad77-9fad-4b78-9190-860b9fb42d03",
      "name": "Save to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2040,
        560
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "d78cdee1-bdef-47e3-baf1-71d1bcb3244b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        -380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2d19c7af-c04f-4159-92a5-1a52dd8be279",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        500
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6247fbad-d4e1-4110-8b66-e1c021767256",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "connections": {
    "OpenAI": {
      "main": [
        [
          {
            "node": "Set Search Page Numbers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Split Search Pages": {
      "main": [
        [
          {
            "node": "Google Custom Search API Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Call n8n Workflow Tool": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Set Search Page Numbers": {
      "main": [
        [
          {
            "node": "Split Search Pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Workflow Trigger": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter LinkedIn Profiles": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Custom Search API Request": {
      "main": [
        [
          {
            "node": "Filter LinkedIn Profiles",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

A practical AI-powered workflow that helps you find relevant LinkedIn profiles using natural language queries and saves the results automatically to Google Sheets. Accepts natural language requests (e.g., "Find marketing managers in Paris") Uses AI to extract search parameters:…

Source: https://n8n.io/workflows/2898/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

HDW Lead Geländewagen. Uses chatTrigger, lmChatOpenAi, memoryBufferWindow, outputParserStructured. Chat trigger; 92 nodes.

Chat Trigger, OpenAI Chat, Memory Buffer Window +5
AI & RAG

This template attempts to create an AI-powered content assistant for WordPress sites using Mistral AI, enabling article recommendations, content summarization, and contextual Q&A capabilities.

Chat Trigger, Output Parser Structured, Agent +10
AI & RAG

by Varritech Technologies

Chat Trigger, Agent, OpenAI Chat +8
AI & RAG

Who’s it for Creators who want to create faceless videos automatically, while keeping human oversight and quality control.

Read Write File, Agent, OpenAI Chat +7
AI & RAG

The Best Linkedin Posting System. Uses httpRequest, lmChatOpenAi, agent, chatTrigger. Chat trigger; 49 nodes.

HTTP Request, OpenAI Chat, Agent +8