> ## 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.

# Message LinkedIn Profile

> Send a message to a LinkedIn profile (you must be connected).

Send out personally crafted messages to a chosen list of connections on LinkedIn. Create a message using personalization tags and add one or multiple LinkedIn profile URLs.

**Use Cases:**

* Send targeted content to drive leads/prospects across the sales pipeline.
* Send messages and content to keep clients engaged and updated.
* Score your leads based on the response you receive.

<Warning>
  This automation only works for private messages and NOT for In-Mail: you can
  only use this action on 1st degree connections.
</Warning>

<Steps>
  <Step title="Navigate to a LinkedIn Profile">
    Copy the URL from your browser.
  </Step>

  <Step title="Paste the URL">Paste it into the provided field(s).</Step>
</Steps>

A profile URL looks like this: [https://www.linkedin.com/in/marcfrancis961](https://www.linkedin.com/in/marcfrancis961).

## Inputs

<ParamField path="linkedin_profile_url" type="string" required={true} placeholder="LinkedIn People Profile URL">
  A LinkedIn Profile URL should start with
  '[https://www.linkedin.com/sales/people/](https://www.linkedin.com/sales/people/)',
  '[https://www.linkedin.com/sales/lead/](https://www.linkedin.com/sales/lead/)', '[https://www.linkedin.com/pub/](https://www.linkedin.com/pub/)' or
  '[https://www.linkedin.com/in/](https://www.linkedin.com/in/)'.
</ParamField>

<ParamField path="sales_navigator_profile_id" type="string" required={false} placeholder="Sales Navigator Profile Id">
  Optional Sales Navigator Profile ID.
</ParamField>

## Parameters

<ParamField path="message" type="string" required={true} format="textarea" default="Hello {{first_name}}, \n\nHappy to talk :)\n\nBest,">
  Your custom message. Personalization variables you can use: `{{ first_name }}
      `, `{{ last_name }}`, `{{ company_name }}`, `{{ title }}`, etc.
</ParamField>

<ParamField path="check_answer" type="checkbox" default={true}>
  Check if the person answered before sending a message.
</ParamField>

<Info>
  The **character limit for messages** on both **regular LinkedIn accounts** and
  **Sales Navigator/Premium accounts** extends to **over 6,000 characters**.
</Info>

## Output Fields

The following fields are included in the response:

<ResponseField>
  <Expandable title="properties">
    <ResponseField name="company_name" type="string">
      The name of the company
    </ResponseField>

    <ResponseField name="delivery_at" type="string">
      The delivery timestamp of the message
    </ResponseField>

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

    <ResponseField name="full_name" type="string">
      The full name of the LinkedIn profile
    </ResponseField>

    <ResponseField name="is_sent" type="boolean">
      Indicates if the message was sent
    </ResponseField>

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

    <ResponseField name="last_name" type="string">
      The last name of the LinkedIn profile
    </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="message" type="string">
      The message content
    </ResponseField>

    <ResponseField name="reply" type="string">
      The reply content
    </ResponseField>

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

Here is the JSON schema for the output fields:

<Accordion title="Show JSON Output Schema">
  ```json
  {
    "company_name": "string",
    "delivery_at": "string",
    "first_name": "string",
    "full_name": "string",
    "is_sent": "boolean",
    "job_title": "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",
    "message": "string",
    "reply": "string",
    "sales_navigator_profile_id": "string"
  }
  ```
</Accordion>
