How to Enable Webhooks for Magento 2

read
Last updated at:

Overview

Klaviyo webhooks empower your Magento 2 integration to sync catalog product removals real-time. If you have not already enabled your Magento 2 integration, you will need to complete the setup steps outlined in the Magento 2 Integration guide before enabling Klaviyo webhooks. 

Enable Klaviyo Webhooks in Magento 2

Product Delete Webhook

The Product Delete webhook allows the integration to remove products that you have deleted in Magento 2 from the catalog in Klaviyo. 

To enable the Product Delete webhook, log in to your Magento 2 account and navigate to Stores > Configuration from the admin dashboard. Click on Klaviyo and select the Webhooks tab.

2021-03-22_10-33-36.png

Next, create a webhook secret and enter it into the corresponding Webhook Secret field. The webhook secret is a key that Klaviyo will use for validation. This secret can be anything you choose, but we recommend creating a secure string of letters and numbers. Magento will hide your webhook secret with asterisks for security purposes, so be careful to enter it correctly.

If you are using a multi-store integration, the webhook secret in this field should be entered in your default configuration, and the same secret will be used as validation for each store configuration. The webhook secret should only be added to the default config and should not be added per store.

Next to Use Product Delete Webhook? select Yes from the dropdown options.

Click Save Config to complete the setup. Your Magento 2 integration will now remove deleted products from the catalog in real-time.

x
Was this article helpful?
4 out of 5 found this helpful