SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Lead → Mark Complete

AI-generated

Summary

Marks a lead as complete in a specified campaign using its lead map ID.

Inputs

  • campaignId (required) — ID of the campaign containing the lead
  • leadMapId (required) — Identifier used to reference the lead for marking complete
  • requestBody — JSON payload to send in the request body
  • requestOptions — Additional request configuration such as batching, SSL settings, proxy, and timeout
  • allowUnauthorizedCerts — Whether to ignore SSL certificate validation errors
  • proxy — HTTP proxy URL, optionally with authentication credentials
  • timeout — Request timeout in milliseconds

Output shape

a single record representing the updated lead (or success confirmation)

The operation returns the updated lead object; if an error occurs it is propagated as an n8n error node.

Examples

Example 1: Mark a lead as complete in a campaign

campaignId: 12345, leadMapId: abcdef, requestBody: {}, requestOptions: {}

Example 2: Bulk complete leads using batching

campaignId: 12345, leadMapId: abcdef, requestOptions: {batch: {batchSize: 100, batchInterval: 0}}

Example 3: Mark complete while ignoring SSL issues

campaignId: 12345, leadMapId: abcdef, allowUnauthorizedCerts: true, timeout: 15000

Links

Discussion