Skip to content

Enrichment Status

Track the progress of lead enrichment batches.

Full name: campaignstack_get_enrichment_status

leads:read Read-only Idempotent

Get the current enrichment queue status for a workspace. Shows counts of pending, processing, completed, and failed items, plus creditsExhausted (pending items deferred because the workspace is out of credits). Optionally filter by campaign.

NameTypeRequiredDefaultDescription
workspaceIdstringYes(min length: 1)
campaignIdstringNo
platformstringNo

Full name: campaignstack_queue_leads

leads:write Idempotent

Queue leads for enrichment. Each result is validated, deduped by profile slug, and added to the enrichment pipeline. Invalid profile URLs are skipped with errors reported. Results should come from LinkedIn search page extraction. platform defaults to ‘linkedin’.

NameTypeRequiredDefaultDescription
workspaceIdstringYes(min length: 1)
campaignIdstringYes(min length: 1)
accountIdstringYes(min length: 1)
platformstringNo
resultsobject[]Yes

Full name: campaignstack_priority_enrich

leads:write Idempotent

Immediately enrich specific LinkedIn profiles, bypassing the normal priority queue. Profiles are queued at highest priority and processing starts immediately. Maximum 50 slugs per request. Use campaignstack_get_enrichment_status to monitor progress.

NameTypeRequiredDefaultDescription
workspaceIdstringYes(min length: 1)
accountIdstringYes(min length: 1)
slugsstring[]Yes
platformstringNo

Full name: campaignstack_build_search_url

leads:read Read-only Idempotent

Build a LinkedIn People search URL from ICP (Ideal Customer Profile) criteria. Input ICP fields like titles, industries, locations, seniorities, company sizes, and keywords. Returns a ready-to-use LinkedIn search URL. Use campaignstack_list_icps to get ICP criteria for a campaign, then pass them here to generate a search URL. The resulting URL can be used with campaignstack_queue_leads to import search results.

NameTypeRequiredDefaultDescription
titlesstring[]No
industriesstring[]No
locationsobject[]No
senioritiesstring[]No
companySizesstring[]No
keywordsstring[]No