Extract insights from LinkedIn with Apify, Pinecone Assistant, and GPT-4.1
UnknownWhat this workflow does
This AI workflow has 13 nodes and runs on a schedule (every week) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Apify (community) and Pinecone Assistant (community).
How it runs
Trigger: On a schedule (every week) (plus 1 other trigger).
- Set LinkedIn url (Edit Fields (Set)): sets 1 field: linkedInProfile
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Pinecone Assistant Tool)
- Run actor to scrape data (Apify): uses Apify
- Get dataset items (Apify): work with datasets
- Filter: keeps only the items that match a condition
- If: checks a condition and branches into true / false
- Extract comments (Edit Fields (Set)): sets 3 fields: postId, postUrl, comments
- Convert to File: converts data to a file (to json)
- Upload file (Pinecone Assistant): upload file
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 3 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Get dataset items, Run actor to scrape data).
- Check that @pinecone-database/n8n-nodes-pinecone-assistant is verified or supports 3.0 (used in Upload file).
- Check that @pinecone-database/n8n-nodes-pinecone-assistant is verified or supports 3.0 (used in Pinecone Assistant tool).
Nodes used (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Apify
@apify/n8n-nodes-apify.apify - Convert to File
n8n-nodes-base.convertToFile - Filter
n8n-nodes-base.filter - Edit Fields (Set)
n8n-nodes-base.set - Pinecone Assistant
@pinecone-database/n8n-nodes-pinecone-assistant.pineconeAssistant - If
n8n-nodes-base.if - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Pinecone Assistant Tool
@pinecone-database/n8n-nodes-pinecone-assistant.pineconeAssistantTool
From the author
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…