Skip to main content
Active Contributor II
September 18, 2024
Solved

Webhooks is not working - need help finding a profile with specific property

  • September 18, 2024
  • 4 replies
  • 134 views

Hi,

 

I’m a marketing guy. I’m trying to do advanced configuration and obviously… i’m in trouble ;)

 

I’m using Zapier to find a profile that has a specific number for a specific property.

 

I have configured a webhook this way following ChatGPT advices :

 

where the idea is to look for a number (which is in a variable called Output), that correspond to a profile property called Loyoly_Referral_Id, and recuperate the email of this profile :

 

but it’s giving me a 404 error :

 

Any idea of what am i doing wrong ?

 

Thanks a lot,

Laurent

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

    Hello @Laurent  Look like you are using outdates API. You will have to use the API from this page: https://developers.klaviyo.com/en/reference/get_profiles

     

    Also, I would suggest you to remove the API_KEY from the screenshot ASAP.

    4 replies

    MaxbuzzAnswer
    Partner
    September 26, 2024

    Hello @Laurent  Look like you are using outdates API. You will have to use the API from this page: https://developers.klaviyo.com/en/reference/get_profiles

     

    Also, I would suggest you to remove the API_KEY from the screenshot ASAP.

    https://theforms.pro
    LaurentAuthor
    Active Contributor II
    September 26, 2024

    Thanks, i guess this is where you see i’m not a developer .. and i did not know the importance of hiding the key … (i deleted the key on klaviyo’s side as it seems I cannot edit my post)

    Coming back to the API documentation, my problem is that it seems that I cannot look for a custom property. Do you know if it’s possible ? And by anychance, if it’s possible, how should i format the call to the API ?

     

    1000 thanks,

    Laurent

    Partner
    September 26, 2024

    Hello @Laurent  No can filter the profile by email, Otherwise you will to populate the Loyalty Id in the external_id attribute.

    https://theforms.pro
    LaurentAuthor
    Active Contributor II
    September 26, 2024

    ok, it’s exactly what i thought.

     

    I’ve never populated one property to another. Do you know any easy way to do it ? I’l start digging into that.