I've opened this bug which is a serious bug that p...
# support
t
I've opened this bug which is a serious bug that prevents Klaviyo from working correctly when there are nested properties. The transformation code is not using the
flattenJson()
call that other destinations do: https://github.com/rudderlabs/rudder-transformer/issues/2472 This is blocking us from fully integrating.
m
Hey There! šŸ‘‹ Your message has been received by the RudderStack team. Our standard customer support hours are 9-6 PM EST, but we will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
t
Any update on this? Still blocking us from trying to actually go to production.
@delightful-coat-13923 is this one also being addressed today?
d
Hey @thankful-gpu-70135 šŸ‘‹šŸ½ Our engineers responded in the same PR here: https://github.com/rudderlabs/rudder-transformer/issues/2472#issuecomment-1677480863
t
Thanks @delightful-coat-13923 I also responded
m
Thanks @delightful-coat-13923 for helping out on this.
d
@thankful-gpu-70135 Looks like this ask would require some development and would mean changes for all of our customers — This would require some time before we are able to release it. @shy-kite-21035 or I would keep you updated.
m
Sure I ll keep Trevin posted.
t
@delightful-coat-13923 @shy-kite-21035 In order for someone to use this Klaivyo destination today, they aren't really using nested properties then. They are sending data and it's being stored as a string not an object, so it's not usable beyond direct string matches. Again, see my links to official responses from Klaviyo about how nested properties are handled. To clarify: User properties: Klaviyo does not support this. They say (source):
First, variables can only be nested if its an event variable, profile properties can't be nested
Event properties: While they say event properties can be nested, this source here (from an employee), says this:
Nested data cannot be used in filters for flows or in segments since the information is buried too deep in the event data. Only top-level properties can be searched for in flow filters and segment definitions. The only place where you can use nested data is in a flow email triggered by the event, where you can display any piece of info that lives in the event's dynamic data.
This makes event properties useless for klaviyo if it's nested. So the right approach here by default in Rudderstack is: 1. Flatten user properties 2. Give option for event properties to be flattened, but by default turn it on Changing this behavior shouldn't really break anyone but if you're concerned about this: To expedite this, could this be then added as an option on the destination settings page then? This would then allow someone to turn it on (that needs nested properties) and everyone else to leave it as is.
m
Let me post this to the team again and check.
t
@shy-kite-21035 thank you! I'm desperate to have this fixed.. we can't launch without it
m
Can we setup a call tomorrow so you can quickly walk me through the issue? I have a pretty open schedule tomorrow. I work in IST
t
@shy-kite-21035 any of these times work? I’m in PST so Tried to give times late evening also https://book.vimcal.com/t/trevin/30-min-ea28cb
m
Done.
t
@shy-kite-21035 did you have an update on this?
s
Not yet since it was late last night. I have shared the details including the call with the team and am waiting for an update
t
@shy-kite-21035 any update?
m
Hey Trevin the team informed me that they are targeting a release for Tuesday (22 Aug 2023)
t
excellent! what will be implemented exactly? Will it be waht I recommended? 1. Always flatten user properties 2. optional flattening of event properties 3. Leaving arrays intact in both user and event properties ?
m
I would have to check the exact implementation, but it should be pretty close to what you requested since I shared the video with the team and they are clear of the issue you are facing.