Skip to main content

Extract insights from LinkedIn with Apify, Pinecone Assistant, and GPT-4.1

Workflow preview

Workflow preview
100%
Extract insights from LinkedIn with Apify, Pinecone Assistant, and GPT-4.1 preview
Open on n8n.io

1. Workflow Overview

Try it out This n8n workflow template lets you extract insights from comments on...

Best for

  • Market Research automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, @apify/n8n-nodes-apify.apify, n8n-nodes-base.converttofile, n8n-nodes-base.filter, n8n-nodes-base.set, @pinecone-database/n8n-nodes-pinecone-assistant.pineconeassistant, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.chattrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Pinecone.

Original n8n.io source

1.1 Workflow description

Title
Extract insights from LinkedIn with Apify, Pinecone Assistant, and GPT-4.1
Workflow name
Extract insights from LinkedIn with Apify, Pinecone Assistant, and GPT-4.1

Try it out

This n8n workflow template lets you extract insights from comments on your LinkedIn posts using Pinecone Assistant, Apify, and OpenAI. It scrapes LinkedIn comments using Apify and then retrieves relevant context from this data using Pinecone Assistant and generates insights with OpenAI, all without the need to train your own LLM.

What is Pinecone Assistant?

Pinecone Assistant allows you to build production-grade chat and agent-based applications quickly. It abstracts the complexities of implementing retrieval-augmented (RAG) systems by managing the chunking, embedding, storage, query planning, vector search, model orchestration, reranking for you.

Prerequisites

Setup

  1. Create a Pinecone Assistant in the Pinecone Console here
  2. Name your Assistant n8n-assistant
  3. No need to configure a Chat model or Assistant instructions
  4. Use the Connect to Pinecone button to authenticate to Pinecone or if you self-host n8n, create a Pinecone credential and add your Pinecone API key directly
  5. Setup the Open AI and Apify credentials in n8n
  6. In the Set LinkedIn url node, enter your LinkedIn profile url, for a personal or company profile
  7. Select your Assistant Name in each of the Pinecone Assistant nodes, if it's not already
  8. Schedule or manually execute Step 1 and 2 to extract the LinkedIn comment data and upload to Pinecone Assistant
  9. Once the data is uploaded, ask a question in the chat: Summarize the comments related to [SOME TOPIC YOU TALK ABOUT] and categorize into positive, neutral, and negative.

Ideas for customizing this workflow

  • Connect to other social platforms to extract insights from Instagram, X/Twitter, etc. in addition to LinkedIn

Need help?

You can find help by asking in the Pinecone Discord community or filing an issue on this repo.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Run weekly

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Get dataset items

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 3 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 4 - Filter posts

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 5 - Extract comments

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Upload file

Type / Role
@pinecone-database/n8n-nodes-pinecone-assistant.pineconeAssistant - pineconeAssistant
Config choices
Version 1.2

Block 7 - If has comments

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.4

Block 9 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 10 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Run actor to scrape data

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 15 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Set LinkedIn url

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Pinecone Assistant tool

Type / Role
@pinecone-database/n8n-nodes-pinecone-assistant.pineconeAssistantTool - pineconeAssistantTool
Config choices
Version 1.2

3. Summary Table

Workflow Extract insights from LinkedIn with Apify, Pinecone Assistant, and GPT-4.1
Complexity advanced
Nodes 17
Categories Market Research, AI RAG
Author Pinecone
Published 28 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13064/13064.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Extract insights from LinkedIn with Apify, Pinecone Assistant, and GPT-4.1 do?

Try it out This n8n workflow template lets you extract insights from comments on...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI RAG use case.