Actions36
- Audience Actions
- Data Set Actions
- Data Job Actions
- Message Actions
- Product Actions
- Reference Set Actions
- Signal Actions
- Scheduled Job Actions
- DLQ Signal Actions
- Utility Actions
Reference Set → Add Reference Set Association
AI-generatedSummary
Add an association between a source data set and a reference set using attribute mappings.
Inputs
- fromDataSetId (required) — The ID of the source data set to associate from.
- toDataSetId (required) — The ID of the reference set data set to associate with.
- mappings (required) — A collection of foreign key mappings, each specifying a source attribute and its target attribute in the reference set.
Output shape
a success confirmation object (typically includes the IDs of the added mappings; errors are raised as exceptions)
The exact shape is not defined by the node; callers should treat the result as a success response that may contain identifiers of the newly associated records.
Examples
Example 1: Associate a source data set with ID 'ds_123' to a reference set ID 'rs_456' using two mappings
{"fromDataSetId": "ds_123", "toDataSetId": "rs_456", "mappings": [{"fromAttribute": "contact_id", "toAttribute": "primary_contact_id"}, {"fromAttribute": "email", "toAttribute": "email"}]}