Skip to main content
Contributor I
March 20, 2024
Solved

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

  • March 20, 2024
  • 2 replies
  • 98 views

 

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?

    This topic has been closed for replies.
    Best answer by Maxbuzz

    Hello @C3654EF3 

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

    2 replies

    MaxbuzzAnswer
    Partner
    March 20, 2024

    Hello @C3654EF3 

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

    https://theforms.pro
    C3654EF3Author
    Contributor I
    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?