zuckerbot_create_seed_audience
Create a Meta audience from hashed CRM data filtered by lifecycle stage for retargeting. Recovers an existing Meta audience after a registry write failure.
Instructions
Build a Meta custom audience from hashed CAPI user data stored for a business, filtered by CRM lifecycle stage (e.g., 'lead', 'customer'). Use this as the first step to create retargeting or reactivation audiences from your own first-party CRM data. Passing adopt_meta_audience_id recovers a seed audience that was created on Meta but failed to register (from a prior audience_registry_write_failed error): it skips Meta audience creation and user upload and only writes the registry record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional audience name override | |
| business_id | No | Optional business ID override | |
| min_contacts | No | Minimum matched contacts required before creation | |
| source_stage | Yes | CRM lifecycle or source stage to seed from | |
| lookback_days | No | How many days of CAPI events to include | |
| adopt_meta_audience_id | No | Recovery only: the meta_audience_id from a prior audience_registry_write_failed error. Verifies the audience exists on the bound ad account, then registers it without re-creating it or re-uploading users. |