Skip to main content
Solved

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

  • March 20, 2024
  • 2 replies
  • 45 views

Forum|alt.badge.img

 

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?

Best answer by Maxbuzz

Hello @C3654EF3 

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Forum|alt.badge.img+31
  • Partner
  • 252 replies
  • Answer
  • March 20, 2024

Hello @C3654EF3 

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


Forum|alt.badge.img
  • Author
  • Contributor I
  • 1 reply
  • March 20, 2024

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?