Webhooks - New products Status issue

I’m recently using webhooks to trigger an automation when a new product is added, i find the current webhook triggering a little cumbersome.

I think the ideal would be to have a new product status set to Draft and,unless it’s not published, to NOT trigger the webhook.

In my case, sometimes the image is passed as right value, sometimes it’s not, and i can’t delay this, so i am unsure about the right “data” insertion order to make sure it’s properly passing all the product values to the webhook call.

When we create a new product on Shopify, it’s automatically set to active, which makes no sense, as we should be able to first set everything up and then activate it

Hey,
You’ll need to filter the webhooks, you could do so like this Filter your events

Or you will need to filter the webhooks on your side when they are being processed.

When you create products via Shopify API you can set the status they are in so that they aren’t created in active as well. productSet - GraphQL Admin

Hey Jordan!

Thanks for chiming in so quick.

So this is only via API or can we set it as default in our shopify backend?

Hey,

When you create a product for the first time, you can just change the status in the drop down before you click create :slight_smile: