Having issue related to Klaviyo we need help on as...
# support
t
Having issue related to Klaviyo we need help on as we are unable to use Klaviyo in production. We have a need to be able to have 2 profiles on their side for the same email address. What they've told us is that this is possible but we have to: 1. Create the profile with just the
external_id
and omit
email
. 2. Do a followup Update Profile call to then set the
email
. Questions: 1. Is this even possible seamlessly with rudderstack? As far as I can tell we cannot do this with just a transformation. I think the only way to do this would be for us to do 2
identify
calls -- the first one with just
external_id
, then a second identify call with
external_id
and email. 2. Assuming this is correct, can someone at rudderstack confirm which klaivyo APIs are called when we call a Rudderstack identify call and pass in the
properties: { subscribe: true}
trait to subscribe it to a list? Is it correct that you first call
https://a.klaviyo.com/api/profiles
for identify calls, then a second call to
https://a.klaviyo.com/api/profile-subscription-bulk-create-jobs/
to subscribe to a list?
m
Hey There! đź‘‹ Your message has been received by the RudderStack team. 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.
h
t
@hundreds-lifeguard-65770 Thanks. It appears my second question is answered by this: First a call to
/api/profile
then to
/api/subscribeUserToList
if there is a subscribe property provided. However, what i'm still not clear on is how and when profile UPDATES are called for existing user properties. Do we just call multiple rudderstsack identify calls and that is handled implicitly?
Ok i'm going to start a new thread as I believe I've found an issue
b
Hey @thankful-gpu-70135, for every identify call, RudderStack first call the
/api/profiles
, for creating the profile and gets the
profileId
in response in both the case if the profile already exists or not and then calls the
/api/profiles/{id}
for updating the profile. So, both create and update or only update (if profile exists) happens for each identify call.
t
@boundless-florist-7608 I believe there’s some bugs. It doesn’t appear the rudderstack is using the user_id we pass into identify as the
external_id
trait/user property on calls to klaviyo. With Klaviyo, we specifically need to be able to create profiles with same email address. Good news is that Klaviyo support tells us this is supported! However, i think the way rudderstack behaves is that it doesn't allow this. If we make an identify call without an email and only provide the external_id, there seems to be some lookup happening to tie it to an old account. You can test this with this: • have “use email as primary identifier” disabled in our klaviyo destination config • since rudderstack doesn’t have a separate profile update vs identify/create call, we need to call Rudderstack identify twice. • First identify call, include only
external_id="A"
as a trait but do not include email address • second identify call, use the same
external_id="A"
as trait but *this time include `email=emailA@foo.co*m`*.* This should update the klaviyo profile with the email address • Reset the identity • third call, make another identify call, but this time a different
external_id="B"
but again do not include email address • fourth, make another identify call, but this time use the
external_id="B"
and use same email address as before
email-emailA@foo.com
. You get an error instead of this succeeding.
m
Hi @Trevin, I am not sure if this was communicated with you. So the team reached out to the Klaviyo team on this issue and they clarified that they will be taking care of this issue on their end and hence the issue should be fixed once they do the fix on their end.