Pause a Facebook Ad Campaign When a Product Sells Out
Ads that keep running for a sold-out product waste budget on clicks you can't convert. This workflow pauses the product's Facebook ad campaign the moment it sells out, using a campaign ID you store on the product.
How it works
4 steps to stop paying for ads on products you can't sell
A product variant sells out
A product variant sells out
Get the product's Facebook campaign ID
Get the product's Facebook campaign ID
Continue if a campaign is set and the product is sold out
Continue if a campaign is set and the product is sold out
Pause the campaign in Facebook Ads
Pause the campaign in Facebook Ads
Ready to stop paying for ads on products you can't sell
Get setup in 4 minutes.
FAQs
How does the workflow know which campaign to pause?
Save the campaign's ID in a product metafield, such as custom.facebook_campaign_id. You can find the ID in Ads Manager. Products with no ID are skipped.
Will it restart the campaign when stock comes back?
Build a second workflow on Variant In Stock that sets the campaign back to ACTIVE.
What if a campaign advertises several products?
It pauses when any one of them sells out, so give shared campaigns their own rule or leave them unset.
Personalize this template
Customize this workflow even further:
You're in good company
"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
stop paying for ads on products you can't sell
4 min setup • Fully supported if you need help
