zuckerbot_send_capi_event
Manually send a Conversions API event for a lead/contact to debug CAPI pipelines, test stage mappings, or handle custom integrations. Authenticates with API key or webhook secret.
Instructions
Manually send a Conversions API event for a business contact/lead. Useful for debugging CAPI pipelines, testing stage mappings with real user data, or sending events from custom integrations not covered by the webhook. Authenticates with the business API key OR with an x-zuckerbot-webhook-secret header if using the webhook path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fbc | No | Optional pre-formatted Facebook click cookie (fb.1.<ms>.<fbclid>), forwarded raw — never hashed | |
| fbp | No | Optional Facebook browser ID cookie (_fbp), forwarded raw — never hashed. Improves match quality for every event | |
| No | Optional contact email for identity matching | ||
| phone | No | Optional contact phone for identity matching | |
| value | No | Optional event value override in major currency units | |
| fbclid | No | Optional Facebook click ID; the server builds a well-formed fbc cookie from it | |
| lead_id | No | Optional ZuckerBot lead ID for attribution matching | |
| last_name | No | Optional last name for identity matching | |
| crm_source | No | Optional CRM source label override (e.g., 'hubspot', 'salesforce') | |
| event_time | No | Optional ISO 8601 event timestamp. Defaults to now. | |
| first_name | No | Optional first name for identity matching | |
| business_id | No | Optional business ID override (resolved from API key when omitted) | |
| meta_lead_id | No | Optional Meta Lead Gen Ads lead ID for attribution matching | |
| source_stage | Yes | CRM stage key to map to a Meta event (e.g., 'lead', 'salesqualifiedlead', 'customer') |