Skip to main content
Merge Contacts.
Tool ID: lemlist_post_contacts_merge

Run this action

Use the TypeScript SDK for a single call. Put ctx.tools.execute(...) inside a Play when the call should be durable, scheduled, or run across a CSV.

CLI

Example response

The SDK exposes this shape at result.toolResponse.raw. Values below are representative.
Use deepline tools get lemlist_post_contacts_merge --json for the latest machine-readable contract.

Input reference

Merges up to 10 lemlist contacts into one. The survivor (primaryId) keeps its id and every value it holds; its empty fields are filled from the other contacts, which are then deleted. Everything attached to a deleted contact (leads in campaigns, activities, tasks, list memberships, inbox conversations) is moved to the survivor. When a CRM is connected, the survivor keeps its CRM link (or adopts the first linked record’s when it has none) and receives the merged values there; lemlist never merges or deletes anything in the CRM itself, so the other records’ CRM entries stay in the CRM, unlinked from lemlist — merge them CRM-side too, or a CRM import may recreate the duplicate. The contacts are folded into the survivor one at a time and the run stops at the first failure: mergedIds lists what went through, remainingIds what still exists. A first-fold failure returns an error See the live schema below for the complete notes.

Output reference

Standard tool result payload.

Deepline cost

  • Pricing model: fixed (per call).
  • Estimated Deepline credits: 0 per pricing unit.
  • Provider-native pricing may still exist outside Deepline credit billing.