send_linkedin_conversions
Send conversions to LinkedIn (Conversions API) destructive
Description
Stream conversion events to LinkedIn (Conversions API) — server-side conversion tracking for things that happen where the Insight Tag cannot see them: a CRM deal closing, an offline sale, a phone order, a qualified lead. Needs a rule from create_linkedin_conversion_rule, and that rule needs campaigns associated or nothing is attributed. PASS THE PERSON’S PLAIN EMAIL ADDRESS as `email` — Hermoso applies LinkedIn’s own normalization and SHA-256 hashes it on the server, and the plaintext is never stored or logged. NEVER COMPUTE THE HASH YOURSELF: an invented digest is a well-formed 64-character string that matches nobody, and LinkedIn accepts it with a 201, so the failure is completely silent (`emailSha256` exists only for a source system that already holds real digests). SEND EVERY IDENTIFIER YOU HAVE — email, liFatId (the li_fat_id click id LinkedIn appends to ad click URLs), ipAddress, firstName WITH lastName, an externalId, a lead URN — the match rate is what decides whether the conversion counts at all. Events must have happened in the past 90 DAYS. ACCEPTED IS NOT MATCHED: success means LinkedIn took the events, not that any matched a member, and no API reports the match rate — check attribution in linkedin_ads_report over the following days and never present acceptance as conversions. Up to 5000 events per call. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | LinkedIn ad account id shared with this profile; needed only when several are shared |
conversionId | string | default conversion rule id for every event that does not name its own |
eventsrequired | object[] | the conversion events — each takes conversionId, conversionHappenedAt (epoch ms or ISO, within 90 days), and at least one identifier: email (PLAIN — hashed here, never hash it yourself), emailSha256, liFatId, ipAddress (IPv4, hashed here), googleAid, acxiomId, firstName WITH lastName, companyName, title, countryCode, lead (urn:li:leadGenFormResponse:…), externalIds (max 1), plus optional amount + currencyCode and an eventId for Insight-Tag deduplication |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/send_linkedin_conversions.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_linkedin_conversions","arguments":{"events":"<array>"}}}
CLI
hermoso call send_linkedin_conversions --json '{"events":"<array>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
create_linkedin_conversion_ruleCreate a LinkedIn conversion rulelinkedin_ads_reportLinkedIn ads performance reportassociate_linkedin_conversion_campaignsAttach campaigns to a LinkedIn conversion ruleupdate_meta_objectEdit a Meta campaign / ad set / adupdate_linkedin_conversion_ruleUpdate or disable a LinkedIn conversion ruleduplicate_meta_objectDuplicate a Meta campaign / ad set / ad (paused)list_linkedin_conversion_rulesList LinkedIn conversion rulesdelete_linkedin_ads_objectDelete a LinkedIn campaign group / campaign / adset_linkedin_ads_trackingLinkedIn ads dynamic UTM trackingpreview_linkedin_adPreview a LinkedIn ad + its review status