LinkedIn + Salesforce

Connect LinkedIn and Salesforce to Turn Social Selling Into Revenue

Automate lead capture, contact enrichment, and pipeline updates between LinkedIn and Salesforce so your sales team stops losing deals to manual busywork.

Why integrate LinkedIn and Salesforce?

LinkedIn is the world's largest professional network and a primary source of B2B leads. Salesforce is the CRM that most sales orgs run on. Together, they should form a closed loop between social prospecting and pipeline management — but without an integration, they don't. Connecting LinkedIn with Salesforce means prospect data moves automatically, your CRM stays current with real professional activity, and reps spend their time actually selling instead of copying and pasting.

Automate & integrate LinkedIn & Salesforce

Use case

Automatic Lead Capture from LinkedIn Lead Gen Forms

When a prospect fills out a LinkedIn Lead Gen Form on one of your paid campaigns, their information is instantly pushed into Salesforce as a new Lead or Contact. The record is automatically assigned to the right owner based on territory, industry, or campaign rules configured in tray.ai. Reps get an immediate notification so they can follow up while interest is still fresh.

Use case

Enrich Salesforce Contacts with LinkedIn Profile Data

Keep your Salesforce Contact and Lead records accurate by automatically enriching them with current LinkedIn profile data — job title, company, industry, seniority level. Whenever a new record is created in Salesforce or an existing one goes stale, tray.ai triggers a LinkedIn lookup and writes the enriched data back to the right fields. Reps always have current professional context before making contact.

Use case

Sync LinkedIn Sales Navigator Activity to Salesforce

Sales Navigator interactions — connection requests, InMail sends, profile views, saved leads — are automatically logged as activities and tasks in Salesforce. Managers get full visibility into rep prospecting behavior inside the CRM without requiring reps to manually log every touchpoint. Activity timelines stay accurate and complete, which makes coaching, forecasting, and deal reviews a lot more useful.

Use case

Create Salesforce Opportunities from LinkedIn Engagement Signals

When a tracked LinkedIn Company Page follower, ad engager, or Sales Navigator lead takes a high-intent action — clicking a product link, downloading content, engaging with a job posting — tray.ai can automatically create or update an Opportunity in Salesforce and alert the assigned Account Executive. Passive social engagement becomes actionable pipeline in real time.

Use case

Bidirectional Contact and Account Sync

Keep a consistent, deduplicated view of prospects and customers by syncing Contact and Account records between LinkedIn and Salesforce. When a new Account is created in Salesforce, tray.ai can search LinkedIn for matching company pages and decision-makers, creating or updating related Contacts. When a connection is made on LinkedIn, a corresponding Lead or Contact record can be created or enriched in Salesforce.

Use case

LinkedIn Ad Audience Sync Based on Salesforce Segments

Use your Salesforce data to build and update LinkedIn Matched Audience lists so your paid campaigns target the right people. As Contacts or Leads move through Salesforce lifecycle stages — MQL, SQL, Closed Won — tray.ai automatically adds or removes them from the corresponding LinkedIn audience segments. Your ad spend stays focused on the most relevant prospects at every stage.

Use case

Job Change Alerts and Salesforce Record Updates

When a key contact in Salesforce changes jobs — a signal LinkedIn picks up through profile updates — tray.ai immediately updates the Contact record with the new employer and title, flags the account for review, and optionally creates a task for the rep to re-engage. The contact's former employer account can also be flagged for a new champion-finding campaign. Sales teams protect existing relationships and spot new opportunities at both companies.

Get started with LinkedIn & Salesforce integration today

LinkedIn & Salesforce Challenges

What challenges are there when working with LinkedIn & Salesforce and how will using Tray.ai help?

Challenge

Deduplicating Leads Across LinkedIn and Salesforce

LinkedIn can generate multiple form submissions or engagement records for the same person, and without deduplication logic, Salesforce fills up with duplicate Leads and Contacts fast. Manual deduplication is slow and error-prone, causing rep confusion and skewed reporting.

How Tray.ai Can Help:

tray.ai's data transformation and conditional logic lets teams query Salesforce for existing records by email or name before creating new ones. When a match is found, tray.ai updates the existing record instead of creating a duplicate, keeping the CRM clean and reporting accurate without any manual review.

Challenge

Mapping Inconsistent Data Fields Between Platforms

LinkedIn Lead Gen Forms, Sales Navigator exports, and the LinkedIn API return data in formats that don't map directly to standard Salesforce Lead and Contact fields. Job titles, company names, and phone number formats often need normalization before they can be written to Salesforce without causing validation errors or data inconsistencies.

How Tray.ai Can Help:

tray.ai's visual data mapper and transformation functions let teams build reusable field mappings, apply string normalization, format phone numbers, and enforce picklist-valid values before data ever reaches Salesforce. Clean, consistent records get created every time — no custom code or middleware required.

Challenge

Handling LinkedIn API Rate Limits at Scale

LinkedIn enforces strict API rate limits, which become a real bottleneck when enriching large volumes of Salesforce records or syncing high-frequency Sales Navigator activity data. Hitting those limits causes failed syncs, incomplete data, and broken automation.

How Tray.ai Can Help:

tray.ai handles rate limit management automatically, using built-in retry logic, request throttling, and queue management to make sure all API calls complete successfully within LinkedIn's allowed thresholds. Teams can run large-scale enrichment workflows without babysitting API usage or writing custom rate-limit handling.

Challenge

Maintaining Sync Accuracy During Salesforce Record Ownership Changes

When Salesforce leads or contacts get reassigned — due to territory changes, rep turnover, or account transitions — ongoing LinkedIn automation workflows can write data back to stale owners, send notifications to the wrong reps, or create tasks that never get actioned.

