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

# Send LinkedIn InMail

> Send an InMail to a LinkedIn or Sales Navigator profile (you must be connected).

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

**Use Cases:**

* Reach new leads by targeting prospects outside your network
* Send targeted content to drive leads/prospects across the sales pipeline.
* Score your leads based on the response you receive.

<Warning>
  This automation works for InMail: you can use this action only for people you are not connected to.
</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).
You can also use a Sales Navigator profile URL that will looks like this: [https://www.linkedin.com/sales/lead/ACwAAAXvneUBFNgw20EMmFb3eWwJebLcT0g2GfE](https://www.linkedin.com/sales/lead/ACwAAAXvneUBFNgw20EMmFb3eWwJebLcT0g2GfE)

## Inputs

<ParamField path="linkedin_profile_url" type="string" required={false} 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_url" type="string" required={false} placeholder="Sales Navigator Profile Id">
  Alternative Sales Navigator Profile ID.
</ParamField>

## Parameters

<ParamField path="subject" type="string" required={true} format="textarea" default="Introduction">
  A subject for your InMail. Required for Sales Navigator InMail but optional for LinkedIn InMail.
</ParamField>

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

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

<Info>
  LinkedIn and Sales Navigator InMail have significant differences:

  * LinkedIn InMail can not be sent if you already have sent one that is not yet answered. Then, if you send a new one it will make a new discussion. The subject is optional.
  * Sales Navigator InMail uses a single discussion and can be sent without conditions. The subject is mandatory.
</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>
