# Assign a workflow to your campaign ## How to assign a workflow to a campaign ### Select the campaign you want to use Go to **XFlow dashboard > Campaigns** and pick the campaign you want to assign a workflow to. ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(80)_7e18fxZT.jpg) ### Choose the type of workflow you want to use ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(82)_bocqInX4.jpg) The **Notifications workflows** section lets you assign specific workflows to different triggers and purposes. You can manage and assign both **Primary** and **Secondary** workflows depending on your automation needs. * Primary workflow: The main required workflow for essential notifications. * Secondary workflow: An optional workflow for additional automation or internal processes. **Pro tip:** Use secondary workflows for internal notifications or to send welcome emails for new signups. ### Select the workflow you’ve created and activate it ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(81)_7FWipq3B.jpg) ### Workflow assigned successfully 🎉 Don’t forget to save after assigning the workflow. Be sure to double-check everything to make sure it’s activated and set up correctly! ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(83)_EeHRbb99.jpg) ## Related articles Create and launch a Restock campaign How workflows work Create a workflow Available triggers, actions, and conditions