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

# Extract LinkedIn Conversations

> Extracts conversations from your LinkedIn account.

This action extracts the threads (conversations) you have had with all your connections on LinkedIn messaging.

**Use Cases:**

* Keep track of conversations with leads or clients.
* Record conversations inside your CRM.
* Use LinkedIn Auto Message to send targeted content and push prospects across the pipeline.

**Inputs:**
There are no input fields required as the conversations are fetched uniformly for all users.

**Parameters:**

<ParamField path="max_results" type="number" default="100">
  The maximum number of conversations to extract. The default is 100, with a
  maximum limit of 30,000.
</ParamField>

<ParamField path="max_days" type="number" default="0">
  Specifies the maximum number of days from which data will be extracted. If set
  to 0, this setting is disabled.
</ParamField>

<ParamField path="max_minutes" type="number" default="0">
  Specifies the maximum number of minutes from which data will be extracted. If
  set to 0, this setting is disabled.
</ParamField>

**Output Fields:**

The following fields are included in the output:

<ResponseField>
  <Expandable title="properties">
    <ResponseField name="created_at" type="string">
      The creation date of the conversation
    </ResponseField>

    <ResponseField name="first_name" type="string">
      The first name of the LinkedIn contact
    </ResponseField>

    <ResponseField name="job_title" type="string">
      The job title of the LinkedIn contact
    </ResponseField>

    <ResponseField name="last_activity_at" type="string">
      The date of the last activity in the conversation
    </ResponseField>

    <ResponseField name="last_name" type="string">
      The last name of the LinkedIn contact
    </ResponseField>

    <ResponseField name="linkedin_people_post_search_url" type="string">
      The LinkedIn people post search URL
    </ResponseField>

    <ResponseField name="linkedin_profile_handle" type="string">
      The LinkedIn profile handle
    </ResponseField>

    <ResponseField name="linkedin_profile_id" type="string">
      The LinkedIn profile ID
    </ResponseField>

    <ResponseField name="linkedin_profile_url" type="string">
      The LinkedIn profile URL
    </ResponseField>

    <ResponseField name="linkedin_thread_id" type="string">
      The LinkedIn thread ID
    </ResponseField>

    <ResponseField name="linkedin_thread_url" type="string">
      The LinkedIn thread URL
    </ResponseField>

    <ResponseField name="read" type="boolean">
      Indicates if the conversation has been read
    </ResponseField>

    <ResponseField name="sales_navigator_profile_id" type="string">
      The Sales Navigator profile ID
    </ResponseField>

    <ResponseField name="total_received_messages" type="integer">
      The total number of received messages
    </ResponseField>

    <ResponseField name="unread_count" type="integer">
      The count of unread messages
    </ResponseField>
  </Expandable>
</ResponseField>

Below is the JSON schema for the output fields:

<Accordion title="Show JSON Output Schema">
  ```json
  {
      "created_at": "string",
      "first_name": "string",
      "job_title": "string",
      "last_activity_at": "string",
      "last_name": "string",
      "linkedin_people_post_search_url": "string",
      "linkedin_profile_handle": "string",
      "linkedin_profile_id": "string",
      "linkedin_profile_url": "string",
      "linkedin_thread_id": "string",
      "linkedin_thread_url": "string",
      "read": "boolean",
      "sales_navigator_profile_id": "string",
      "total_received_messages": "integer",
      "unread_count": "integer"
  }
  ```
</Accordion>

**Specificities:**

* The action is designed to maximize efficiency by allowing you to set parameters such as the maximum number of results and time constraints for data extraction.
* It is particularly useful for integrating LinkedIn conversations into CRM systems or for tracking communication with leads and clients.
