# Research a Sales Prospect's LinkedIn Engagement

**Use case:** 

Before you send a cold email, see what your prospect has actually been engaging with on LinkedIn. This task pulls every comment they wrote and every post they reacted to over the last three months, along with the original post and who published it. Use it to open with something they genuinely care about instead of a guess from their job title.

## Input

```json
{
  "profiles": [
    "https://www.linkedin.com/in/justinwelsh"
  ],
  "scrapeType": "both",
  "postedLimit": "3months",
  "commentsLimit": 10,
  "reactionsLimit": 10
}
```

## Output

```json
{
  "action": {
    "label": "Action",
    "format": "string"
  },
  "comment_text": {
    "label": "Comment",
    "format": "string"
  },
  "source_profile": {
    "label": "Source Profile",
    "format": "string"
  },
  "post.post_author.name": {
    "label": "Post Author",
    "format": "string"
  },
  "post.post_text": {
    "label": "Post Text",
    "format": "string"
  },
  "post.post_url": {
    "label": "Post URL",
    "format": "string"
  },
  "post.post_stats.total_reactions": {
    "label": "Reactions",
    "format": "integer"
  },
  "post.post_stats.comments": {
    "label": "Comments",
    "format": "integer"
  },
  "post.created_at.relative": {
    "label": "Posted",
    "format": "string"
  },
  "page_number": {
    "label": "Page",
    "format": "integer"
  },
  "comment_link": {
    "label": "Comment URL",
    "format": "string"
  },
  "created_at.formatted": {
    "label": "Engaged Date",
    "format": "string"
  },
  "created_at.relative": {
    "label": "Engaged Age",
    "format": "string"
  },
  "post.created_at.formatted": {
    "label": "Post Date",
    "format": "string"
  },
  "post.post_author.headline": {
    "label": "Post Author Title",
    "format": "string"
  },
  "post.post_author.linkedin_url": {
    "label": "Post Author Profile",
    "format": "string"
  },
  "post.post_urn": {
    "label": "Post URN",
    "format": "string"
  },
  "post.post_stats.reposts": {
    "label": "Reposts",
    "format": "integer"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn User Comments & Reactions Scraper [NO COOKIES] ✅](https://apify.com/unseenuser/linkedin-user-comments-reactions.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/unseenuser/linkedin-user-comments-reactions.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/unseenuser/linkedin-user-comments-reactions.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
