# What are campaigns ![image](https://docs-assets.foxecom.app/xflow-app/4%20(1)_2IpNEi6V.jpg) **Campaigns** are the control layer that decides **who gets notified, when, and with which workflow** when a product is back in stock. Think of a campaign as the *manager* that connects your products, workflows, and emails into one targeted restock strategy. *** ## Definition A campaign defines: * **Which products or collections** are included * **Which workflow** runs when they’re restocked * Whether the campaign is **active or paused** You can run multiple campaigns at the same time, each with its own logic. ## How campaigns work 1. A customer subscribes via the ["Notify me" widget](https://docs.foxecom.com/xflow-app/notify-me-widget/customize-notify-me-form-and-messages). 2. The product or variant is restocked 3. XFlow checks which **campaign** the product belongs to 4. The campaign triggers its assigned **workflow** 5. Emails are sent based on your workflow rules (timing, conditions, follow-ups). > In short: **Campaign = scope + control**, **Workflow = logic + actions** ## Benefits of using campaigns ✅ **Targeted messaging**: Run different restock strategies for bestsellers, seasonal items, or limited drops. ✅ **Better control:** Pause, edit, or replace workflows without touching your widget or emails. ✅ **Scales with your store:** Start with one global campaign, then add product- or collection-specific campaigns as you grow. ✅ **Cleaner reporting:** Track performance by campaign instead of mixing all restock alerts together. ## Best practices * Start with **one global campaign.** *Learn more:* [Global restock campaign](https://docs.foxecom.com/xflow-app/getting-started/quick-start-guide/global-restock-campaign) * Create separate campaigns only when products need **different workflows.** *Learn more:* [Advanced restock campaign](https://docs.foxecom.com/xflow-app/getting-started/quick-start-guide/advanced-restock-campaign) * Avoid overlapping scopes unless you intentionally manage priority. ## Related articles Create and launch a Restock campaign Test an email campaign Manage campaigns Campaigns: FAQs