Skip to main content
LinkedIn enrichment commands. Every command follows the CLI contract: JSON on stdout, errors on stderr, and command-specific mutation safety controls. Keys resolve as described in Secrets and API keys.

gtm enrichment enrich

Enrich records from LinkedIn via Harvest API.

gtm enrichment enrich fetch

Fetch enrichment from Harvest API and write to file (no Attio changes). Example: gtm enrichment enrich fetch
—config enrichment_config.json
—records records.json
—profile location
—output enriched_output.json
uv run gtm enrichment enrich fetch [OPTIONS]
OptionTypeDefaultDescription
--configpathPath to enrichment_config.json
--recordspathPath to JSON file with records (record_id, email, linkedin_url)
--profiletextEnrichment profile ID (e.g., ‘location’, ‘email’, ‘skills’)
--outputpathPath to write enriched records JSON

gtm enrichment enrich upsert

Batch upsert enriched records to Attio CRM. Example: gtm enrichment enrich upsert
—input enriched_output.json
gtm enrichment enrich upsert
—input enriched_output.json
—dry-run
uv run gtm enrichment enrich upsert [OPTIONS]
OptionTypeDefaultDescription
--inputpathPath to enriched records JSON (from ‘fetch’ command)
--dry-runbooleanfalsePreview changes without updating Attio
Last modified on July 14, 2026