Analyze LinkedIn profiles and posts with Apify and OpenAI GPT-4
UnknownWhat this workflow does
This AI workflow has 13 nodes and runs when someone submits an n8n form (“LinkedIn Content Intelligence”). Along the way it connects OpenAI Chat Model and Apify (community).
How it runs
Trigger: When someone submits an n8n form (“LinkedIn Content Intelligence”).
- Set Username Field (Edit Fields (Set)): sets 1 field: username
- Fetch Dataset with Actor (Apify): run actor and get dataset
- Loop Over Posts (Loop Over Items (Split in Batches)): loops over the items in batches
- Profile Summary Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Mini Model; output parser: Parse Profile Data
- Store Raw Post Data (Data table): uses Data table
- Store Profile Summary (Data table): uses Data table
- Post Insights Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Model; output parser: Parse Post Insights
- Store Insights Per Row (Data table): update
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, 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 Fetch Dataset with Actor).
Nodes used (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Data table
n8n-nodes-base.dataTable - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Apify
@apify/n8n-nodes-apify.apify - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Quick overview This workflow collects a LinkedIn profile URL via an n8n form, scrapes the profile’s recent posts with Apify, analyzes the profile and each post using OpenAI models, and stores the resulting profile summary and per-post insights in n8n Data…