Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I have created a Shopify app using Shopify CLI with remix. I want to send a slack notification whenever anybody install my app with help of Shopify webhooks . I found some webhooks configuration in shopify.app.toml file but nothing is trigger when app install or uninstall. here is my webhooks configuration below
[webhooks] api_version = "2024-07" [[webhooks.subscriptions]] uri = "/webhooks/customers/data_request" compliance_topics = [ "customers/data_request" ] [[webhooks.subscriptions]] uri = "/webhooks/customers/redact" compliance_topics = [ "customers/redact" ] [[webhooks.subscriptions]] uri = "/webhooks/shop/redact" compliance_topics = [ "shop/redact" ] [[webhooks.subscriptions]] topics = [ "app/uninstalled" ] uri = "/webhooks/app/uninstalled"
I just put a console.log in webhooks.app.uninstalled.jsx file to see if app uninstall webhooks works but this hook is not triggering after uninstalling the app. Since I am new in shopify app development I need some help .