SalesTouch Docs
All MCP tools
Writes to LinkedInLinkedIn

Import or update leads

leads_import

Import new leads or update and enrich existing contacts (up to 1000 per call). Use this tool to add an email address to an existing LinkedIn lead: provide its linkedin_url and email. Matches existing emails first, then LinkedIn profiles; names alone do not match leads. Fills missing profile fields, preserves existing values, and adds tags. Saves contact data only; sends no messages.

When to use it

Import new leads or enrich existing contacts, including adding an email address to a LinkedIn lead already in SalesTouch.

Required scopes
linkedin:accesssalestouch:use
Execution
Synchronous MCP tool call

Requirements

Give every lead an email address or a LinkedIn profile URL.
For an existing LinkedIn contact, pass its current linkedin_url with the email to add; use leads_search to find it first.
Existing profile values are preserved: only missing fields are filled and tags are added. Matching by name or lead_id is not supported.
If the email and the LinkedIn profile belong to two different leads, they are merged into the LinkedIn lead and the row returns a merged_with_existing_linkedin_lead warning; use the returned lead_id from then on.
Send at most 1000 leads per call and split larger lists into batches.

Example

Ask your agent

Import Grace as a new lead and add ada@example.com to the existing LinkedIn contact https://www.linkedin.com/in/example.

Tool arguments
{
  "leads": [
    {
      "email": "grace@example.com",
      "phone": "+1 202 555 0143",
      "first_name": "Grace",
      "last_name": "Hopper"
    },
    {
      "linkedin_url": "https://www.linkedin.com/in/example",
      "email": "ada@example.com"
    }
  ],
  "source_name": "Webinar October",
  "tags": [
    "Webinar"
  ]
}
MCP response envelope
{
  "content": [
    {
      "type": "text",
      "text": "{\n  \"data\": { ... },\n  \"meta\": null\n}"
    }
  ],
  "isError": false
}

Expected: Created, updated, and skipped counts, row-level errors and warnings, and the lead_id of each saved contact. An update does not mean existing profile fields were overwritten.

Parameters

leadsrequired
array

New leads to import or existing contacts to enrich, at most 1000 per call. Each row needs email or linkedin_url. To add an email to an existing LinkedIn contact, provide both fields in the same row.

source_name
string

Import name recorded as the lead source, for example a list or event name.

tags
array

Tags added to every imported lead.

Aliases are shown independently because MCP clients send a flat JSON object. Use one alias from each required group, not every alias.

Common errors

insufficient_scope

Reconnect the MCP and approve the requested LinkedIn permission.

paid_plan_required

Follow the error's action_url: start the free trial, choose a plan after a trial or subscription ended, or update the payment method after a failed payment. details.reason names which one.

trial_payment_method_required

Retry after a minute if checkout was just completed; otherwise add a payment method in SalesTouch billing to activate the trial and LinkedIn MCP access.

invalid_input

Send between 1 and 1000 leads, each with a valid email address or LinkedIn profile URL.