Scrape LinkedIn Posts in an n8n Workflow
John
Add post data to an n8n workflow: pass profile URLs, get structured rows with text, reactions, comments, and date back.
Input
Output fields
Sign up on Apify or log in
The LinkedIn Posts API | Scrape Profile Posts & Engagement Actor is ready to run with the inputs already set for "Scrape LinkedIn Posts in an n8n Workflow". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Scrape LinkedIn Posts in an n8n Workflow" task
The LinkedIn Posts API | Scrape Profile Posts & Engagement Actor will start running based on the input automatically. You can also change all the input fields, like profile urls (discover posts) and max posts per profile, to match your specific use case.
Receive the "Scrape LinkedIn Posts in an n8n Workflow" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as result type, author, text, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Scrape LinkedIn Posts in an n8n Workflow" task via API.

Each post becomes its own n8n item carrying authorName, text, numLikes, numComments, datePosted, postUrl and summary. Branch on result_type, which is post for a collected post and error when one source URL failed.
Profile URLs, for example https://www.linkedin.com/in/williamhgates, and a maxPostsPerProfile value such as 20. Apify's native n8n connector runs the task with that input once your Apify API token is saved as the credential.
Use Apify's native n8n node, or point an HTTP Request node at the task's run endpoint on the Apify API and fetch the dataset when the run ends. Both return the same LinkedIn Posts API rows; the node only saves the request setup.
Put a Schedule Trigger in front of the Apify node, or schedule the task itself in Apify Console under Actions, then Schedule, with a cron like 0 9 * * 1 and let a webhook start the n8n workflow when the run finishes.
Add https://mcp.apify.com/?tools=actors,docs,johnvc/linkedin-posts-api as an MCP server in Claude or any other MCP client. The agent then calls the same LinkedIn Posts API search this n8n workflow runs and reads the rows back.
Scrape LinkedIn Posts in an n8n Workflow has no free tier of its own. Runs started from n8n bill per post returned, exactly like Console runs, with no per-run setup fee. The current rate is on the LinkedIn Posts API Actor page.
Scrape LinkedIn Posts in an n8n Workflow is for pipelines that run on their own and push rows into Sheets, Supabase or a database. Get LinkedIn Posts in Claude via MCP is for a person asking an agent about a profile in conversation.