# Double opt-in confirmation workflow ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(45)_Ufda1Bm1.jpg) Not sure where to use this template? Check out [Get started with workflow templates library](https://docs.foxecom.com/xflow-app/workflows/get-started-with-workflow-templates-library) ## About this template When a new subscriber signs up, send a confirmation email and **update their subscription status** to pending until they confirm. **Mark as completed** after confirmation action. ## Step-by-step guide to set up this template ### Trigger – New customer sign up This trigger activates the workflow when a user submits a Notify me form on your store (not during checkout). 📝 Learn more about triggers: [Understanding workflow triggers](https://docs.foxecom.com/xflow-app/workflows/understanding-workflow-triggers) ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(26)_fab4tW1h.jpg) ### Action – Update subscription status Set the customer’s subscription status to **Pending** to indicate they haven’t confirmed yet. 📝 Learn more about actions: [Understanding workflow actions](https://docs.foxecom.com/xflow-app/workflows/understanding-workflow-actions) ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(49)_19L2grOB.jpg) ### Action – Send email Send a confirmation email that includes an opt-in link for the customer to verify their subscription. 1. Enter the **email subject**. 2. Select the **email template** that you have prepared in advance. If you don’t have an **email template** yet, check out [Create an email template](https://docs.foxecom.com/xflow-app/email-templates/create-an-email-template) Read more about the **variables** you can use in email: [Available variables in email templates](https://docs.foxecom.com/xflow-app/email-templates/understanding-personalization-variables-in-email-templates/available-variables-in-email-templates) ![image](https://docs-assets.foxecom.app/xflow-app/XFlow%20docs%20screenshot%20(50)_3LdWGDMp.jpg) Setup complete! This workflow helps confirm new signups and ensures your emails reach people who truly opted in. **🌟 Pro Tip:** * Make sure your confirmation email clearly explains why the customer needs to confirm. * Use a simple and visible CTA button for the opt-in link to improve confirmation rates. * Keep the email friendly and short to reduce drop-offs. ## Common use cases The **Double opt-in confirmation workflow** workflow template is commonly used when: * You want to ensure **only verified users** are added to your email list. * You need to **comply with email marketing regulations** like GDPR or CAN-SPAM. * You want to **improve email deliverability** by avoiding unengaged or invalid subscribers.