connect_audience_destination
Creates a connection between an existing RudderStack Data Graph audience and an activation-capable destination. Call get_audience_destination_schema first. Requires the audience ID, destination ID, destination-side audience ID and identifier field mappings. The optional sync schedule is hourly, daily or manual. The sync mirrors membership: people not in the audience are removed from the destination audience. Returns the connection result. A repeat call for an already connected pair returns status skipped, which is success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule | No | Sync cadence. 'daily' (default) runs once per day; 'hourly' runs every hour; 'manual' disables automatic syncs entirely — the audience only syncs when the user explicitly triggers it from the RudderStack dashboard. Use 'manual' only when the user explicitly asks for it. | |
| audience_id | Yes | ID of an existing data-graph audience (the source side of this connection). Typically the ID returned by create_audience, or one the user already knows from a previous get_audience call. NOT a subject/root-model id from list_audience_subjects — that returns the warehouse models an audience can be built from, not audiences themselves. | |
| workspace_id | Yes | ||
| destination_id | Yes | Destination ID (from list_destinations with activation_capable=true). | |
| identifier_mappings | Yes | Pairs of {from: <warehouse column>, to: <destination field>}. Each `to` MUST appear in get_audience_destination_schema's `fields[].name`. See the destination's mappingGuidance for which fields make a useful mapping. | |
| audience_id_on_destination | Yes | ID of an existing destination-side audience/list to attach to. Must be a `value` from get_audience_destination_schema's `audiences[]`. |