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

# Linkedin

> Send data from LinkedIn to Inflection using inbound webhooks.

<AccordionGroup>
  <Accordion title="Creating an Inbound Webhook Connection for LinkedIn">
    1. Navigate to:
       **Assets → Inbound Webhook**
    2. Click **"New Connection"**
    3. Select **LinkedIn** from the list of connection types
    4. Provide a **Connection Name** and optional **Description**
    5. Choose an **Authentication Method**:
       * **No Auth**
       * **Basic Auth**
       * **API Key**
    6. Enable or disable **"Create New Contact"**:
       * ✅ **Enabled** – Inflection will create a new contact when a new email is received
       * ❌ **Disabled** – Only updates to existing contacts will be allowed
    7. Click **"Generate Webhook"** to finalize the setup
    8. Copy the **Webhook URL** and authentication details (if applicable)
  </Accordion>

  <Accordion title="Configuring LinkedIn Webhook">
    You can integrate LinkedIn Lead Gen Forms with Inflection using **two methods**:

    1. **Via Zapier** – A no-code solution for easy setup
    2. **By Creating a LinkedIn App** – A direct integration for advanced users

    With these options, you can automatically send lead data from LinkedIn to Inflection and use it for **contact updates, audience segmentation, and journey triggers**

    <AccordionGroup>
      <Accordion title="Option 1: Sending Leads from LinkedIn to Inflection via Zapier">
        **Zapier** allows you to connect LinkedIn Lead Gen Forms with Inflection without any coding. Follow these steps:

        ### Step 1: Create a Zap

        1. Log in to your **Zapier** account ([zapier.com](https://zapier.com/)).
        2. Click **"Create Zap"**.
        3. In the **Trigger** section, search for **"LinkedIn Ads"**.
        4. Select **"New Lead Gen Form Response"** as the trigger event.
        5. Click **"Continue"** and connect your **LinkedIn Ads account**.
        6. Choose the **Lead Gen Form** you want to use.

        ### Step 2: Connect Inflection

        1. In the **Action** section, search for **"Webhook by Zapier"**.
        2. Choose **"POST"** as the action event.
        3. Click **"Continue"** and enter the **Inflection Webhook URL** (from your Data Sync Connection in Inflection).
        4. Select **"JSON"** as the payload format.
        5. Map the **LinkedIn lead fields** (e.g., Name, Email, Phone Number) to Inflection's **contact fields**.
        6. Click **"Continue"** and test the Zap.

        ### Step 3: Activate the Zap

        1. Click **"Turn on Zap"** to activate the integration.
        2. Now, every new lead from your LinkedIn Lead Gen Form will be automatically sent to Inflection.
      </Accordion>

      <Accordion title="Option 2: Sending Leads from LinkedIn to Inflection via LinkedIn App">
        ### Step 1: Set Up a LinkedIn App

        1. Go to [LinkedIn Developer Portal](https://www.linkedin.com/developers/)
        2. Create a new app or use an existing one
        3. In the app dashboard:
           * Navigate to **Products** and request access to **Marketing Developer Platform**
           * Ensure you have permission to use the **Lead Gen Forms** API

        ### Step 2: Configure Webhook with Challenge Response

        1. Go to your app's **Webhooks** section
        2. Click **Add Webhook**
        3. Enter:
           * **Webhook URL** – Paste the URL generated in Inflection
           * **Event Type** – Choose `leadGen.formResponse`
           * **Token (optional)** – You can leave this blank if not used

        <Check>
          Inflection automatically handles challenge-response validation required by LinkedIn
        </Check>

        Save the configuration

        LinkedIn will send a test challenge request. Inflection's backend will respond with the challenge token and validate the webhook.
      </Accordion>
    </AccordionGroup>
  </Accordion>

  <Accordion title="Connection Details & Field Mapping">
    ### Monitor Webhook Submissions

    * View real-time submission counts on the **Connection Details** page

    ### Step 1: Enable Fields for Mapping

    1. Go to the **Submission Fields** tab
    2. Click **Edit**
    3. Enable required fields for mapping

    <Warning>
      Only enabled fields will be available in dynamic lists and journeys
    </Warning>

    ### Step 2: Map Submission Fields to Contact Properties

    1. Navigate to the **Connection Mapping** tab
    2. Click **Edit**
    3. Map LinkedIn fields to Inflection contact fields:
       * Required: **Email**
       * Recommended: **First Name**, **Last Name**, **Company**, **Job Title**
    4. Choose a mapping rule:
       * **Update if Empty**
       * **Always Overwrite**
  </Accordion>

  <Accordion title="Using LinkedIn Leads in Journeys">
    Once leads are flowing into Inflection:

    ### Target Contacts in Journeys

    1. Navigate to:
       **Journeys → Create New Journey**
    2. Add a condition:
       `Performed a Marketing Activity → Inbound Webhook Sync`
    3. Use filters such as:
       * Campaign Name = "Linkedin\_XYZ"
       * Lead Form ID, etc.

    ### Personalise Emails with Tokens

    Use mapped fields like:

    * `{{firstName}}`
    * `{{company}}`
    * `{{jobTitle}}`

    This allows for personalised confirmation, nurture, or demo follow-up emails.

    ### Segment Based on Status

    Use **Branch by Filter** to route leads:

    * Based on form name
    * Based on custom answers or job title
  </Accordion>

  <Accordion title="References">
    [Linkedin Webhook documentation](https://learn.microsoft.com/en-us/linkedin/shared/api-guide/webhook-validation)
  </Accordion>
</AccordionGroup>
