Tracardi / tracardi

TRACARDI is a new HOME for your customer data. TRACARDI is an Composable API-first solution for any company that need inexpensive CDP to intergrate with.
https://www.tracardi.com
Other
528 stars 96 forks source link

Plugin: Merge data #779

Closed atompie closed 2 months ago

atompie commented 2 years ago

Is your feature request related to a problem? Please describe. The same plugin as copy data but it merges data instead of coping it.

Lets assume that our profile has the following traits

{
   "public": {
       "a":0,
        "c": 3
    }
}

We define:

{
  "profile@traits.public": {
   "a":1,
   "b": 2
  },
"profile@traits.public,my": {
   "d": 4
}
}

and get

{
   "public": {
       "a":1,
       "b": 2,
        "c": 3,
        "my": {
            "d": 4
        }
    }
}
atompie commented 2 years ago

Plugin docs: https://github.com/Tracardi/tracardi-api/blob/master/docs/flow/actions/marge_data_action.md