How Tray.ai Can Help:

tray.ai workflows look up the current record owner in Salesforce at the time of execution rather than relying on cached data, so notifications, tasks, and updates always go to the right rep. Owner change events in Salesforce can also trigger automatic updates to LinkedIn audience memberships and Sales Navigator lists.

Challenge

Attributing LinkedIn Ad Spend to Salesforce Pipeline and Revenue

Proving the ROI of LinkedIn advertising means connecting campaign data in LinkedIn Campaign Manager to pipeline and closed-won revenue in Salesforce. Without an automated integration, that attribution typically falls back on manual reporting, UTM matching, or last-touch models that undercount LinkedIn's actual contribution.

How Tray.ai Can Help:

tray.ai bridges LinkedIn Campaign Manager and Salesforce by automatically stamping Lead and Contact records with campaign source, ad creative, and form identifiers at the moment of creation. That first-touch and multi-touch attribution data feeds directly into Salesforce reports and dashboards, so you can calculate LinkedIn's pipeline influence and closed-won revenue without a manual analysis sprint.

Start using our pre-built LinkedIn & Salesforce templates today

Start from scratch or use one of our pre-built LinkedIn & Salesforce templates to quickly solve your most common use cases.

LinkedIn & Salesforce Templates

Find pre-built LinkedIn & Salesforce solutions for common use cases

Browse all templates

Template

LinkedIn Lead Gen Form to Salesforce Lead

Automatically creates a new Salesforce Lead record every time a prospect submits a LinkedIn Lead Gen Form, mapping all form fields to the correct Salesforce fields, assigning the lead to the right owner, and triggering a follow-up task.

Steps:

  • Trigger: New Lead Gen Form submission received in LinkedIn Campaign Manager
  • Transform: Map LinkedIn form fields (name, email, company, job title) to Salesforce Lead schema
  • Action: Create or upsert Lead record in Salesforce with campaign source populated
  • Action: Assign lead owner based on round-robin or territory rules in tray.ai logic
  • Action: Create a follow-up Task in Salesforce and notify the assigned rep via email or Slack

Connectors Used: LinkedIn, Salesforce

Template

Salesforce Contact Enrichment via LinkedIn

Monitors Salesforce for new or incomplete Contact and Lead records and automatically enriches them with current LinkedIn profile data including job title, seniority, company size, and industry, writing results back to mapped Salesforce fields.

Steps:

  • Trigger: New Contact or Lead created in Salesforce, or scheduled batch run for stale records
  • Action: Query LinkedIn API to match the record by name and company
  • Transform: Map returned LinkedIn profile attributes to corresponding Salesforce fields
  • Action: Update Salesforce Contact or Lead record with enriched data
  • Action: Log enrichment timestamp to a custom Salesforce field for audit tracking

Connectors Used: LinkedIn, Salesforce

Template

LinkedIn Sales Navigator Activity Logger for Salesforce

Captures Sales Navigator outreach events including InMails, connection requests, and profile views and automatically logs them as Activity records on the relevant Salesforce Contact or Lead, keeping the CRM timeline complete without rep data entry.

Steps:

  • Trigger: New Sales Navigator activity event detected via LinkedIn API or webhook
  • Action: Identify the matching Contact or Lead in Salesforce by email or name
  • Action: Create a Salesforce Activity (Task or Event) record with activity type, date, and notes
  • Action: Update the Last Activity Date field on the Contact or Lead record

Connectors Used: LinkedIn, Salesforce

Template

Salesforce CRM Audience Sync to LinkedIn Matched Audiences

Dynamically builds and refreshes LinkedIn Matched Audience lists based on Salesforce Contact lifecycle stages, so LinkedIn ad campaigns always target the most relevant segments and suppress existing customers or disqualified leads.

Steps:

  • Trigger: Scheduled sync or Salesforce field change on Contact or Lead stage
  • Action: Query Salesforce for Contacts or Leads matching defined segment criteria
  • Transform: Format the contact list to LinkedIn's Matched Audiences upload specification
  • Action: Create or update the Matched Audience list in LinkedIn Campaign Manager
  • Action: Log sync results and any errors back to a Salesforce custom object for reporting

Connectors Used: LinkedIn, Salesforce

Template

Job Change Detection and Salesforce Record Update

Monitors key Salesforce Contacts for LinkedIn job change signals and automatically updates CRM records with new employer and title information, creates re-engagement tasks, and flags affected Opportunities for review.

Steps:

  • Trigger: Scheduled LinkedIn profile check for a defined list of high-priority Salesforce Contacts
  • Condition: Detect if current LinkedIn employer or title differs from Salesforce record
  • Action: Update Salesforce Contact record with new job title, company, and LinkedIn URL
  • Action: Create a Task for the assigned Account Executive to re-engage the contact
  • Action: Flag related open Opportunities as at-risk and notify the owner

Connectors Used: LinkedIn, Salesforce

Template

LinkedIn Engagement to Salesforce Opportunity Alert

Detects high-intent engagement signals from tracked LinkedIn Company Page followers or ad audiences and automatically creates or updates Salesforce Opportunities, alerting the assigned Account Executive in real time.

Steps:

  • Trigger: High-intent engagement event detected for a tracked LinkedIn audience member
  • Action: Match the LinkedIn member to an existing Salesforce Contact or Lead by email
  • Condition: Check if an open Opportunity exists for the associated Account
  • Action: Create a new Opportunity or update the existing one with engagement details
  • Action: Send an immediate alert to the assigned Account Executive with context and next-step suggestions

Connectors Used: LinkedIn, Salesforce