send_meta_conversions
Send conversions to a Meta pixel (Conversions API) destructive
Description
Send SERVER events to the brand’s OWN Meta pixel (the Conversions API): Purchase, Lead, CompleteRegistration, AddToCart, InitiateCheckout, ViewContent, Contact, Subscribe or a custom name, for sales and sign-ups the browser pixel misses (a CRM deal, a phone order, a checkout the browser blocked). The pixel must be on one of the brand’s ticked ad accounts (list_meta_pixels); any other id is refused. PASS PLAIN VALUES (email, phone with country code, firstName, lastName, city, state, zip, country, dateOfBirth, externalId): Hermoso normalizes and SHA-256 hashes them per Meta’s rules, so never hash them yourself. clientIpAddress, clientUserAgent, fbc or fbclid, fbp and a Meta leadId go as given. A website event needs eventSourceUrl and clientUserAgent. Give every event an eventId (the same one the browser pixel sends) so Meta deduplicates it. Events up to 7 days old (62 for physical_store), up to 1,000 per call. testEventCode sends to Events Manager’s Test Events, and those events still count. The brand is responsible for its customers’ consent to share this data with Meta. RECEIVED IS NOT MATCHED: the reply reads back Meta’s events_received. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountIdrequired | string | the ad account that owns the pixel, with or without act_ |
pixelIdrequired | string | the pixel (dataset) id, or its exact name, from list_meta_pixels |
eventsrequired | object[] | each: eventName, actionSource (website, email, app, phone_call, chat, physical_store, system_generated, business_messaging, other), eventTime (unix seconds or ISO; default now), eventId, eventSourceUrl, plain identifiers (email, phone, firstName, lastName, city, state, zip, country, dateOfBirth, gender, externalId), clientIpAddress, clientUserAgent, fbc or fbclid, fbp, leadId, value + currency (required on Purchase), orderId, contentIds, contents [{id, quantity, itemPrice}], limitedDataUse |
testEventCode | string | the code from Events Manager > Test Events |
limitedDataUse | string | off, on (Meta works out the US state) or a US state code such as ca; default is the brand setting |
hashExternalId | boolean | false keeps externalId as given, to match a pixel that sends it unhashed |
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_meta_conversions.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_meta_conversions","arguments":{"adAccountId":"<string>","pixelId":"<string>","events":"<array>"}}}
CLI
hermoso call send_meta_conversions --json '{"adAccountId":"<string>","pixelId":"<string>","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
list_meta_pixelsList Meta Pixels on an ad accountcreate_meta_pixelCreate a Meta Pixelmeta_dataset_qualityCheck a Meta pixel’s Conversions API healthget_meta_ad_accountRead a Meta ad account’s billing and statusset_meta_conversions_autoAutomatic sending to a Meta pixellist_meta_lead_formsList Meta instant (lead) formscreate_meta_lead_formCreate a Meta instant (lead) formarchive_meta_lead_formArchive (or restore) a Meta instant formread_meta_leadsRead Meta lead-ad submissionsdelete_meta_audienceDelete a Meta custom audience