# 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.
_7e18fxZT.jpg)
### Choose the type of workflow you want to use
_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
_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!
_EeHRbb99.jpg)
## Related articles
Create and launch a Restock campaign
How workflows work
Create a workflow
Available triggers, actions, and conditions