# Create and launch a Restock campaign A restock campaign defines *what products are included*, *which workflow runs*, and *when notifications are sent*. Add new campaigns for specific products/collections, or quickly start with [Global restock campaign](https://docs.foxecom.com/xflow-app/getting-started/quick-start-guide/global-restock-campaign) This guide walks you through setting up and launching a new campaign step by step. Make sure you have: * At least **one active workflow** * An **email template** ready (or use a pre-built one). ### Add a new campaign 1. From the XFlow dashboard, navigate to **Campaigns** from the left sidebar. 2. Select **Create campaign**. ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(8)_Bxv5Bo71.jpg) This opens the campaign setup screen. ### Add Campaign details Fill in basic information to identify your campaign. * **Campaign name:** Internal name for management * **Description (optional):** Internal notes for your team ### Define scope and target Define which products this campaign applies to. You can choose: * **Specific products** * **Specific collections** Additional options: * **Priority:** Higher numbers take precedence if campaigns overlap * **Enable for logged-in customers only** *(optional)* *Wish to apply the campaign to all products?* Use [Global restock campaign](https://docs.foxecom.com/xflow-app/getting-started/quick-start-guide/global-restock-campaign) ### Assign notification workflows Assign workflows that run when products are restocked. * **Primary workflow** *(required):* Sends the main back-in-stock notifications * **Secondary workflow** *(optional):* Used for additional actions (e.g. internal alerts, welcome emails) ✔️ When a product in this campaign is restocked, XFlow triggers the assigned workflow(s). Pro tips: * Keep the primary workflow focused on customer notifications * Use secondary workflows for internal or supporting automation *Learn more about* [Workflows](https://docs.foxecom.com/xflow-app/workflows/overview) ### Schedule campaign Decide when the campaign should run. * **Start date & time** * **End date** *(optional)* *Example:* * Set a start date for a new product restock next week, or leave it ongoing for continuous alerts. * Set an end date for seasonal campaigns to avoid outdated alerts. ### Save and launch 1. Review all settings 2. Click **Save** 3. Make sure the campaign status is **Active** Your restock campaign is now live 🚀 ## Related articles Campaigns: FAQs Workflows