> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Edges.run: Edges Linkedin Extract People Comment Activity

> Run linkedin-extract-people-comment-activity action live. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Run linkedin-extract-people-comment-activity action live.

<Info>
  Tool ID: `edges_linkedin_extract_people_comment_activity`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'edges_linkedin_extract_people_comment_activity',
  {
    "input": {
      "linkedin_profile_url": "https://www.linkedin.com/in/jane-doe"
    }
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute edges_linkedin_extract_people_comment_activity --input '{
  "input": {
    "linkedin_profile_url": "https://www.linkedin.com/in/jane-doe"
  }
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": [
    {
      "comment_like_count": 123,
      "comment_reply_count": 123,
      "linkedin_comment_id": "https://www.linkedin.com/in/jane-doe"
    }
  ]
}
```

Use `deepline tools get edges_linkedin_extract_people_comment_activity --json` for the latest machine-readable contract.

## Input reference

Run linkedin-extract-people-comment-activity action live

| Name                 | Type     | Required | Default        | Details                                                                                                                                                                                                                                       |
| -------------------- | -------- | -------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.cursor`     | `string` | No       | —              | Cursor value obtained from the `X-Pagination-Next` response header of a previous request, used to continue pagination. Cursors expire after 24 hours. If a cursor has expired or is invalid, pagination must be restarted from the beginning. |
| `payload.parameters` | `object` | No       | `&#123;&#125;` | —                                                                                                                                                                                                                                             |
| `payload.input`      | `object` | Yes      | —              | —                                                                                                                                                                                                                                             |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Run linkedin-extract-people-comment-activity action live",
    "properties": {
      "cursor": {
        "type": "string",
        "description": "Cursor value obtained from the `X-Pagination-Next` response header of a previous request, used to continue pagination. Cursors expire after 24 hours. If a cursor has expired or is invalid, pagination must be restarted from the beginning."
      },
      "parameters": {
        "type": "object",
        "default": {},
        "properties": {},
        "additionalProperties": false
      },
      "input": {
        "type": "object",
        "properties": {
          "linkedin_profile_url": {
            "pattern": "^https:\\/\\/(?:(www|[a-z]{2})\\.)?linkedin\\.com\\/in\\/[-\\w\\d%]+"
          },
          "custom_data": {
            "type": "object",
            "description": "Custom data (ex-metadata)",
            "additionalProperties": true
          }
        },
        "required": [
          "linkedin_profile_url"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "input"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                                              | Type      | Required | Default | Details                                                                                                                                                                                                                        |
| ----------------------------------------------------------------- | --------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `result.data`                                                     | `array`   | Yes      | —       | Provider response payload.                                                                                                                                                                                                     |
| `result.data[].comment_like_count`                                | `number`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].comment_reply_count`                               | `number`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].linkedin_comment_id`                               | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].linkedin_comment_url`                              | `string`  | No       | —       | Format: `url`.                                                                                                                                                                                                                 |
| `result.data[].comment_text`                                      | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].author_comment_reply`                              | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].comment_time`                                      | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].linkedin_post_id`                                  | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].linkedin_post_url`                                 | `string`  | No       | —       | Format: `url`.                                                                                                                                                                                                                 |
| `result.data[].comment_type`                                      | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].linkedin_activity_id`                              | `string`  | No       | —       | The unique identifier for the LinkedIn activity. If the activity is not a post, the ID is different of the linkedin\_post\_id.                                                                                                 |
| `result.data[].author`                                            | `object`  | No       | —       | Author of the post content currently displayed in the activity feed. This is the person that created the visible post at this level of the activity. If source\_post is present, this post shares the content of source\_post. |
| `result.data[].author.firstname`                                  | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].author.lastname`                                   | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].author.linkedin_profile_handle`                    | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].author.linkedin_profile_id`                        | `integer` | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].author.sales_navigator_profile_id`                 | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].author.linkedin_profile_url`                       | `string`  | No       | —       | Format: `uri`.                                                                                                                                                                                                                 |
| `result.data[].author.company_id`                                 | `integer` | Yes      | —       | —                                                                                                                                                                                                                              |
| `result.data[].author.company_name`                               | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].author.company_image_url`                          | `string`  | No       | —       | Format: `uri`.                                                                                                                                                                                                                 |
| `result.data[].author.company_url`                                | `string`  | No       | —       | Format: `uri`.                                                                                                                                                                                                                 |
| `result.data[].source_post`                                       | `object`  | No       | —       | Previous post referenced by the visible post in the activity feed. This represents the immediate parent post in the sharing chain. If the visible post does not reference another post, this field is null.                    |
| `result.data[].source_post.linkedin_post_id`                      | `integer` | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.linkedin_post_url`                     | `string`  | No       | —       | Format: `uri`.                                                                                                                                                                                                                 |
| `result.data[].source_post.content_text`                          | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author`                                | `object`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author.firstname`                      | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author.lastname`                       | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author.linkedin_profile_handle`        | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author.linkedin_profile_id`            | `integer` | Yes      | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author.sales_navigator_profile_id`     | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author.linkedin_profile_url`           | `string`  | No       | —       | Format: `uri`.                                                                                                                                                                                                                 |
| `result.data[].source_post.author.company_id`                     | `integer` | Yes      | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author.company_name`                   | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].source_post.author.company_image_url`              | `string`  | No       | —       | Format: `uri`.                                                                                                                                                                                                                 |
| `result.data[].source_post.author.company_url`                    | `string`  | No       | —       | Format: `uri`.                                                                                                                                                                                                                 |
| `result.data[].activity_author`                                   | `object`  | No       | —       | Owner of the LinkedIn activity feed being analyzed. This represents the person whose "Recent activity" timeline is queried, regardless of whether they authored or reshared the post.                                          |
| `result.data[].activity_author.author`                            | `object`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].activity_author.author.firstname`                  | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].activity_author.author.lastname`                   | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].activity_author.author.linkedin_profile_handle`    | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].activity_author.author.linkedin_profile_id`        | `integer` | Yes      | —       | —                                                                                                                                                                                                                              |
| `result.data[].activity_author.author.sales_navigator_profile_id` | `string`  | No       | —       | —                                                                                                                                                                                                                              |
| `result.data[].activity_author.author.linkedin_profile_url`       | `string`  | No       | —       | Format: `uri`.                                                                                                                                                                                                                 |
| `result.meta`                                                     | `object`  | No       | —       | Additional response metadata (status, paging).                                                                                                                                                                                 |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "array",
        "description": "Provider response payload.",
        "items": {
          "type": "object",
          "properties": {
            "comment_like_count": {
              "type": "number"
            },
            "comment_reply_count": {
              "type": "number"
            },
            "linkedin_comment_id": {
              "type": "string"
            },
            "linkedin_comment_url": {
              "type": "string",
              "format": "url"
            },
            "comment_text": {
              "type": "string"
            },
            "author_comment_reply": {
              "type": "string"
            },
            "comment_time": {
              "type": "string"
            },
            "linkedin_post_id": {
              "type": "string"
            },
            "linkedin_post_url": {
              "type": "string",
              "format": "url"
            },
            "comment_type": {
              "type": "string"
            },
            "linkedin_activity_id": {
              "type": "string",
              "description": "The unique identifier for the LinkedIn activity. If the activity is not a post, the ID is different of the linkedin_post_id."
            },
            "author": {
              "type": "object",
              "description": "Author of the post content currently displayed in the activity feed. This is the person that created the visible post at this level of the activity. If source_post is present, this post shares the content of source_post.",
              "properties": {
                "firstname": {
                  "type": "string"
                },
                "lastname": {
                  "type": "string"
                },
                "linkedin_profile_handle": {
                  "type": "string"
                },
                "linkedin_profile_id": {
                  "type": "integer"
                },
                "sales_navigator_profile_id": {
                  "type": "string"
                },
                "linkedin_profile_url": {
                  "type": "string",
                  "format": "uri"
                },
                "company_id": {
                  "type": "integer"
                },
                "company_name": {
                  "type": "string"
                },
                "company_image_url": {
                  "type": "string",
                  "format": "uri"
                },
                "company_url": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "firstname": {
                      "type": "string"
                    },
                    "lastname": {
                      "type": "string"
                    },
                    "linkedin_profile_handle": {
                      "type": "string"
                    },
                    "linkedin_profile_id": {
                      "type": "integer"
                    },
                    "sales_navigator_profile_id": {
                      "type": "string"
                    },
                    "linkedin_profile_url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "company_id": {
                      "type": "integer"
                    },
                    "company_name": {
                      "type": "string"
                    },
                    "company_image_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "company_url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "required": [
                    "company_id"
                  ],
                  "additionalProperties": false
                }
              ],
              "additionalProperties": false
            },
            "source_post": {
              "type": "object",
              "description": "Previous post referenced by the visible post in the activity feed. This represents the immediate parent post in the sharing chain. If the visible post does not reference another post, this field is null.",
              "properties": {
                "linkedin_post_id": {
                  "type": "integer"
                },
                "linkedin_post_url": {
                  "type": "string",
                  "format": "uri"
                },
                "content_text": {
                  "type": "string"
                },
                "author": {
                  "type": "object",
                  "properties": {
                    "firstname": {
                      "type": "string"
                    },
                    "lastname": {
                      "type": "string"
                    },
                    "linkedin_profile_handle": {
                      "type": "string"
                    },
                    "linkedin_profile_id": {
                      "type": "integer"
                    },
                    "sales_navigator_profile_id": {
                      "type": "string"
                    },
                    "linkedin_profile_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "company_id": {
                      "type": "integer"
                    },
                    "company_name": {
                      "type": "string"
                    },
                    "company_image_url": {
                      "type": "string",
                      "format": "uri"
                    },
                    "company_url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "firstname": {
                          "type": "string"
                        },
                        "lastname": {
                          "type": "string"
                        },
                        "linkedin_profile_handle": {
                          "type": "string"
                        },
                        "linkedin_profile_id": {
                          "type": "integer"
                        },
                        "sales_navigator_profile_id": {
                          "type": "string"
                        },
                        "linkedin_profile_url": {
                          "type": "string",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "linkedin_profile_id"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "company_id": {
                          "type": "integer"
                        },
                        "company_name": {
                          "type": "string"
                        },
                        "company_image_url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "company_url": {
                          "type": "string",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "company_id"
                      ],
                      "additionalProperties": false
                    }
                  ],
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "activity_author": {
              "type": "object",
              "description": "Owner of the LinkedIn activity feed being analyzed. This represents the person whose \"Recent activity\" timeline is queried, regardless of whether they authored or reshared the post.",
              "properties": {
                "author": {
                  "type": "object",
                  "properties": {
                    "firstname": {
                      "type": "string"
                    },
                    "lastname": {
                      "type": "string"
                    },
                    "linkedin_profile_handle": {
                      "type": "string"
                    },
                    "linkedin_profile_id": {
                      "type": "integer"
                    },
                    "sales_navigator_profile_id": {
                      "type": "string"
                    },
                    "linkedin_profile_url": {
                      "type": "string",
                      "format": "uri"
                    }
                  },
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "firstname": {
                          "type": "string"
                        },
                        "lastname": {
                          "type": "string"
                        },
                        "linkedin_profile_handle": {
                          "type": "string"
                        },
                        "linkedin_profile_id": {
                          "type": "integer"
                        },
                        "sales_navigator_profile_id": {
                          "type": "string"
                        },
                        "linkedin_profile_url": {
                          "type": "string",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "linkedin_profile_id"
                      ],
                      "additionalProperties": false
                    }
                  ],
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        }
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.05` per pricing unit.

## Related documentation

* [Edges.run provider guide](/docs/providers/edges/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
