# Extract insights from LinkedIn with Apify: n8n workflow

> Started by someone opening a chat with it, and works across Apify. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/extract-insights-from-linkedin-with-apify (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Extract insights from LinkedIn with Apify

Started by someone opening a chat with it, and works across Apify. It hands the judgement calls to OpenAI. 13 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fextract-insights-from-linkedin-with-apify)

**13 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 2 Logic 4 Service 5

The steps in the order they run, from what starts it.

- 1 **Run weekly** Schedule trigger *Starts it*
- 2 **When chat message received** Chat trigger *Starts it*
- 3 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 4 **Pinecone Assistant tool** Pinecone Assistant Tool *Service*
- 5 **Set LinkedIn url** Set *Logic*
- 6 **AI Agent** Agent *Model*
- 7 **Run actor to scrape data** Apify *Service*
- 8 **Get dataset items** Apify *Service*
- 9 **Filter posts** Filter *Logic*
- 10 **If has comments** If *Logic*
- 11 **Extract comments** Set *Logic*
- 12 **Convert to File** Convert To File *Service*
- 13 **Upload file** Pinecone Assistant *Service*

## How it's built

- **Starts on:** Someone opening a chat with it
- **Steps:** 13, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Apify
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Apify account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 13 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 13 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fextract-insights-from-linkedin-with-apify)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Apify](https://millionrounds.com/workflows?service=Apify#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Turn weekly competitor ads into one creative brief with Apify** 13 steps · Apify, Google Sheets](https://millionrounds.com/workflow/turn-weekly-competitor-ads-into-one-creative-brief-with-apif)
- [**Get Threads Insight with Apify** 15 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/get-threads-insight-with-apify)
- [**Summarize new YouTube uploads with Apify and OpenAI** 11 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/summarize-new-youtube-uploads-with-apify-and-openai)
- [**Generate LinkedIn activity reports with Slack and OpenAI** 16 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/generate-linkedin-activity-reports-with-slack-and-openai)
- [**Generate YouTube clip ideas and Google Docs reports with Apify** 10 steps · calls a model · Apify](https://millionrounds.com/workflow/generate-youtube-clip-ideas-and-google-docs-reports-with-api)
- [**Morning weather-based news summary & outing planner** 10 steps · calls a model · Apify, Slack](https://millionrounds.com/workflow/morning-weather-based-news-summary-and-outing-planner)
