Skip to main content
Contributor I
February 4, 2022
Solved

Fire custom webhook when user unsubscribes?

  • February 4, 2022
  • 26 replies
  • 2677 views

How do I add a custom webhook endpoint for Klaviyo to call when a user unsubscribes for a list? Does this exists? It’s a must have feature of an email provider. If this isnt available how else can I keep subscription statuses synced with my application database?

    Best answer by Taylor Tarpley

    Hi @sylvie

     

    Welcome to the Community! Happy to help out with this! 

     

    Yes, you can use achieve what you’re looking to do by using the  GET api/v1/people/exclusions endpoint to retrieve global suppressions. You will then know who is unsubscribed and anyone who’s not included in that call would be subscribed. I would recommend checking out this very helpful topic posted by a peer in the Community about the same topic! 

     

    Thanks for your participation in the Community!

    -Taylor 

    26 replies

    Contributor II
    November 23, 2023

    Hi @Stuart Heggie

     

    I don’t have an exact timeline for this feature, but I can assure you that the team is actively evaluating this functionality, and I have forwarded your feedback to supplement the request!

     

    Best,

    Brian

    I suggest you set this timeline soon as in bigger companies this information is a must and have to be in sync in real time. Currently this option is a half-developed product.

    In case we send only one marketing message to a person who has unsubscribed, we risk a high penalty!

    Contributor II
    December 12, 2023

    Hi @Stuart Heggie

     

    I don’t have an exact timeline for this feature, but I can assure you that the team is actively evaluating this functionality, and I have forwarded your feedback to supplement the request!

     

    Best,

    Brian

    I suggest you set this timeline soon as in bigger companies this information is a must and have to be in sync in real time. Currently this option is a half-developed product.

    In case we send only one marketing message to a person who has unsubscribed, we risk a high penalty!

    Feedback would be appriciated as we are having some serious isues with Klaviyo integration as our profiles are not in sync between CRM and Klaviyo.

    We need a flow webhook for subscribe/unsubscribe/suppress/unsuppress in real time.

    Contributor I
    January 16, 2024

    I managed to figure this out through some trial and error, but it is possible to have a webhook fire on unsubscribes.

    1. Make a new Segment, and add these rules:
       
    2. Create a new Flow, based on the Segment you just made. The idea is that when a user clicks unsubscribe, OR if you unsubscribe (or suppress) them, they will then ‘join’ this segment which can fire your webhook.
      neostrata

     

     

    Make sure you make the flow “Live” because the “Manual” option won’t work for triggers that rely on list/segment entry. Also, I found that the segment took between about 5 and 15 minutes to actually get updated when the user unsubscribes, so the webhook doesn’t fire til they are in the segment, but it did fire and my webservice did catch and process it so proof of concept works!

     

    I don’t know if this is something new but hope that helps everyone!

     

     

    I found that the webhook wasn't triggering when users unsubscribed from my lists. I've double-checked the endpoint URL, configured the events correctly, and saved the webhook, but there seems to be a disconnect in the communication between Klaviyo and my external system. 

    Contributor I
    February 7, 2024

    How do I add a custom webhook endpoint for Klaviyo to call when a user unsubscribes for a list? Does personal trainer carrollton tx exists? It’s a must have feature of an email provider. If this isnt available how else can I keep subscription statuses synced with my application database?

    Hey, In your Klaviyo account, navigate to the settings or integrations section where you can configure webhooks. Add the URL of your custom webhook endpoint and specify the events you want Klaviyo to send notifications for, such as "unsubscribe". I hope you understand it.

    Contributor I
    February 10, 2024

    How do I add a custom webhook endpoint for Klaviyo to call when a user unsubscribes for a list? Does this exists? It’s a must have feature of an email provider. If this isnt available how else can I keep subscription statuses synced with my application scarlet for iOS database?

    Hey Dear, Implement mechanisms to sync email subscription statuses between Klaviyo and your application database whenever changes occur. This may involve integrating with Klaviyo's API to retrieve subscriber data and reconcile it with your database records. If you still need any help mention me here.

    March 9, 2024

    Hi,

    Am I correct in assuming that you're basically paywalled this pretty generic function behind your CDP app (500$+/mo, https://www.klaviyo.com/customer-data-platform > Webhooks section + CDP docs) and now

    I don’t have an exact timeline for this feature, but I can assure you that the team is actively evaluating this functionality, and I have forwarded your feedback to supplement the request!

    Best,

    Brian

    trying your best t̶o̶ ̶a̶c̶t̶i̶v̶e̶l̶y̶ ̶e̶v̶a̶l̶u̶a̶t̶e̶  not to add it to your core product so you don't potentially "lose" in profits?

    Contributor I
    March 20, 2024

    How do I add a custom webhook endpoint for Klaviyo to call when a user unsubscribes for a list? Does burgermenuprice exists? It’s a must have feature of an email provider. If this isnt available how else can I keep subscription statuses synced with my application database?

    While Klaviyo doesn't offer custom webhook endpoints for unsubscribes specifically, you can still use their webhooks for other events such as email clicks or opens. Although these events won't directly indicate an unsubscribe, you can infer user disengagement and update their subscription status accordingly in your database.

    Contributor I
    April 19, 2024

    How do I add a custom webhook endpoint for Klaviyo to call when a user unsubscribes for a list? Does this exists? It’s a must have feature of an email provider of buddhist priest. If this isnt available how else can I keep subscription statuses synced with my application database?

    This feature is pivotal for our application's workflow, as it allows us to seamlessly sync subscription statuses with our database in real-time. Klaviyo's current webhook capabilities don't directly support custom endpoints for unsubscribe events. This presents a significant hurdle in maintaining data accuracy and ensuring smooth synchronization between Klaviyo and our application database.

    Contributor I
    May 6, 2024

    Echoing other developers here: We need a trigger metric when a user unsubscribes. This is a pretty critical feature.

    We need to be able to report the user’s subscription status accurately without making a request to Klaviyo every time we want to draw their account page.

    Contributor I
    June 4, 2024

    How do I add a custom webhook endpoint for Klaviyo to call when a user unsubscribes for a list? Does this exists? It’s a must have feature of an email provider. If this isnt available how else can I keep subscription statuses synced with my application database?

    Hey Dear, 

    Explore third-party marketing automation platforms that integrate with both Klaviyo and your application. These platforms might offer more extensive webhook functionalities, including unsubscribe events.