Skip to main content
Merge up to 10 duplicate Lemlist contacts into one.
Tool ID: lemlist_post_contacts_merge

Run this action

Use the TypeScript SDK for one call. Use ctx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.

CLI

Example response

The SDK returns this shape at result.toolResponse.raw. The example values illustrate the response.
Use deepline describe 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.