Solved

Klaviyo Profile Identifier Not Reliable from klaviyo.com/profile/... URL

  • 20 March 2024
  • 2 replies
  • 18 views

Badge

 

I need help understanding when a Klaviyo profile object is created / visible via the API. Many times, I find a customer through the "search profiles" view, and when I copy the ID through the URL and make an API call to a.klaviyo.com/profiles/{{ id }}, it says no profile found. Similarly, many times, in campaigns/flows, the {{ profile.id }} parameter substitutes to None.

 

Has anyone else noticed this weird behavior?

 

I would love to hear from a Klaviyo developer advocate. When is the profile object created for a customer? When is the profile object invisible?

icon

Best answer by Maxbuzz 20 March 2024, 04:46

View original

2 replies

Userlevel 3
Badge +7

Hello @C3654EF3 

In the flows use {{ profile.KlaviyoID }} and it will work.

Badge

Thanks @Maxbuzz ! Appreciate the help.

So {{ profile.KlaviyoID }} works for flows, is there a similar identifier for campaigns? I noticed that when I send out a campaign with {{ profile.id }}, {{ profile.id }} resolves to a number like 95632 rather than a true profile identifier. What is the best way to embed the correct profile ID for campaigns?

Reply